Using gret l for Principles of Econometrics, 4th Edition

# Durbin-Watson Test

The Durbin-Watson statistic is produced with every time-series regression estimated by least squares. To access the p-value associated with the test, which is computed using the Imhoff procedure, use the accessor \$dwpval. An example based on the Phillips curve is:

1 open "@gretldirdatapoephillips_aus. gdt"

2 diff u

3 setinfo inf - d "Australian Inflation Rate" - n "Inflation Rate"

4 setinfo d_u - d "Change in Australian Civilian Unemployment Rate

5 (Seasonally adjusted)" - n "D. Unemployment Rate"

6 ols inf d_u const

7 scalar dw_p = \$dwpval

8 print dw

The result, including the last line of the regression output that shows the estimated value of p and the DW statistic, is:

0.549882 Durbin-Watson 0.887289

dw_p = 2.1981736e-009

The DW statistic is 0.887 and its p-value is well below the 5% threshold, indicating significant autocorrelation. The GUI gives a slightly prettier result. It has to be called from the model window as Tests>Durbin-Watson p-value.

Many interpret a significant DW statistic as evidence of general model misspecification.

Добавить комментарий

## Using gret l for Principles of Econometrics, 4th Edition

### Simulation

In appendix 10F of POE4, the authors conduct a Monte Carlo experiment comparing the performance of OLS and TSLS. The basic simulation is based on the model y = x …

### Hausman Test

The Hausman test probes the consistency of the random effects estimator. The null hypothesis is that these estimates are consistent-that is, that the requirement of orthogonality of the model’s errors …

### Time-Varying Volatility and ARCH Models: Introduction to Financial Econometrics

In this chapter we’ll estimate several models in which the variance of the dependent variable changes over time. These are broadly referred to as ARCH (autoregressive conditional heteroskedas - ticity) …

## Как с нами связаться:

Украина:
г.Александрия
тел./факс +38 05235  77193 Бухгалтерия
+38 050 512 11 94 — гл. инженер-менеджер (продажи всего оборудования)

+38 050 457 13 30 — Рашид - продажи новинок
e-mail: msd@msd.com.ua
Схема проезда к производственному офису:
Схема проезда к МСД

Партнеры МСД

## Контакты для заказов шлакоблочного оборудования:

+38 096 992 9559 Инна (вайбер, вацап, телеграм)
Эл. почта: inna@msd.com.ua