Statalist


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

AW: st: AW: RE: cross-model hypothesis test


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   AW: st: AW: RE: cross-model hypothesis test
Date   Mon, 23 Mar 2009 18:25:39 +0100

<> 

Well, I wanted to answer the question brought up by Jason with this code. -h suest- states the requirement that " ... predict produce equation-level scores with the score option after an estimation command." for an estimator to be amenable to the -suest- treatment. You can check after estimation by typing

*************
db predict 
*************

whether that is the case. 

I hope that other listers will have more detailed explanations :-)


HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Joshua A Shindell
Gesendet: Montag, 23. März 2009 18:18
An: [email protected]
Betreff: Re: st: AW: RE: cross-model hypothesis test

Martin, thank you very much for the reply,  I ran the following code you provided:

webuse nlswork, clear
generate age2 = age^2
generate ttl_exp2 = ttl_exp^2
generate tenure2 = tenure^2
generate byte black = race==2
xtset idcode

xtreg ln_w grade age* ttl_exp* tenure* not_smsa south if black, re
estimates store first
xtreg ln_w grade age* ttl_exp* tenure* not_smsa south if !black, re
estimates store second

suest first second

I get the following error code:  

first was estimated with a non-standard vce (conventional)
r(322);


Any additional suggestions?

Thank you very much,


Joshua A. Shindell

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


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index