Perfect. lcem was not in the search path, so I added it. I also do not find a file
called lcem.mlib, but I do get some output when I run my command. Now I just have to
check the statistics side of it.
Thanks for the quick response.
Janet Rosenbaum
Assistant Professor, Department of Behavioral and Community Health
University of Maryland School of Public Health, College Park.
jerosenb(a)umd.edu
On Feb 9, 2011, at 5:36 PM, Matt Blackwell wrote:
Hi Janet,
We are experiencing some problems with our servers, which is why the
"net from
http://gking.harvard.edu/cem/" method does not currently
work. But, I think you already have the necessary files.
I think the file that you are missing is called "lcem.mlib" which
should be installed with cem. Another problem might be that Stata is
not finding the library. When you open up Stata, try running the
following line of code:
mata: mata mlib query
(with the colon and double-mata and everything) This should list some
libraries all starting with the letter l ("el"). One of the should be
"lcem." If it isn't, try running this line of code (which may take a
bit):
mata: mata mlib index
Hopefully now you should see "lcem." The program should work after
this. If this does not work, I have a few more ideas, but I think this
should resolve the issue.
Please let me know if this does not help or if you do not have the
"lcem.mlib" file.
cheers,
matt.
On Wed, Feb 9, 2011 at 4:59 PM, Janet E Rosenbaum <jerosenb(a)umd.edu> wrote:
Dear all,
Hope all is well. I have an installation question. I tried to install CEM in Stata
using instructions on the website. The first set of instructions did not work (net
install cem). The second set of instructions did work, but then it said cemStata() not
found. I'm guessing this means something is missing from the installation package,
rather than anything on my end, given that I just typed in the commands as given. Or do I
need to download something else?
net from
http://gking.harvard.edu/cem/
file
http://gking.harvard.edu/cem/stata.toc not found
http://gking.harvard.edu/cem/ either
1) is not a valid URL, or
2) could not be contacted, or
3) is not a Stata download site (has no stata.toc file).
r(601);
. net install cem
file
http://www.stata.com/cem.pkg not found
server says file temporarily redirected to
http://www.stata.com/error/404.html
could not load cem.pkg from
http://www.stata.com/
r(601);
. ssc install cem
checking cem consistency and verifying not already installed...
installing into /Users/janet/Library/Application Support/Stata/ado/stbplus/...
installation complete.
. cem x1 x2, treatment(y) autocuts(fd)
<istmt>: 3499 cemStata() not found
r(3499);
. cem x1, treatment(y) autocuts(fd)
<istmt>: 3499 cemStata() not found
r(3499);
Thanks for your help,
Janet
Janet Rosenbaum
Assistant Professor, Department of Behavioral and Community Health
University of Maryland School of Public Health, College Park.
jerosenb(a)umd.edu
-
cem Mailing List, served by Harvard-MIT Data Center
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, served by Harvard-MIT Data Center
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, served by Harvard-MIT Data Center
Send messages: cem(a)lists.gking.harvard.edu
[un]subscribe Options: