Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by Richard Williams View Post
    Did it get copied to the right location? You want it in c:\ado\plus/c/
    Thanks so much for this information. I had the same problem (mata.do not found after installing cem through 'ssc install cem').
    I used Windows search and found mata.ado in my current directory that I had set in Stata (cd path..)
    I moved it to C:\Users\subra010\ado\plus\c and this got it to run!

    I suspect this may be a small bug in the install program...

    Comment


    • #17
      very similar problem but I'm on a mac

      I get

      . imb age education, treatment(treated)
      file /Users/kevinmole/Library/Application Support/Stata/ado/plus/c/cem-mata.do not found
      (error occurred while loading imb.ado)
      r(601);

      I cannot find a file 'application support' I can find cem-mata.do so just where to put it on a mac
      Last edited by Kevin Mole; 23 Jun 2021, 02:52.

      Comment


      • #18
        Solved the problem by transferring the files to where state was expecting to find it. It needed control command period to be used to open up all the files in finder.

        Comment


        • #19
          @ Richard Williams I encountered the same issue when I ran cem. I had no issue running the code last month. However, the error below showed up.
          I tried to unistall but I cannot do it...
          I am not sure what to do. It is very weird because I had no issue running last month...Could you let me know what would be the issue?



          . cem $xlist, treatment(treatment)
          cemStata(): 3001 expected 8 arguments but received 7
          <istmt>: - function returned error

          . ssc uninstall cem
          criterion matches more than one package


          checking cem consistency and verifying not already installed...
          all files already exist and are up to date.


          Comment


          • #20
            All,
            I figured out the problem...OMG (took me a couple days to fix)

            This link was helpful : https://www.statalist.org/forums/for...s-in-stata-trk
            Basically, we need to update "adopath" as -adoupdate pkgname, update-

            Thank you.

            Comment


            • #21
              miroslav suchanec : I am encountering the same problem. I am not able to find the cem-mata.do on the computer. How did you find it?

              Comment


              • #22
                Originally posted by Suyash Garg View Post
                miroslav suchanec : I am encountering the same problem. I am not able to find the cem-mata.do on the computer. How did you find it?
                Search for cem-mata.do files in windows search. Locate the file where it got saved and then put it in the c:\ado\plus/c/ folder. It should then run.

                Comment


                • #23
                  I am searching the file cem-mata.do, but cannot find it anywhere.
                  I am using Stata 17, does this matter? Maybe the new release uses a different directory?
                  Last edited by Francesco Pastore; 23 Sep 2021, 03:05.

                  Comment


                  • #24
                    I've had this problem and on my PC, the file was in the cd file. So type -cd- in Stata and look in that folder. The mata file might be there. Not sure why windows search couldn't locate it.

                    Comment

                    Working...
                    X