IQSS / cem

17 stars 5 forks source link

CEM installation does not install correctly (any more) #12

Open eliasnaumann opened 3 years ago

eliasnaumann commented 3 years ago

Hi Gary and Matt, when installing CEM (ssc install cem, with STATA 17.0) and then running the command (e.g. cem age (10 20 30 40 60) age agesq agecube educ edusq marr nodegree black hisp re74 re75 u74 u75 interaction1, treatment(treat)), I get the following error message: file c:\ado\plus/c/cem-mata.do not found (error occurred while loading cem.ado)

So, it looks like the ssc install cem does not automatically copy "cem-mata.do".

"ssc install cem, all" at least copies "cem-mata.do" to the current working directory. Copy-Pasting this file manually then to "c:\ado\plus/c/" actually helps and cem is working well.

Not sure whether the installation routine is part of the package, but if so, you might want to check, whether you can fix this problem.

Best wishes, Elias

Also, seems to be that I am not the only one with this problem: https://www.statalist.org/forums/forum/general-stata-discussion/general/1384046-problems-using-cem

mattblackwell commented 2 years ago

Can you try the following to see if it resolves your issue?

ssc uninstall cem
net from https://mattblackwell.org/files/stata
net install cem
mattblackwell commented 2 years ago

Nevermind, this looks like it was an issue on the SSC servers and should be fixed now.