Using gret l for Principles of Econometrics, 4th Edition

Serial Correlation in Residuals

The correlogram can also be used to check whether the assumption that model errors have zero covariance-an important assumption in the proof of the Gauss-Markov theorem. The example that illustrates this is based on the Phillips curve that relates inflation and unemployment. The data used are from Australia and reside in the phillips-aus. gdt dataset.

The model to be estimated is

inf = ві + в2 Аи* + et (9.6)

The data are quarterly and begin in 1987:1. A time-series plot of both series is shown below in Figure 9.10. The graphs show some evidence of serial correlation in both series.

image304

Figure 9.10: This plot shows the relationship between inflation and the change in unemployment in Australia, 1987:1 - 2009:3.

The model is estimated by least squares and the residuals are plotted against time. These appear in Figure 9.11. A correlogram of the residuals that appears below seems to confirm this. To generate the regression and graphs is simple. The script to do so is:

ols inf const d_u

2 series ehat = $uhat

3 gnuplot ehat —time-series

4 corrgm ehat

Unfortuantely, gretl will not accept the accessor, $uhat, as an input into either gnuplot or corrgm. That means you have to create a series, ehat, first. Once this is created, both functions work as expected.

The GUI is even easier in this instance once the model is estimated. The model window offers a way to produce both sets of graphs. Simply choose Graphs>Residual plot>Against time to produce the first. The second is Graphs>Residual correlogram. The latter opens a dialog box allowing you to specify how many autocorrelations to compute. In this example, I set it to 12.

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

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