Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: suest after regress: equation not found


From   Friedrich Huebler <huebler@rocketmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: suest after regress: equation not found
Date   Fri, 9 Jun 2006 10:02:08 -0700 (PDT)

I would like to compare regression coefficients across groups. I use
Stata 8.2 and tried to adapt the code in the Reference Manual entry
for -suest-, under the heading "Testing cross-model hypotheses" (p.
139 in my copy of the manual). I am not familiar with -suest- and my
commands return the error message "[equation] not found ". What am I
doing wrong?

. sysuse auto, clear
. regress mpg weight if foreign==0, score(f0)
. est store f0
. regress mpg weight if foreign==1, score(f1)
. est store f1
. suest f0 f1
. test _b[f0]=_b[f1]
[f0] not found
r(111);

. test [f0=f1]
equation f0 not found
r(303);

Friedrich Huebler


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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