Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Error when estimating full model in -cmp-
From
Christopher Baum <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: Error when estimating full model in -cmp-
Date
Wed, 25 Jan 2012 15:23:08 -0500
<>
As per your suggestion, I've tried running:
do "/Library/Application_Support/Stata/ado/stbplus/c/cmp.mata"
At which point, Stata responds with:
file /Library/Application_Support/Stata/ado/stbplus/c/cmp.mata not found
r(601);
The file does exist, but for some reason the particular -do- command suggested fails to locate it. Any thoughts on what I've done incorrectly?
Assuming this is a Mac OS X system, the file should be located in "~/Library/Application Support...", not "/Library...
Also, the default place that the ssc command will place items will be ../Stata/ado/plus/c/ (not 'stbplus')
But in any case you probably don't need to "do" this cmp Mata code. David Roodman sent an updated version of lcmp.mlib yesterday, which is now on SSC. The prior version of that library was compiled on a later version of Stata. Stata 9 and 10 can't use Mata libraries compiled under versions
11 or 12. The version now available is compatible with version 9 or later. You should be able to
adoupdate cmp, update
and get the new version of the library, and cmp will access the compiled Mata routine from the library. You won't need to 'do' the Mata code.
Kit
Kit Baum | Boston College Economics and DIW Berlin | http://ideas.repec.org/e/pba1.html
An Introduction to Stata Programming | http://www.stata-press.com/books/isp.html
An Introduction to Modern Econometrics Using Stata | http://www.stata-press.com/books/imeus.html
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/