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

st: areg, xtreg, and cluster

From   "Andrew Eggers" <>
To   <>
Subject   st: areg, xtreg, and cluster
Date   Fri, 14 Nov 2003 16:10:03 -0500

I've been looking for a way to correct for within-group correlation in a
time-series survey dataset (with resulting biased standard errors). The
solution I've found is to use areg with the cluster(group identifier)
and absorb(person id) options. Since areg and xtreg, fe do the same
thing (right?), why isn't cluster an option in xtreg, fe? It would have
saved me a lot of time if it had been. 


Andy Eggers
Washington, DC
*   For searches and help try:

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