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: -suest-


From   Scott Merryman <[email protected]>
To   [email protected]
Subject   Re: st: -suest-
Date   Wed, 13 Feb 2013 14:46:18 -0600

Why do you think the equation names from -suest- are "model1_divided"
?  I would think they would be "model1_budgetday",
"model2_patroldays"....

See for example:

webuse rod93,clear
qui {
nbreg deaths age if cohort == 1
est store m1
nbreg deaths age if cohort == 2
est store m2
nbreg deaths age if cohort == 3
est store m3
suest m1 m2 m3
}
 test [m1_deaths = m2_deaths = m3_deaths], constant


Scott


On Wed, Feb 13, 2013 at 2:26 PM, Huaandrew <[email protected]> wrote:
> 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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index