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

st: Re: panel data analysis


From   "Scott Merryman" <smerryman@kc.rr.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: panel data analysis
Date   Thu, 15 Apr 2004 21:15:16 -0500

----- Original Message ----- 
From: "M H" <maharr17@hotmail.com>
To: <statalist@hsphsun2.harvard.edu>
Sent: Thursday, April 15, 2004 12:33 PM
Subject: st: panel data analysis


> Dear Stata Users,
>
> Please forgive the lengthy post, but I wanted state up front the
procedures
> that I have already attempted, and the end result.
>
> I would like to model set of firms (i=1 to N, where i=1,2,3 …. 396)  over
a
> 10 year period using quarterly data (t=1 to T, where t=1,2,3…..396).
Based
> on this framework, the panel is balanced (I have the same number if time
> periods for each firm with no missing values) and the total number of
> observations NT = 15,840.
>
> Procedure 1: After fitting a model to the above panel of firms  using
xtreg,
> fe xttest0 and xtreg, re xttest1, I find, that the disturbances exhibit
> serial correlation, cross correlation and heteroscasdacity (consistent
with
> my priors).
>
> Stumbling block to Procedure 1: the xtreg does not provide an option to
> correct for these problems with the error terms.  This becomes
particularly
> problematic as the tests for fixed and random effects rely on the
assumption
> that the disturbances are “well-behaved”.
>
<snip>

In addition to -xtreg- there is -xtregar- which will fit fixed or random
effects models with AR(1) errors.

Hope this helps,

Scott


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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