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

st: re: robust est of between estimator


From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: re: robust est of between estimator
Date   Fri, 21 Jan 2005 17:11:30 -0500

Sandy wrote

I am using the between effects model in xtreg, but would like to have a
robust estimation of standard errors .
The robust option is not available for xtreg.
I have searched extensively for the option, to no avail.
Has anyone programmed this procedure?

The between estimator is OLS on the time averages of the panel units. If you collapse your data on the time variable, you may use regress, robust.

e.g.

webuse grunfeld
xtreg invest mvalue kstock, be
collapse invest mvalue kstock, by(company)
reg invest mvalue kstock

Now you can do the latter reg with the robust option.

Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html

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