Armando Sánchez Vargas Economics Research Institute UNAM

Slides:



Advertisements
Similar presentations
Statistical Time Series Analysis version 2
Advertisements

Multivariate Cointegartion
Cointegration and Error Correction Models
Dynamic panels and unit roots
Motivation Hard to believe that productivity shocks drive the whole cycle We want to know their importance relative to demand shocks.
Dates for term tests Friday, February 07 Friday, March 07
VAR Models Gloria González-Rivera University of California, Riverside
Structural modelling: Causality, exogeneity and unit roots Andrew P. Blake CCBS/HKMA May 2004.
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.
Vector Autoregressive Models
Using SAS for Time Series Data
STATIONARY AND NONSTATIONARY TIME SERIES
Non-stationary data series
Time Series Econometrics:
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.
Financial Econometrics
Unit Roots & Forecasting
Slide 1 DSCI 5340: Predictive Modeling and Business Forecasting Spring 2013 – Dr. Nick Evangelopoulos Lecture 7: Box-Jenkins Models – Part II (Ch. 9) Material.
Chapter 11 Autocorrelation.
Introduction to Algorithmic Trading Strategies Lecture 3 Pairs Trading by Cointegration Haksun Li
Vector Error Correction and Vector Autoregressive Models
STAT 497 APPLIED TIME SERIES ANALYSIS
Economics Prof. Buckles1 Time Series Data y t =  0 +  1 x t  k x tk + u t 1. Basic Analysis.
Estimating a VAR After making the necessary data transformations, you must define the equations to use in the VAR. Typically, you will use the following.
14 Vector Autoregressions, Unit Roots, and Cointegration.
Academy of Economic Studies DOCTORAL SCHOOL OF FINANCE AND BANKING Bucharest 2003 Long Memory in Volatility on the Romanian Stock Market Msc Student: Gabriel.
Cointegrating VAR Models and Probability Forecasting: Applied to a Small Open Economy Gustavo Sánchez April 2009.
Big Data at Home Depot KSU – Big Data Survey Course Steve Einbender Advanced Analytics Architect.
Lecture 12 Time Series Model Estimation
STAT 497 LECTURE NOTE 11 VAR MODELS AND GRANGER CAUSALITY 1.
STAT 497 LECTURE NOTE 12 COINTEGRATION.
Dynamic Models, Autocorrelation and Forecasting ECON 6002 Econometrics Memorial University of Newfoundland Adapted from Vera Tabakova’s notes.
EC208 – Introductory Econometrics. Topic: Spurious/Nonsense Regressions (as part of chapter on Dynamic Models)
1 Chapter 5 : Volatility Models Similar to linear regression analysis, many time series exhibit a non-constant variance (heteroscedasticity). In a regression.
Previously Definition of a stationary process (A) Constant mean (B) Constant variance (C) Constant covariance White Noise Process:Example of Stationary.
Module 4 Forecasting Multiple Variables from their own Histories EC 827.
Stats Term Test 4 Solutions. c) d) An alternative solution is to use the probability mass function and.
Financial Econometrics – 2014 – Dr. Kashif Saleem 1 Financial Econometrics Dr. Kashif Saleem Associate Professor (Finance) Lappeenranta School of Business.
Univariate Time series - 2 Methods of Economic Investigation Lecture 19.
Stationarity and Unit Root Testing Dr. Thomas Kigabo RUSUHUZWA.
Lecture 5 Stephen G. Hall COINTEGRATION. WE HAVE SEEN THE POTENTIAL PROBLEMS OF USING NON-STATIONARY DATA, BUT THERE ARE ALSO GREAT ADVANTAGES. CONSIDER.
Lecture 12 Time Series Model Estimation Materials for lecture 12 Read Chapter 15 pages 30 to 37 Lecture 12 Time Series.XLSX Lecture 12 Vector Autoregression.XLSX.
Dr. Thomas Kigabo RUSUHUZWA
E NTE PER LE N UOVE TECNOLOGIE L’ E NERGIA E L’ A MBIENTE The causality between energy consumption and economic growth: A multi-sectoral analysis using.
An Introduction to Error Correction Models (ECMs)
Time Series Econometrics
Team Kenya.
Team Kenya.
Financial Econometrics Lecture Notes 4
ECO 400 Vector Error Correction Models (VECM)
Spurious Regression and Simple Cointegration
VAR models and cointegration
Ch8 Time Series Modeling
ECO 400-Time Series Econometrics VAR MODELS
Team Kenya.
Applied Econometric Time-Series Data Analysis
CHAPTER 16 ECONOMIC FORECASTING Damodar Gujarati
STATIONARY AND NONSTATIONARY TIME SERIES
COINTEGRATION AND ERROR CORRECTION MODELS
Spurious Regression and Simple Cointegration
Spurious Regression and Simple Cointegration
Unit Root & Augmented Dickey-Fuller (ADF) Test
Introduction to Time Series
Vector AutoRegression models (VARs)
VAR Models Gloria González-Rivera University of California, Riverside
Identification when data are nonstationary
Load forecasting Prepared by N.CHATHRU.
BOX JENKINS (ARIMA) METHODOLOGY
Presentation transcript:

Armando Sánchez Vargas Economics Research Institute UNAM SVAR Modeling in STATA Armando Sánchez Vargas Economics Research Institute UNAM

I.- Motivation Stata is a powerful and flexible statistical package for modeling time series. Prospective and advanced users would want to know: SVAR modeling facilities the package offers. The main advantages of Stata compared with other time series packages. What is still needed and what might be refined to implement the whole SVAR methodology in Stata.

