Using gret l for Principles of Econometrics, 4th Edition


In this section we consider forecasting using 3 different models, an AR model, an ARDL model, and an exponential smoothing model. The examples focus on short-term forecasting, typically up to 3 periods into the future.

9.8.1 Forecasting with an AR model

Suppose that it is the 3rd quarter in 2009 and have estimated the AR(2) model of GDP growth using data up to and including 2009:3. In this section the use of an AR(2) model to forecast the next three periods is discussed and forecast confidence intervals are generated.

The AR(2) model in terms of its unknown coefficients

gt = S + digt-i + 92gt-2 + vt (9.14)

Denoting the last sample observation as gT, the task is to forecast gT+1, gT+2, and gT+з - The value of the next observation beyond the available sample is

gT+1 = S + ві gT + %t -1 + vt+1 (9.15)

Growth rates for the 2 most recent quarters are GT = G200g:3 = 0.8, and gT-1 = g2oo9:2 = -0.2, which with the estimated values of the parameters is used to make a forecast of gT+1 = g200g:4.

gT+1 =S + e1gT + e2gT-1

=0.46573 + 0.37700 x 0.8 + 0.24624 x (-0.2)


Once the model is estimated it is easy to compute this forecast.

1 open "@gretldirdatapoeokun. gdt"

2 ols g(0 to -2) const —robust —quiet

Using this model to forecast in gretl is very simple. The main decision you have to make at this point is how many periods into the future you want to forecast. In gretl you have to extend the sample to include future periods under study.

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

Using gret l for Principles of Econometrics, 4th Edition


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 — Рашид - продажи новинок
Схема проезда к производственному офису:
Схема проезда к МСД

Партнеры МСД

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

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

За услуги или товары возможен прием платежей Онпай: Платежи ОнПай