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]

st: RE: suest with oprobit


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: suest with oprobit
Date   Mon, 22 Feb 2010 21:39:22 +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.

HTH
Martin

From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Pazit Ben Nun
Sent: Montag, 22. Februar 2010 21:12
To: statalist@hsphsun2.harvard.edu
Subject: st: suest with oprobit

Hello all,
Ibm unsuccessfully trying to get the wald test from a seemingly unrelated
regression of two ordered probits. Stata 10 runs the models and readily
stores whatever I ask it to, but it doesnbt run the SU, claiming that:
bMata run-time error
_robust failed to compute cross model variance estimate
likely an internal error in suestb
B 
Ibm using the following code:
B7B B B B B B B B  oprobit siva mca3 ideo sconserv2 party_id fem2 rwa2 open2
emp2 disgust2 relig know edu age male 
B7B B B B B B B B  estimates store siva1 
B7B B B B B B B B  oprobit siva attstrna3 mca3 ideo sconserv2 party_id fem2
rwa2 open2 emp2 disgust2 relig know edu age male 
B7B B B B B B B B  estimates store siva2 
B7B B B B B B B B  suest siva1 siva2
B7B B B B B B B B  test [siva1]mca3=[siva2]mca3
B 
Any thoughts on what's going on?
Appreciate your advice! B 
Pazit Ben-Nun 
B 
Pazit Ben-Nun-Bloom 
PhD candidate/ Instructor
Department of Political Science
Stony Brook University, SBS N-741
Stony Brook, NY 11794-4392
B 631-632-4109B  631-632-4109 ; B 631-216-2203B  631-216-2203 
http://www.sinc.stonybrook.edu/Stu/pbennun/


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