Cointegrating VAR Models and Probability Forecasting: Applied to a Small Open Economy Gustavo Sánchez April 2009.

Slides:



Advertisements
Similar presentations
FINANCIAL TIME-SERIES ECONOMETRICS SUN LIJIAN Feb 23,2001.
Advertisements

VECM.
Cointegration and Error Correction Models
Dummy Variables and Interactions. Dummy Variables What is the the relationship between the % of non-Swiss residents (IV) and discretionary social spending.
A. The Basic Principle We consider the multivariate extension of multiple linear regression – modeling the relationship between m responses Y 1,…,Y m and.
Computational Statistics. Basic ideas  Predict values that are hard to measure irl, by using co-variables (other properties from the same measurement.
The Multiple Regression Model.
Agata STĘPIEŃ Bilge Kagan OZDEMIR Renata SADOWSKA Winfield TURPIN
Part 12: Asymptotics for the Regression Model 12-1/39 Econometrics I Professor William Greene Stern School of Business Department of Economics.
A.M. Alonso, C. García-Martos, J. Rodríguez, M. J. Sánchez Seasonal dynamic factor model and bootstrap inference: Application to electricity market forecasting.
Technical tips on time series with Stata
Vector Autoregressive Models
Use of Business Tendency Survey Results for Forecasting Industry Production in Slovakia Use of Business Tendency Survey Results for Forecasting Industry.
Advanced Time Series PS 791C. Advanced Time Series Techniques A number of topics come under the general heading of “state-of-the-art” time series –Unit.
Probabilistic & Statistical Techniques Eng. Tamer Eshtawi First Semester Eng. Tamer Eshtawi First Semester
EPI 809/Spring Probability Distribution of Random Error.
Vector Error Correction and Vector Autoregressive Models
Lecture 4 (Chapter 4). Linear Models for Correlated Data We aim to develop a general linear model framework for longitudinal data, in which the inference.
1 BINARY CHOICE MODELS: LOGIT ANALYSIS The linear probability model may make the nonsense predictions that an event will occur with probability greater.
Lecture 9 Today: Ch. 3: Multiple Regression Analysis Example with two independent variables Frisch-Waugh-Lovell theorem.
Linear Regression.
Resampling techniques Why resampling? Jacknife Cross-validation Bootstrap Examples of application of bootstrap.
Introduction to Econometrics The Statistical Analysis of Economic (and related) Data.
Descriptive statistics Experiment  Data  Sample Statistics Experiment  Data  Sample Statistics Sample mean Sample mean Sample variance Sample variance.
1 Review of Correlation A correlation coefficient measures the strength of a linear relation between two measurement variables. The measure is based on.
Identification of the short-run structure The identified cointegration relations are kept fixed at their previously estimated values An identified structure.
So far, we have considered regression models with dummy variables of independent variables. In this lecture, we will study regression models whose dependent.
Prediction and model selection
VAR and VEC Using Stata.
AGEC 622 Mission is prepare you for a job in business Have you ever made a price forecast? How much confidence did you place on your forecast? Was it correct?
14 Vector Autoregressions, Unit Roots, and Cointegration.
Demand Estimation & Forecasting
TESTING A HYPOTHESIS RELATING TO A REGRESSION COEFFICIENT This sequence describes the testing of a hypotheses relating to regression coefficients. It is.
BINARY CHOICE MODELS: LOGIT ANALYSIS
ECON 6012 Cost Benefit Analysis Memorial University of Newfoundland
What is the MPC?. Learning Objectives 1.Use linear regression to establish the relationship between two variables 2.Show that the line is the line of.
Determinants of the velocity of money, the case of Romanian economy Dissertation Paper Student: Moinescu Bogdan Supervisor: Phd. Professor Moisă Altăr.
VI. Evaluate Model Fit Basic questions that modelers must address are: How well does the model fit the data? Do changes to a model, such as reparameterization,
Various topics Petter Mostad Overview Epidemiology Study types / data types Econometrics Time series data More about sampling –Estimation.
Centre of Full Employment and Equity Slide 2 Short-run models and Error Correction Mechanisms Professor Bill Mitchell Director, Centre of Full Employment.
Copyright © 2005 by the McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Managerial Economics Thomas Maurice eighth edition Chapter 7.
Overview of Optimization in Ag Economics Lecture 2.
Identification of the short-run structure The identified cointegration relations are kept fixed at their previously estimated values An identified structure.
M.Sc. in Economics Econometrics Module I Topic 4: Maximum Likelihood Estimation Carol Newman.
Incorporating Uncertainties into Economic Forecasts: an Application to Forecasting Economic Activity in Croatia Dario Rukelj Ministry of Finance of the.
Byron Gangnes Econ 427 lecture 23 slides Intro to Cointegration and Error Correction Models.
Birthweight (gms) BPDNProp Total BPD (Bronchopulmonary Dysplasia) by birth weight Proportion.
1 BINARY CHOICE MODELS: LOGIT ANALYSIS The linear probability model may make the nonsense predictions that an event will occur with probability greater.
1 COMPARING LINEAR AND LOGARITHMIC SPECIFICATIONS When alternative specifications of a regression model have the same dependent variable, R 2 can be used.
Lecture 6 Stephen G Hall MULTIVARIATE COINTEGRATION.
Econometric methods of analysis and forecasting of financial markets Lecture 4. Cointegration.
Lecture 5 Stephen G. Hall COINTEGRATION. WE HAVE SEEN THE POTENTIAL PROBLEMS OF USING NON-STATIONARY DATA, BUT THERE ARE ALSO GREAT ADVANTAGES. CONSIDER.
An Introduction to Error Correction Models (ECMs)
Time Series Econometrics
Financial Econometrics Lecture Notes 4
ECO 400 Vector Error Correction Models (VECM)
Johansen example.
An Introduction to Macroeconometrics: VEC and VAR Models
Ch8 Time Series Modeling
ECO 400-Time Series Econometrics VAR MODELS
CJT 765: Structural Equation Modeling
Chapter 7: Sampling Distributions
CHAPTER 16 ECONOMIC FORECASTING Damodar Gujarati
Introduction to Logistic Regression
Introduction to Econometrics
FORECASTING THE LONG TERM AND
Introduction to Econometrics, 5th edition
MGS 3100 Business Analysis Regression Feb 18, 2016
Presentation transcript:

Cointegrating VAR Models and Probability Forecasting: Applied to a Small Open Economy Gustavo Sánchez April 2009

Summary VEC and Cointegrating VAR Models VEC and Cointegrating VAR Models Estimate Parameters Estimate Parameters Probability Forecasting Probability Forecasting Simulate Forecasts Simulate Forecasts Summary Statistics to estimate Summary Statistics to estimate probabilities of events

Point Forecast and Confidence Interval

Probability of Inflation Greater than 45 Proportion estimationNumber of obs = 225 ProportionStd. Err.[95% Conf. Interval] inf_

Cointegrating VAR models Based on the vector error correction (VEC) model specification. Based on the vector error correction (VEC) model specification. The specification assumes that the economic theory characterizes the long-run equilibrium behavior The specification assumes that the economic theory characterizes the long-run equilibrium behavior The short-run fluctuations represent deviations from that equilibrium. The short-run fluctuations represent deviations from that equilibrium. The short-run and long-run (economic) concepts are linked to the statistical concept of stationarity. The short-run and long-run (economic) concepts are linked to the statistical concept of stationarity.

Cointegrating VAR models Reduced form for a VEC model I(1) Endogenous variables Where: Matrix with coefficients associated to short-run dynamic effects Vectors with coeficients associated to the intercepts and trends Vector with innovations Matrices containing the long-run adjustment coefficients and coefficients for the cointegrating relationships

Cointegrating VAR models Reduced form for a VEC model Identifying α and β requires r 2 restrictions Identifying α and β requires r 2 restrictions (r: number of cointegrating vectors). (r: number of cointegrating vectors). Johansen FIML estimation identifies α and β by imposing r 2 atheoretical restrictions. Johansen FIML estimation identifies α and β by imposing r 2 atheoretical restrictions.

Cointegrating VAR models Garrat et al. (2006) describe the Cointegrating VAR approach: Garrat et al. (2006) describe the Cointegrating VAR approach: Use economic theory to impose restrictions to identify αβ. Use economic theory to impose restrictions to identify αβ. Exact identification is not necessarily achieved by the theoretical restrictions. Exact identification is not necessarily achieved by the theoretical restrictions. Test whether the overidentifying restrictions are valid. Test whether the overidentifying restrictions are valid.

** Restrictions on VEC system ** *** Restrictions on Beta lm1 *** constraint 1 [_ce1]lm1= constraint 6 [_ce1]ltipp906bn=0 *** Restrictions on Beta lmt *** constraint 8 [_ce2]lmt= constraint 11 [_ce2]ltipp906bn=0 *** Restrictions on alpha *** constraint 12 [D_loilp]l._ce1=0 constraint 13 [D_loilp]l._ce2=0 ** VEC specification ** vec lm1 lmt lcpi loilp ltcpn lxt ltipp906bn lgdp/// if tin(1991q1,2008Q4), lags(2) rank(2)/// bconstraints(1/11) aconstraints(12/13)/// noetable

Vector error-correction model Sample: 1991q q4 No. of obs = 72 AIC = Log likelihood = HQIC = Det(Sigma_ml) = 1.51e-18 SBIC = Cointegrating equations Equation Parms chi2 P>chi _ce _ce Identification: beta is overidentified Identifying constraints: ( 1) [_ce1]lm1 = 1 ( 2) [_ce1]lmt = 0 ( 3) [_ce1]lxt = 0 ( 4) [_ce1]loilp = 0 ( 5) [_ce1]lcpi = 0 ( 6) [_ce1]ltipp906bn = 0 ( 7) [_ce2]lm1 = 0 ( 8) [_ce2]lmt = 1 ( 9) [_ce2]lxt = 0 (10) [_ce2]ltcpn = 0 (11) [_ce2]ltipp906bn = 0

beta | Coef. Std. Err. z P>|z| [95% Conf. Interval] _ce1 | lm1 | lmt | (dropped) lcpi | (dropped) loilp | (dropped) ltcpn | lxt | (dropped) ltipp906bn | (dropped) lgdp | _cons | _ce2 | lm1 | (dropped) lmt | lcpi | loilp | ltcpn | (dropped) lxt | (dropped) ltipp906bn | (dropped) lgdp | _cons |

*** Point Forecast *** fcast compute y_, step(4) keepy_lm1 y_lmt y_lcpi/// y_loilp y_ltcpn y_lxt/// y_ltipp906bn y_lgdp quarter keep if tin(2009q1,2009q4) save "filename"

** Residuals from the VEC equations ** foreach x of varlist lm1 lmt lxt loilp/// ltcpn lcpi/// ltipp906bn lgdp{ predict res_`x' if e(sample),/// residuals/// equation(D_`x') }

Probability Forecasting It is basically an estimation of the probability that a single or joint event occurs. It is basically an estimation of the probability that a single or joint event occurs. We could define the event in terms of the levels of one or more variables, for one or more future time periods. We could define the event in terms of the levels of one or more variables, for one or more future time periods. It is associated to the uncertainty inherent to the predictions produced by regression models. It is associated to the uncertainty inherent to the predictions produced by regression models.

Probability Forecasting This methodology can be applied to a wide diversity of models. Our focus here is on the predictions from a cointegrating VAR model. This methodology can be applied to a wide diversity of models. Our focus here is on the predictions from a cointegrating VAR model. In general, forecasting based on econometric models are subject to: In general, forecasting based on econometric models are subject to: Future uncertainty Future uncertainty Parameters uncertainty Parameters uncertainty Model uncertainty Model uncertainty Measurement and policy uncertainty Measurement and policy uncertainty

Probability Forecasting Future and parameter uncertainty Future and parameter uncertainty Let’s consider the standard linear regression model: Let’s consider the standard linear regression model: Where

Probability Forecasting Future and parameter uncertainty Future and parameter uncertainty For example, for σ 2 known we could simulate For example, for σ 2 known we could simulate ; j=1,2,…,J ; s=1,2,…,S Where: j-th random draw from s-th random draw from which is independent from the random draw for

Probability Forecasting Computations for VAR cointegrating models Computations for VAR cointegrating models Let’s consider the VEC model Let’s consider the VEC model Non-Parametric Approach 1.Simulated errors are drawn from in sample residuals 2. The Choleski decomposition for the estimated Var-Cov matrix of the error term is used in a two-stage procedure combined with the simulated errors in (1).

** Matrix for Simulation (First Stage, Pag.167 ) ** matrix sigma=e(omega) /* V-C Matrix of the residuals */ matrix P=cholesky(sigma) mkmat res_lm1 res_lmt res_lxt res_loilp /// res_ltcpn res_lcpi /// res_lgdp res_ltipp906bn /// if tin(1991q1,2008q4),/// matrix(res) matrix invP_res=inv(P)*res' matrix invP_rs1=invP_res‘ svmat invP_rs1,names(col)

** Program for Residual Resampling ** program mysim_np, rclass preserve bsample 4 if tin(1991q1,2008q4) /* 4 frcst. per. */ mkmat IP_R_D_lm1 IP_R_D_lm IP_R_D_lcpi/// IP_R_D_loilp IP_R_D_ltcpn IP_R_D_lxt/// IP_R_D_ltipp906bn IP_R_D_lgdp,/// matrix(IP_R) matrix PE_tr=P*IP_R' matrix PE=PE_tr' svmat PE,names(col) ● ● ●

****** Simulation ****** simulate “varlist", rep(###)/// saving("filename",replace):/// mysim_np command: mysim_np s_lm1_1: r(res_lm1_1) s_lm1_2: r(res_lm1_2) ● ● ● ● ● ● ● ● ● s_lgdp_3: r(res_lgdp_3) s_lgdp_4: r(res_lgdp_4) Simulations (###) ─┼─ 1 ─┼─ 2 ─┼─ 3 ─┼─ 4 ─┼─ ● ● ● ● ● ● ● ● ●

**** Probability Forecasting **** generate dgdp=gdp/gdp2008* /// if year==2009 & /// replication>0 generate inf=cpi/cpi2008* /// if year==2009 & /// replication>0 generate gdp_n__inf45=cond(dgdp 45,1,0) proportion gdp_n__inf35

Probability of Negative GDP and Inflation>45 Proportion estimationNumber of obs = 225 ProportionStd. Err.[95% Conf. Interval] gdp_1__inf

Cointegrating VAR Models and Probability Forecasting: Applied to a Small Open Economy Gustavo Sánchez April 2009