Hi Lily,
This most likely has to do with the missingness in the treatment variable.
I think the easiest way to handle this is to drop the units with missing
treatment before running cem rather than using the "if" statement.
Hope that helps!
Cheers,
Matt
~~~~~~~~~~~
Matthew Blackwell
Assistant Professor of Government
Harvard University
url:
http://www.mattblackwell.org
On Tue, May 19, 2015 at 9:49 PM Lily L Tsai <l_tsai(a)mit.edu> wrote:
Got this error message, and tried the fix from the prior thread but still
having problems. I get the same message no matter what list of covariates
I use, or even if I switch the treatment variable.
. cem totpop_07 netinc_07 disvlg_n distroad_n age edu male ccp prov (#0)
if sumindexnew2 ~=., t
reatment(sumindexnew2)
Matching Summary:
-----------------
Number of strata: 1650
Number of matched strata: 0
0 1 .
All 1315 668 42
Matched 0 0 0
Unmatched 1315 668 42
imbalance(): 3258 <tmp>[1,1] found where void required
<istmt>: - function returned error
r(3258);
Any suggestions?
Many thanks
Lily Tsai-
--
cem Mailing List, served by HUIT
Send messages: cem(a)lists.gking.harvard.edu
[un]subscribe Options:
http://lists.gking.harvard.edu/?info=cem
More information on cem:
http://gking.harvard.edu/cem
Cem mailing list
Cem(a)lists.gking.harvard.edu
To unsubscribe from this list or get other information:
https://lists.gking.harvard.edu/mailman/listinfo/cem