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 on April 23, and its replacement, statalist.org is already up and running.


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

RE: st: suest with oprobit


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: suest with oprobit
Date   Mon, 22 Feb 2010 21:48:44 +0100

No html posting, right?

Anyway, both Stata 10 and 11 perform this perfectly:

*******
webuse fullauto, clear
oprobit rep77 weight length mpg if foreign
estimates store a
oprobit rep77 weight length mpg if !foreign
estimates store b

suest a b
test [a_rep77]weight=[b_rep77]weight
*******

Make sure you get the names for -test- right.


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index