II.- Objectives The main purpose of this presentation is to discuss STATA´s capability to implement the entire SVAR methodology with non-stationary series. A second objective is to discuss what is needed to improve the implementation of SVAR models in STATA.

III.- SVAR Methodology The main objective of SVAR models is to find out the dynamic responses of economic variables to disturbances by combining time series analysis and economic theory.

III.- SVAR Methodology In the presence of unit roots the structuralisation of a VAR model can take place at three distinct stages:

III.- SVAR Methodology The first step consists of specifying an appropriate VAR representation for the set of variables.* * Which implies to choose the lag order, the cointegration rank and the kind of associated deterministic polynomial and a sensible identification of the space spanned by the cointegrating vectors (Johansen, 1995).

III.- SVAR Methodology (*) In the second step, the “structuralisation” stage, we use the VAR model in its error correction form to identify the short run associations between the variables and their determinants, which are hidden in the covariance matrix of the residuals of such multivariate model. In order to recover the short run model coefficients we can use the variance covariance matrix of the VAR in its error correction form (*) and impose theoretical restrictions. (*)

III.- SVAR Methodology Then, we start with an exactly-identified structure given by the lower triangular decomposition of the variance-covariance matrix of the estimated VAR disturbances and restrict the non-significant parameters to zero moving to a situation of over-identification (i.e).

III.- SVAR Methodology Finally, the short and medium run validity of the model can also be verified by plausible modeling of the instantaneous correlations via impulse response functions.

The model selection strategy

IV.- SVAR Estimation First, we must do misspecification test over VAR, this guarantee a good model; because is very important to have the correctly VAR then to have a good SVAR. After the reduced from VAR representation has been aptly estimated, the researcher is allowed to specify a set of constraints on the A and B matrices.

IV.- SVAR Estimation The SVAR procedure verifies whether the restrictions comply with the rank condition for local identification. This check is carried out numerically by randomly drawing A and B matrices satisfying the restrictions being imposed. At this stage, of the identification condition is met, the procedure SVAR carries out maximum likelihood estimation of the structural VAR parameters by using the score algorithm. In the case of over-identification, the LR test for checking the validity of the over-indentifying restrictions is computed.

IV.- SVAR Estimation Starting from the estimate of the SVAR representation, the procedure VMA estimates the structural VMA and the FEVD parameters, together with their respective asymptotic standard errors. The results of this analysis are then available for being displayed, saved and graphed.

Stata’s capabilities: Univariate Analysis PcGive STATA RATS Graphics yes Autocorrelation Functions Unit Root Test ADF PP KPSS SCP   DF-GLS Note: ADF=Augmented Dickey-Fuller Test. PP=Phillips Perron. KPSS=Kwiatkowski-Phillips-Schmidt-Shin. SCP=Schmidt Phillips. DF-GLS=Dickey-Fuller GLS.

Stata’s capabilities: Model Specification and Estimation PcGive STATA RATS Malcom Automatic Seasonal Dummies yes no Maximum lag Trend polynomial Cointegration ranks Exogenous variables VAR estimation

Stata’s capabilities: Misspecificacion Tests PcGive STATA RATS Single Test Joint Test Normality yes no Homoskedasticity No Autocorrelation Parameters Stability Linearity

Stata’s capabilities: Statistial Inferences based on the model PcGive STATA RATS Maximum lag yes Tests for trend polynomial no Test for joint determination of cointegration rank and deterministic polynomial Trace Test in the I(1) model Tests for r, s in the I(2) model Parameters stability:rank and cointegrating space Roots the Model

Stata’s capabilities: Automatic test PcGive STATA RATS Weak exogeneity test no yes Indentification Granger causality Tests on α y β

Stata’s capabilities: Structural VAR analysis whit stationary and non stationary variables PcGive STATA RATS   Stationary Non stationary Estimation no yes Simulation Graphics

Conclusions Commands are appropiate for basic use. Improvements in routines for advanced users.

Conclusions What is needed: Addition of some other Unit Roots Tests. The VAR capabilities could benefit by the addition of single and joint misspecification tests. Adding a few tests and graphs as automatic output: Tests for trend polynomial, Test for joint determination of cointegration rank and deterministic polynomial, Tests for r, s in the I(2) model, Parameters stability:rank and cointegrating space. Considered the cointegrated SVAR model

Conclusions What might be refined: It should automatically include seasonals. It should automatic include tests in the I(1) model.

Conclusions The VAR, SVAR and VECM commands deal with non stationarity through the prior differencing or the incorporation of deterministic trend or cointegration. Stata needs more flexibility for dealing with non stationary series. In general, Stata is powerful, versatile and well designed program which maybe improved by adding some features and refinements.

Bibliography Alan Yaffe, Robert (2007): Stata 10 (Time series and Forecasting), Journal of Statistical Software, December 2007, volume 23, software review 1, New York. Gottschalk, J. (2001): An Introduction into the SVAR Methodology: Identification, Interpretation and Limitations of SVAR Models, Kiel Institute of World Economics. Amisano & C Gianni (1997): Topics in Structural VAR Econometrics, New York. Dwyer, M. (1998): Impulse Response Priors for Discriminating Structural Vector Autoregressions, UCLA Department of Economics. Krolzig, H. (2003): General to Specific Model Selection Procedures for Structural Vector Auto Regressions. Department of Economics and Nuffield College. No 2003-W15. Sarte, P.D. (1997): On the Identification of Structural Vector Auto Regressions. Federal Reserve Bank of Richmond, Canada, Sum: 45-68.