Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

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

From |
Marcello Pagano <pagano@hsph.harvard.edu> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: degrees of freedom correction: Frisch Waugh |

Date |
Fri, 22 Oct 2010 09:06:07 -0400 |

Please abide by the few rules we have on this list:

2. Identify yourself. It is a minimal sign of respect.

m.p. On 10/22/2010 8:18 AM, statalist wrote:

I am estimating a linear model with a large number of fixed effects (e.g. worker/firm, student/teacher, etc...). One way to do this would be to use a two-way fixed effects estimator (e.g. a2reg, felsdvreg, etc...), but I am not really interested in the estimates of the fixed effects per se. An alternative would be to estimate the model in stages, using a wage equation as an example: xtreg wage, fe i(worker_id) predict wage_res1, e xtreg experience, fe i(worker_id) predict experience_res1, e xtreg wage_res1, fe i(firm_id) predict wage_res2, e xtreg experience_res1, fe i(firm_id) predict experience_res2, e reg wage_res2 experience_res2 This should produce the exact same result as "xtreg wage experience i.firm_id, fe i(worker_id)" with the exception that the standard errors will be slightly smaller in the former example due to a degrees of freedom issue. My question is as follows: is there an easy way to correct the standard errors from the two+ stage model to mimic the one stage model? This obviously will not make a huge difference in large samples, but I want to know if such a solution exists. * * 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/

**References**:**st: degrees of freedom correction: Frisch Waugh***From:*statalist <statalistrw@gmail.com>

- Prev by Date:
**st: RE: Re: standardized betas in Prais-Winsten Regression** - Next by Date:
**st: RE: Venn diagrams** - Previous by thread:
**Re: st: degrees of freedom correction: Frisch Waugh** - Next by thread:
**st: Venn diagrams** - Index(es):