Hi Christoph,

There is a bug in the latest build of CEM at SSC. We've pushed a fix to their servers, but it might take a bit to update. In the meantime, if you want, you can manually update the ado file. The updated file can be found here:

http://dl.dropbox.com/u/5379343/cem.ado

You can see where to replace this file by using the "findfile cem.ado" command (for Unix-like systems, it is usually in ~/ado/plus/c/). Again, the ssc install procedure should update the files appropriately in the next few days. 

Cheers,
matt.

On Sun, Jul 10, 2011 at 9:46 AM, Christoph Safferling <christoph.safferling@univie.ac.at> wrote:
Hello list,

I am having troubles getting cem to run (imb works fine). Any code I do
with cem returns this error message:

. cem
invalid syntax
r(197);

whether I include variables, the treatment variable or not. I installed
via ssc:

. ssc install cem
checking cem consistency and verifying not already installed...
all files already exist and are up to date.

I am really puzzled as to why, as imb works. I assume there must be a
problem with the cem ado file, as shouldn't it return the "valist
required" if I only call the command "cem" (without anything)? Any help
would be greatly appreciated!

I am running Stata 10 (fully updated), Linux-32bit. Would you need any
more information than that?

Thanks a lot for your time and help,


Christoph

-
cem Mailing List, served by Harvard-MIT Data Center
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