Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: robust standard errors with sureg


From   "Monica Fisher" <[email protected]>
To   [email protected]
Subject   st: robust standard errors with sureg
Date   Wed, 07 Jul 2004 08:05:53 -0400

Hello. I'm wondering if anyone has insights on the following. I'm trying to obtain robust clustered standard errors after the "sureg" command and apparently I'm not using the "_robust" programming command correctly. I say this because I get unbelievable robust standard errors (many z-values are greater than 100). The commands I'm using are:

sureg (s_off p2 p3 d97 age educ hhsize fsize) (s_for p2 p3 d97 age educ hhsize fsize)
mat D = e(V)
mat b = e(b)
predict double e1, equation(#1) residuals
predict double e2, equation(#2) residuals
_robust e1 e2, cluster(panelid) minus(8)
ereturn display

Thanks! Monica Fisher

_________________________________________________________________
Get fast, reliable Internet access with MSN 9 Dial-up � now 2 months FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/

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




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