Announcement

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

  • Testing for serial correlation.

    Hey guys!
    I am running a fixed effects regression and wanted to test for serial correlation. I used the commands attached in the following picture.
    Can someone explain why I can't run this test? (I am very new to state and econometrics so I would appreciate taking it under consideration)
    Thanks a lot for the help
    Attached Files
    Last edited by Alejandro Cuadros; 17 Jan 2021, 13:47.

  • #2
    You are not running a fixed effects regression.

    From the error it seems that the test is not applicable for panel data.

    For testing first order autocorrelation after fixed effects, check the user written -xtserial-, which implements a test proposed in Wooldridge, Econometrics of Cross Sectional and Panel Data.

    Comment


    • #3
      Thanks Joro.

      Comment


      • #4
        I tried with the xtserial but I don't know how to interpret the results. How do I know that there is autocorrelation?
        Attached Files
        Last edited by Alejandro Cuadros; 17 Jan 2021, 15:05.

        Comment


        • #5
          It is written at the bottom: the null hypothesis of no autocorrelation is rejected at any level. So you have autocorrelation.

          Comment

          Working...
          X