Top Banner
THE GOVERNMENT OF THE REPUBLIC OF SLOVENIA INSTITUTE OF MACROECONOMIC ANALYSIS AND DEVELOPMENT Iasi, 26 SEPTEMBER 2008 Forecasting macroeconomic Forecasting macroeconomic variables with dynamic factor variables with dynamic factor models – The case of Slovenia models – The case of Slovenia Marko Glažar Marko Glažar
21

Forecasting macroeconomic variables with dynamic factor models – The case of Slovenia

Feb 04, 2016

Download

Documents

Nur Saniyatul

Iasi , 26 SEPTEMBER 2008. Forecasting macroeconomic variables with dynamic factor models – The case of Slovenia. Marko Glažar. Outline. Introduction Theoretical background Data Results Pseudo out-of-sample analysis Past forecasts compared to realization Conclusion. Introduction. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Forecasting macroeconomic variables with dynamic factor models  –  The case of Slovenia

THE GOVERNMENT OF THE REPUBLIC OF SLOVENIAINSTITUTE OF MACROECONOMIC ANALYSIS AND

DEVELOPMENT

Iasi, 26 SEPTEMBER 2008

Forecasting macroeconomic Forecasting macroeconomic variables with dynamic factor variables with dynamic factor models – The case of Sloveniamodels – The case of Slovenia

Marko GlažarMarko Glažar

Page 2: Forecasting macroeconomic variables with dynamic factor models  –  The case of Slovenia

INSTITUTE OF MACROECONOMIC ANALYSIS AND DEVELOPMENTOutline

Introduction Theoretical background Data Results

– Pseudo out-of-sample analysis– Past forecasts compared to realization

Conclusion

Page 3: Forecasting macroeconomic variables with dynamic factor models  –  The case of Slovenia

INSTITUTE OF MACROECONOMIC ANALYSIS AND DEVELOPMENT

IntroductionIntroduction Dynamic factor models (DFM)

– Used for forecasting, business cycle investigation, monetary policy

– IMAD uses DFM for forecasting growth of GDP and components– The forecasts are not official, used as a support for experts’

forecast

– The DFM approach was developed for IMAD by Igor Masten, University of Ljubljana, Faculty of Economics

– The model is more thoroughly described in IMAD working paper

Page 4: Forecasting macroeconomic variables with dynamic factor models  –  The case of Slovenia

INSTITUTE OF MACROECONOMIC ANALYSIS AND DEVELOPMENT

Theoretical backgroundTheoretical background

Nttt yyy ,...,1

