Thank you, Scott.
Friedrich
--- Scott Merryman <[email protected]> wrote:
> The test statement should be (at least for Stata 9.2)
>
> test [f0_mean = f1_mean]
>
> Or for just one variable,
>
> test [f0_mean]weight= [f1_mean]weight
>
> Scott
>
>
> > -----Original Message-----
> > From: [email protected] [mailto:owner-
> > [email protected]] On Behalf Of Friedrich Huebler
> > Sent: Friday, June 09, 2006 12:02 PM
> > To: [email protected]
> > Subject: st: suest after regress: equation not found
> >
> > 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/