Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Fwd: Panel or pooled data

From   "Austin Nichols" <>
Subject   Re: st: Fwd: Panel or pooled data
Date   Wed, 23 May 2007 14:48:50 -0400

xtreg ......, i(id) fe cluster(id)
ssc inst ivreg2
ssc inst xtivreg2
xtivreg2 ......, i(id) fe cluster(id)

On 5/3/07, Schaffer, Mark E <> wrote:
First, Stock and Watson have shown that the usual heteroskedastic-robust
SEs for the fixed effects estimator are not consistent, but the
cluster-robust ones are.  See
On 5/22/07, Glenn Hoetker <> wrote:
I have unbalanced panel data and thus need to control for inflated
standard errors.  Three means of doing so suggest themselves:

xtreg ......, i(id) fe
xtreg ......, i(id) re
xtreg ......., cluster(id)

The discussion under [R] regress demonstrates all three and indicates
that they are alternative means (unless the assumptions of random
effects are rejected by a Hausman test, which they are in my case).
However, it does not discuss what would lead one to prefer one over
the other--an insight I've not found anywhere else either.
*   For searches and help try:

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