Announcement

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

  • Why does estat dwatson throw up an error when I run it?

    I am running an ARDL model with four variables. Now when I try to run Durbin-Watson tests, I get the error estat dwatson is not valid r(321). I am not sure what is happening.

    Here is my code:

    Code:
    ardl stir narrowmg inf gdpg, lags(1 0 1 0) regstore(ecreg)
    regress
    estat dwatson
    Then, I get estat dwatson not valid.
    Last edited by Andrew Goran; 11 May 2020, 10:51.

  • #2
    I found the answer. Here is my revised code for anyone who has a similar problem

    Code:
    ardl stir narrowmg inf gdpg, lags(1 0 1 0) regstore(ecreg) 
    estimates restore ecreg 
    regress 
    estat dwatson

    Comment

    Working...
    X