I hope someone can give me a clue why I fail to get Durbin-Watson statistic
when I replicate the example in Gujarati(2003) p.641 when regressing y on x2
x3 using the famous Grunfeld investment data, and then typing -estat
dwatson-?
The error says -no multiple panels allowed-. Gujarati used Eviews, and I got
the reported d-statistic using Eviews as well.
In addition, I calculated the result step by step in Stata using the formula
for d. I got exactly what Eviews reported.
By the way, the number for d reported in Gujarati (2003) p. 641 is not
correct all other figures being the same as I get after the OLS in Stata and
Eviews.
My question: why I can't get that statistic in Stata directly? Am I missing
an obvious thing? Thanks in advance.
Armen
The Grunfeld dataset that accompanies Gujarati's text is actually a panel
of 4 firms over 20 years. In the example on p. 641 he runs a pooled
regression, stacking the data for the four firms on top of each other.