Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Error when estimating full model in -cmp-

From   Christopher Baum <>
To   "" <>
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

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 Baum   |   Boston College Economics and DIW Berlin   |
An Introduction to Stata Programming   |
An Introduction to Modern Econometrics Using Stata   |

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index