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

# Re: st: Serial Correlation

 From Gabriel Nicolás Michelena To statalist@hsphsun2.harvard.edu Subject Re: st: Serial Correlation Date Fri, 4 Feb 2011 15:14:33 -0300 (ART)

```Under Heterocedasticity the OLS estimators are still consistent, but t-stastic are no the right ones because you are using the wrong VCE matrix. You solve this problem just adding robust option in the regression.

If you suspect that are individidual effects in you model, then you should use Fixed or Random Effects for a better estimation. In my opinion you should pick one or another model depending of the characteristic of the model that you are working on. In this case, previous works on the matter always help. Again, if you suspect of serial correlation, the easy solution is employ the robust VCE matrix again.

Regards!

----- Mensaje original -----
De: "Robert Mills" <R.Mills@sms.ed.ac.uk>
Para: statalist@hsphsun2.harvard.edu
Enviados: Viernes, 4 de Febrero 2011 12:46:39
Asunto: st: Serial Correlation

Hi all,

I'm performing a panel data regression across six countries and ten
years in Stata.

I'm a little confused as to which methodology I should use, so far I
have:

Run my regression in OLS, then used the Breush-Pagan Lagrange
Multiplier Test, which rejected the null hypothesis that the variance
of errors is zero (homoskedastic), thus OLS is inconsistent so I need
to use Random or Fixed Effects

I've used a Hausman Test in which determined Random effects to be
inconsistent, so I'm going to use Fixed Effects.

So my errors are heteroskedastic, and I need to correct for this - do
I simply use robust standard errors in Stata? Or should I use the
Huber-White Standard Errors? Or are these the same thing?

I've read that using Huber-White Standard Errors requires no serial
correlation in error terms. To check for this, I need to perform a
Durbin-Watson Test, and if I find serial correlation, use
Prais-Winsten (GLS) to correct this.

However, can you use GLS for fixed effects? And if so, how do you do
this in Stata?

Or, should I use Newey West Standard Errors, which correct for both
heteroskedasticity and for serial correlation (AR 1). This would seem
like the best option, but I'm not sure if you can use NW SE's for
fixed effects? If so, how is this done in stata?

Cheers,

Robert Mills

-- The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/

--

--- Lic. Gabriel Michelena

Centro de Economía Internacional. Ministerio de
Relaciones Exteriores, Comercio Internacional y Culto Esmeralda 1212 - 2° Piso -
Oficina 201 Ciudad Autónoma de Buenos Aires

( C1007ABR ) Argentina

Tel: (+5411) 4819-7000. Interno
7485

Fax: (+5411) 4819-7484

URL: http://www.cei.gob.ar/

E-mail: hmg@mrecic.gov.ar

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
```