ittiit ufLy )( )(,...,)( 1 LL irii

rttt fff ,...,1

Nttt uuu ,...,1

ittit ufy N ,...,1

• N series, vector in time t

• Each element can be represented as:

• vector lag polynomial – dynamic factor loading

• vector of r common factors

• idiosyncratic disturbance

• if is of a finite order q =1, then

• where

)(Li

Dynamic r – factor model:

Page 5: Forecasting macroeconomic variables with dynamic factor models  –  The case of Slovenia

INSTITUTE OF MACROECONOMIC ANALYSIS AND DEVELOPMENT

Theoretical backgroundTheoretical background The disturbances are unobserved and it holds:

( ) 0tE u 2 21( ) ( ,..., )t t NE u u diag

( ) 0tE f ( )t tE f f ( ) 0t tE f u

1

1 2,...,

1 1

min ( ) ( )T

N T

f f it i ti t

NT y f

1rT f f I

s.t.

For the strict factor model it holds:

A dynamic factor model can be estimated by principal components

For a known number of factors we have a nonlinear least square problem:

Page 6: Forecasting macroeconomic variables with dynamic factor models  –  The case of Slovenia

INSTITUTE OF MACROECONOMIC ANALYSIS AND DEVELOPMENT

Theoretical backgroundTheoretical background Approximate dynamic model:

– Allowed weak serial correlation of the idiosyncratic errors– Idiosyncratic errors may be cross-correlated and heteroscedastic– Allowed weak correlation among factors and idiosyncratic components

Forecasting models:

h – forecast horizon

hhttt

tht fLyLy )()(

Page 7: Forecasting macroeconomic variables with dynamic factor models  –  The case of Slovenia

INSTITUTE OF MACROECONOMIC ANALYSIS AND DEVELOPMENT

Relative mean squared error is the measure for comparison of the models

hT

Tt

htht

hht

hT

Tt

hthti

hht

YY

YYMSE

2

1

2

1

2

|,0

2

|,

ˆ

ˆ

MSE of the factor models is compared to the MSE of the AR model in the pseudo out-of-sample analysis

Theoretical backgroundTheoretical background Altogether we have 158 different models. Differentiated by:

• Number of factors, unbalanced or balanced panel• Inclusion of the AR component• Inclusion of the factor lags• Inclusion of the intercept correction

Page 8: Forecasting macroeconomic variables with dynamic factor models  –  The case of Slovenia

INSTITUTE OF MACROECONOMIC ANALYSIS AND DEVELOPMENT

DataData Dataset consists of 80 quarterly series, from 1994:

– National account data– Survey data – confidence indicators– Prices– Foreign trade– Production indices– Labour market– Financial variables

Sources: Eurostat, Statistical Office of the Republic of Slovenia, Centre for European Economic Research, Bank of Slovenia, Ministry of Finance,…

Page 9: Forecasting macroeconomic variables with dynamic factor models  –  The case of Slovenia

INSTITUTE OF MACROECONOMIC ANALYSIS AND DEVELOPMENT

In sample forecastIn sample forecastinging performance performance In sample forecasts for GDP growth one horizon ahead, performance of the

best factor model (relative MSE = 0.48) and AR model

Page 10: Forecasting macroeconomic variables with dynamic factor models  –  The case of Slovenia

INSTITUTE OF MACROECONOMIC ANALYSIS AND DEVELOPMENT

In sample forecastIn sample forecastinging performance performance In sample forecasts for GDP growth one horizon ahead, performance of the

best factor model (relative MSE = 0.48) and AR model

Page 11: Forecasting macroeconomic variables with dynamic factor models  –  The case of Slovenia

INSTITUTE OF MACROECONOMIC ANALYSIS AND DEVELOPMENT

In sample forecastIn sample forecastinging performance performance In sample forecasts for GDP growth one horizon ahead, performance of the

best factor model (relative MSE = 0.48) and AR model

Page 12: Forecasting macroeconomic variables with dynamic factor models  –  The case of Slovenia

INSTITUTE OF MACROECONOMIC ANALYSIS AND DEVELOPMENT

In sample forecastIn sample forecastinging performance performance In sample forecasts for GDP growth 4 horizons ahead, performance of the

best factor model (relative MSE = 0.29) and AR model

Page 13: Forecasting macroeconomic variables with dynamic factor models  –  The case of Slovenia

INSTITUTE OF MACROECONOMIC ANALYSIS AND DEVELOPMENT

In sample forecastIn sample forecastinging performance performance In sample forecasts for GDP growth 4 horizons ahead, performance of the

best factor model (relative MSE = 0.29) and AR model

Page 14: Forecasting macroeconomic variables with dynamic factor models  –  The case of Slovenia

INSTITUTE OF MACROECONOMIC ANALYSIS AND DEVELOPMENT

In sample forecastIn sample forecastinging performance performance In sample forecasts for GDP growth 4 horizons ahead, performance of the

best factor model (relative MSE = 0.29) and AR model

Page 15: Forecasting macroeconomic variables with dynamic factor models  –  The case of Slovenia

INSTITUTE OF MACROECONOMIC ANALYSIS AND DEVELOPMENT

In sample forecastIn sample forecastinging performance performance In sample forecasts for INDUSTRIAL PRODUCTION growth one horizon

ahead, performance of the best factor model (relative MSE = 0.69) and AR model

Page 16: Forecasting macroeconomic variables with dynamic factor models  –  The case of Slovenia

INSTITUTE OF MACROECONOMIC ANALYSIS AND DEVELOPMENT

In sample forecastIn sample forecastinging performance performance In sample forecasts for INDUSTRIAL PRODUCTION growth one horizon

ahead, performance of the best factor model (relative MSE = 0.69) and AR model

Page 17: Forecasting macroeconomic variables with dynamic factor models  –  The case of Slovenia

INSTITUTE OF MACROECONOMIC ANALYSIS AND DEVELOPMENT

In sample forecastIn sample forecastinging performance performance In sample forecasts for INDUSTRIAL PRODUCTION growth one horizon

ahead, performance of the best factor model (relative MSE = 0.69) and AR model

Page 18: Forecasting macroeconomic variables with dynamic factor models  –  The case of Slovenia

INSTITUTE OF MACROECONOMIC ANALYSIS AND DEVELOPMENT

ForecastForecastinging performance for performance for annual GDP growthannual GDP growth

Forecasts for the year 2007

Forecasts for the year 2008

Data to Q406 Q107 Q207 Q307DFM forecasts 6.1 6.4 6.3 6.4official IMAD forecasts 4.7 5.8realization 6.1realization after revision 6.8

Data to Q207 Q307 Q407 Q108 Q208DFM forecasts 5.4 5.8 4.2 6.0 5.4official IMAD forecasts 4.6 4.4

Page 19: Forecasting macroeconomic variables with dynamic factor models  –  The case of Slovenia

INSTITUTE OF MACROECONOMIC ANALYSIS AND DEVELOPMENT

Forecasts with DFM for the year 2007 compared to the realization and IMAD official forecasts

ForecastForecastinging performance performance of the of the growth of GDP componentsgrowth of GDP components

Q406 Q107 Q207 Q307 realizationGFCF (seasonaly adjusted) 9.7 19.9 20.5 19.2 17.0GFCF - official IMAD forecasts 5.9 14.5 17.2IMP (seasonaly adjusted) 9.3 10.4 14.6 15.7 14.3IMP - official IMAD forecasts 8.7 14.2 14.1EXP (seasonaly adjusted) 9.6 13.6 14.5 15.1 13.3EXP - official IMAD forecasts 9.7 13.4 13.0

Page 20: Forecasting macroeconomic variables with dynamic factor models  –  The case of Slovenia

INSTITUTE OF MACROECONOMIC ANALYSIS AND DEVELOPMENT

Concluding remarksConcluding remarks With a good dataset DFM perform better than simple AR models

We use additional improvements such as preselection of the

variables and use of lagged series in extracting the factors

Problem with the revisons of the data (by Statistical office)

We use the DFM also for forecasting inflation, using

disaggregated data on CPI components

Page 21: Forecasting macroeconomic variables with dynamic factor models  –  The case of Slovenia

INSTITUTE OF MACROECONOMIC ANALYSIS AND DEVELOPMENT

Reference:

IMAD Working Paper Serieshttp://www.umar.gov.si/en/publications/working_papers

Brezigar Masten A., Glažar M., Kušar J., Masten I.: Forecasting Macroeconomic Variables in Slovenia Using Dynamic Factor Models

Contact:

[email protected]