Bookmark and Share

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

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

st: within industry serial correlation

From   Bülent Köksal <>
Subject   st: within industry serial correlation
Date   Wed, 16 Jan 2013 16:16:27 +0200

Dear Stata Users,

I have unbalanced yearly panel data for many firms with holes in the
time dimension. Assume that there are five industries.

How can I allow for within industry serial correlation?

As I understand from the help file,

.xtgls y x1 x2 x3, panels(c) corr(psar1)

specifies  heteroskedastic error structure with cross-sectional
correlation and  within panels, there is AR(1) autocorrelation and
that the coefficient of the AR(1) process is specific to each panel.

But it seems that this is for balanced panels.

Thanks for any help.

Bülent Köksal

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index