Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Autocorrelation problem (Breusch-Godfrey versus residuals plots)

    Dear Statalist,

    I have found somewhat contradictory results regarding autocorrelation and I would like to have your expertise on this topic.

    To give you some background information.
    I started out with the following model: rt = beta0 + beta1*tax + beta2*monday +beta3*cc_d + error term
    Previous studies suggest that I should include a single lag of the dependent variable rt, namely rt-1.
    Hence, the second model is: rt = beta0 + beta1*tax + beta2*monday +beta3*cc_d + beta4*rt-1 + error term
    Furthermore, it is a time-series dataset with daily data ranging from 1973 to 2014 with several gaps.

    Because I wanted to know if there still was any autocorrelation in the residuals I used the Breusch Godfrey test, because it has no problem with lagged dependent variables (In contrary to DW).

    Below you find the results of a Breusch-Godfrey test with 4 lags.
    As you can see, in any case the H0 is rejected in any case. This suggests that there is still autocorrelation. Furthermore, the p-value only gets smaller when I test for more than 4 lags.


    However, when I checked the residuals of the second model using:

    Code:
    predict resid, residuals
    Code:
    ac resid
    I found something rather interesting.



    This graph does not suggest that there is autocorrelation after adding the lagged dependent variable (LDV). For comparison, you can find the ac graph of the residuals from the first model (i.e. without LDV) below.



    What could explain these contradictory results?
    Furthermore, should I 'thrust' the Breusch-Godfrey test statistic or the autocorrelation graphs?

    Thank you in advance!

    Best regards,

    RJ
    Last edited by RJ Bremer; 10 Feb 2016, 13:24.

  • #2
    Dear RJ,

    I cannot see the pictures you posted. Anyway, the -ac- is not a valid way to check for serial correlation of the residuals.

    All the best,

    Joao

    Comment

    Working...
    X