Hi Prashant, 

Have you tried running the imb function on a smaller set of the variables? The `cem` command calls imbalance at some point, so this should work. Another quick potential solution is to reinstall the CEM package and see if that fixes the issue. 

Hope that helps!

Cheers,
matt.

~~~~~~~~~~~
Matthew Blackwell
PhD Candidate
Institute for Quantitative Social Science
Department of Government
Harvard University
url: http://www.mattblackwell.org

On Tuesday, February 14, 2012 at 5:59 AM, Prashant wrote:

Hi,

I'm get an error message when I run imb in Stata (cem runs fine):

L1meas(): 3301 subscript invalid
imbalance(): - function returned error
<istmt>: - function returned error
r(3301);

My code is something like:
imb new_age borninbeijing female hometown01 BJ_hukou Rural_hukoutype
fatheredu motheredu ifpreschooling schoolingathome,
treatment(public_yn)

Any help would be most appreciated!
Thanks,
Prashant
-
--
cem Mailing List, served by HUIT
Send messages: cem@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@lists.gking.harvard.edu
https://lists.gking.harvard.edu/mailman/listinfo/cem