Hello,
I am having problems using coarsened exact matching (CEM) on Stata.
when running the command(from the code in "causal inference: the mixtape"):
I get back this error:
and I have tried :
ssc uninstall cem
ssc install cem
ssc install cem all
they don't work.
Any insights would be very helpful.
Thank you!
I am having problems using coarsened exact matching (CEM) on Stata.
when running the command(from the code in "causal inference: the mixtape"):
Code:
ssc install cem * Reload experimental group data use https://github.com/scunning1975/mixtape/raw/master/nsw_mixtape.dta, clear drop if treat==0 * Now merge in the CPS controls from footnote 2 of Table 2 (Dehejia and Wahba 2002) append using https://github.com/scunning1975/mixtape/raw/master/cps_mixtape.dta gen agesq=age*age gen agecube=age*age*age gen edusq=educ*edu gen u74 = 0 if re74!=. replace u74 = 1 if re74==0 gen u75 = 0 if re75!=. replace u75 = 1 if re75==0 gen interaction1 = educ*re74 gen re74sq=re74^2 gen re75sq=re75^2 gen interaction2 = u74*hisp cem age (10 20 30 40 60) age agesq agecube educ edusq marr nodegree black hisp re74 re75 u74 u75 interaction1, treatment(treat) reg re78 treat [iweight=cem_weights], robust
I get back this error:
Code:
. . cem age (10 20 30 40 60) age agesq agecube educ edusq marr nodegree black hisp re74 r > e75 u74 u75 interaction1, treatment(treat) file /Users/fuzhanghaifan/Library/Application Support/Stata/ado/plus/c/cem-mata.do not found (error occurred while loading cem.ado) r(601); end of do-file r(601);
and I have tried :
ssc uninstall cem
ssc install cem
ssc install cem all
they don't work.
Any insights would be very helpful.
Thank you!
Comment