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

. test [f0=f1]
equation f0 not found

Friedrich Huebler

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
*   For searches and help try:

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