Bookmark and Share

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   Nick Cox <n.j.cox@durham.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Error when estimating full model in -cmp-
Date   Wed, 25 Jan 2012 18:28:13 +0000

I guess that you have to translate to the equivalent for your file structure. I imagine the file cmp.mata is put in exactly the same directory as cmp.ado. 

Either way, 

. which cmp.mata 

will tell you where it is, after which -do- requires the full file designation. Otherwise put, -do- does not search along your -adopath-. 

Nick 
n.j.cox@durham.ac.uk 

Jennifer M Keister

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?


*
*   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/


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