[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Want to run xtreg with AR(1) autocorrelationallowed
I want to run the panel data of 2000 entries for a 3-year
period. The 2000 entries are grouped into 14 U.S. states.
I can use the xtreg, cluster() to capture the group effect
but I still need to account for the autocorrelation of the
error terms (AR(1)). Can somebody please tell me how I
should do that? I don't see whether xtreg will allow me to
Also, somebody suggests that I try xtgls command. I got the
error message that the "Panel must be balanced." I was
confused. What does it mean by that? Does that mean I
can't use xtgls? What should I do to get both the "cluster"
and the "autocorrelation" aspects into my panel regression?
* For searches and help try: