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]
re:Re: st: inconsistent results for two-dimensions fixed effects
From
Christopher Baum <[email protected]>
To
"<[email protected]>" <[email protected]>
Subject
re:Re: st: inconsistent results for two-dimensions fixed effects
Date
Fri, 16 Aug 2013 12:33:32 +0000
<>
Michael said
> Lastly, if you are including fixed effects at the industry-level, you
> don't have to compute clustered standard errors at the same level. You
> can just use the typical robust standard error estimator. The cluster
> fixed effects will control for correlation of error-terms within
> clusters.
>
> So I think you should use one of these two commands:
> reg IV DV i.year i.industry, robust
> areg IV DV i.year , absorb (industry) robust
>
> About the ivreg2 command, it is used for instrumental variables. I
> think your "IV" stands for independent variable, not instrumental
> variable, so it is not relevant to your topic. ivreg2 will not help
> you with a fixed-effects analysis.
This is not quite right. First of all, inclusion of fixed effects (FEs) adjusts the conditional mean for, e.g., the industry; it does not deal with non-i..d. errors. You cannot 'just use the typical robust s.e. estimator' in that context; as the documentation for xtreg, fe states, Stock and Watson showed that the standard robust estimator is not consistent in the FE context where there are more than two observations per panel unit. xtreg, fe robust automatically uses the cluster-robust VCE, clustered by panel ID. Your regression 'by hand' using -regress- will not give you the same results as xtreg, fe robust or xtreg, fe cluster(pid). Also note that areg and xtreg, fe are designed for different assumptions about the data.
FEs by cluster will, thus, not 'control for correlation of error terms within clusters'. That is what the cluster-robust VCE is for.
ivreg2 (SSC, Baum/Schaffer/Stillman) and its sibling xtivreg2 (SSC, Schaffer/Stillman) are potentially relevant in this context, as they implement two-way clustering in an OLS context (as well as in an instrumental variables = IV context).
Kit
Kit Baum | Boston College Economics & DIW Berlin | http://ideas.repec.org/e/pba1.html
An Introduction to Stata Programming | http://www.stata-press.com/books/isp.html
An Introduction to Modern Econometrics Using Stata | http://www.stata-press.com/books/imeus.html
http://www.crup.com.cn/Item/111779.aspx
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/