cem icon indicating copy to clipboard operation
cem copied to clipboard

CEM installation does not install correctly (any more)

Open eliasnaumann opened this issue 3 years ago • 2 comments

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

eliasnaumann avatar Oct 19 '21 10:10 eliasnaumann