Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: -suest-


From   Huaandrew <andrew0845@hotmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: -suest-
Date   Wed, 13 Feb 2013 20:26:26 +0000

Kept getting error r(111) "model1 not found" after running the following code

use "test.dta"

qui nbreg budgetdays divided logcasqtlagstd gallupnotstd defbudgstd astotdaysstd q1 q2 q3 ch1, nolog
estimates store model1

qui nbreg patroldays divided logcasqtlagstd gallupnotstd defbudgstd astotdaysstd q1 q2 q3 ch1, nolog
estimates store model2

qui nbreg firedays divided logcasqtlagstd gallupnotstd defbudgstd astotdaysstd q1 q2 q3 ch1,  nolog
estimates store model3

suest model1 model2 model3
test [model1] = [model2] = [model3]

If I use test [model1_divided=model2_divided] then get r(303) "equation model1_divided not found"

Does anyone know the reason for the error?

Thanks!

Andrew
 		 	   		  
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index