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

Re: st: A question about modelling heterogenous variances


From   Scott Cunningham <[email protected]>
To   [email protected]
Subject   Re: st: A question about modelling heterogenous variances
Date   Fri, 21 Oct 2005 12:20:43 -0400

On Oct 21, 2005, at 9:51 AM, [email protected] wrote:

Hi,

Consider the following problem: I want to regress age on sex, but my
dataset was collected from four sites, so I'd like to control for site. I
could do:

xi: reg age i.sex i.site

But graphical examination suggests that different sites had different
variances. What's the solution?
This probably exposes my ignorance, but why wouldn't using the robust option work here? Heteroscedascity adjustments using White's covariance consistent estimator is what I recommend, which here would just be -xi: reg age i.sex i.site, robust-. Is there some reason why that's not appropriate?
*
* 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