Vector Time Series Model Representations and Analysis with XploRe



Similar documents
Chapter 6: Multivariate Cointegration Analysis

Chapter 5: Bivariate Cointegration Analysis

Chapter 5. Analysis of Multiple Time Series. 5.1 Vector Autoregressions

Performing Unit Root Tests in EViews. Unit Root Testing

Testing The Quantity Theory of Money in Greece: A Note

THE IMPACT OF EXCHANGE RATE VOLATILITY ON BRAZILIAN MANUFACTURED EXPORTS

Implied volatility transmissions between Thai and selected advanced stock markets

Department of Economics

A Trading Strategy Based on the Lead-Lag Relationship of Spot and Futures Prices of the S&P 500

Chapter 4: Vector Autoregressive Models

Time Series Analysis

TEMPORAL CAUSAL RELATIONSHIP BETWEEN STOCK MARKET CAPITALIZATION, TRADE OPENNESS AND REAL GDP: EVIDENCE FROM THAILAND

Import and Economic Growth in Turkey: Evidence from Multivariate VAR Analysis

Examining the Relationship between ETFS and Their Underlying Assets in Indian Capital Market

Granger Causality between Government Revenues and Expenditures in Korea

Note 2 to Computer class: Standard mis-specification tests

Some useful concepts in univariate time series analysis

ENDOGENOUS GROWTH MODELS AND STOCK MARKET DEVELOPMENT: EVIDENCE FROM FOUR COUNTRIES

Univariate and Multivariate Methods PEARSON. Addison Wesley

Software Review: ITSM 2000 Professional Version 6.0.

Cointegration And Causality Analysis of Government Expenditure And Economic Growth In Nigeria

Analysis and Computation for Finance Time Series - An Introduction

Forecasting the US Dollar / Euro Exchange rate Using ARMA Models

The Relationship Between Crude Oil and Natural Gas Prices

3.1 Stationary Processes and Mean Reversion

Time Series Analysis

Business cycles and natural gas prices

ITSM-R Reference Manual

Testing for Granger causality between stock prices and economic growth

Studying Achievement

Forecasting Stock Market Series. with ARIMA Model

Sales forecasting # 2

Forecasting of Paddy Production in Sri Lanka: A Time Series Analysis using ARIMA Model

Advanced Forecasting Techniques and Models: ARIMA

Unit root properties of natural gas spot and futures prices: The relevance of heteroskedasticity in high frequency data

Explaining Cointegration Analysis: Part II

The Long-Run Relation Between The Personal Savings Rate And Consumer Sentiment

TIME SERIES ANALYSIS

Preholiday Returns and Volatility in Thai stock market

Threshold Autoregressive Models in Finance: A Comparative Approach

Time Series Analysis

TOURISM AS A LONG-RUN ECONOMIC GROWTH FACTOR: AN EMPIRICAL INVESTIGATION FOR GREECE USING CAUSALITY ANALYSIS. Nikolaos Dritsakis

FDI and Economic Growth Relationship: An Empirical Study on Malaysia

Unit Labor Costs and the Price Level

ADVANCED FORECASTING MODELS USING SAS SOFTWARE

IS THERE A LONG-RUN RELATIONSHIP

The VAR models discussed so fare are appropriate for modeling I(0) data, like asset returns or growth rates of macroeconomic time series.

Asian Economic and Financial Review THE EFFECT OF INTEREST RATE, INFLATION RATE, GDP, ON REAL ECONOMIC GROWTH RATE IN JORDAN. Abdul Aziz Farid Saymeh

Using graphical modelling in official statistics

TURUN YLIOPISTO UNIVERSITY OF TURKU TALOUSTIEDE DEPARTMENT OF ECONOMICS RESEARCH REPORTS. A nonlinear moving average test as a robust test for ARCH

Modeling and forecasting regional GDP in Sweden. using autoregressive models

Government bond market linkages: evidence from Europe

SYSTEMS OF REGRESSION EQUATIONS

Empirical Properties of the Indonesian Rupiah: Testing for Structural Breaks, Unit Roots, and White Noise

Rob J Hyndman. Forecasting using. 11. Dynamic regression OTexts.com/fpp/9/1/ Forecasting using R 1

Predictability of Non-Linear Trading Rules in the US Stock Market Chong & Lam 2010

University. Georgia State University. The Viability of Fiscal Policy in South Korea, Taiwan, and Thailand. International Studies Program

Keywords: Baltic stock markets, unit root, Engle-Granger approach, Johansen cointegration test, causality, impulse response, variance decomposition.

Financial Integration of Stock Markets in the Gulf: A Multivariate Cointegration Analysis

TIME SERIES ANALYSIS

A cointegration and causality analysis of Scandinavian stock markets

Department of Economics

Lecture 6: Poisson regression

The Relationship between Life Insurance and Economic Growth: Evidence from India

COINTEGRATION AND CAUSAL RELATIONSHIP AMONG CRUDE PRICE, DOMESTIC GOLD PRICE AND FINANCIAL VARIABLES- AN EVIDENCE OF BSE AND NSE *

Least Squares Estimation

PITFALLS IN TIME SERIES ANALYSIS. Cliff Hurvich Stern School, NYU

The price-volume relationship of the Malaysian Stock Index futures market

Time Series Analysis and Forecasting

MGT 267 PROJECT. Forecasting the United States Retail Sales of the Pharmacies and Drug Stores. Done by: Shunwei Wang & Mohammad Zainal

COURSES: 1. Short Course in Econometrics for the Practitioner (P000500) 2. Short Course in Econometric Analysis of Cointegration (P000537)

Non-Stationary Time Series andunitroottests

Forecasting areas and production of rice in India using ARIMA model

Time Series Analysis

Chapter 9: Univariate Time Series Analysis

How To Model A Series With Sas

Univariate Time Series Analysis; ARIMA Models

16 : Demand Forecasting

Working Papers. Cointegration Based Trading Strategy For Soft Commodities Market. Piotr Arendarski Łukasz Postek. No. 2/2012 (68)

Hedge ratio estimation and hedging effectiveness: the case of the S&P 500 stock index futures contract

Module 5: Multiple Regression Analysis

Serhat YANIK* & Yusuf AYTURK*

Multiple Linear Regression

The Impact of Foreign Aid on Economic Growth of Ethiopia (Through Transmission Channels)

The Orthogonal Response of Stock Returns to Dividend Yield and Price-to-Earnings Innovations

BACKTESTING VALUE AT RISK MODELS IN THE PRESENCE OF STRUCTURAL BREAK ON THE ROMANIAN AND HUNGARIAN STOCK MARKETS

y t by left multiplication with 1 (L) as y t = 1 (L) t =ª(L) t 2.5 Variance decomposition and innovation accounting Consider the VAR(p) model where

THE PRICE OF GOLD AND STOCK PRICE INDICES FOR

Booth School of Business, University of Chicago Business 41202, Spring Quarter 2015, Mr. Ruey S. Tsay. Solutions to Midterm

Comovements of the Korean, Chinese, Japanese and US Stock Markets.

REASSESSMENT OF SUSTAINABILITY OF CURRENT ACCOUNT DEFICIT IN INDIA

The following postestimation commands for time series are available for regress:

Transcription:

0-1 Vector Time Series Model Representations and Analysis with plore Julius Mungo CASE - Center for Applied Statistics and Economics Humboldt-Universität zu Berlin mungo@wiwi.hu-berlin.de plore MulTi

Motivation 1-1 Multiple time series analysis approach involves a frame work for analyzing time series systems and the possible cross relationships among its levels. Modelling such systems entails investigating whether some variables in the system have a tendency to lead others. there is feedbacks between the variables, the question of contemporaneous movements, impulses (shocks, innovations) transfer from one time series to another plore MulTi

Motivation 1-2 The modelling procedure in plore uses the quantlet library MulTi to model a system of multiple time series. how plore MulTi is used to empirically investigate and modell various MTS systems. attention is on Vector Autoregressive (VAR) and the Vector Equilibrium Correction (ECM) models representations and modelling. Granger & Newbold ( 1986) plore MulTi

Motivation 1-3 Outline 1. Motivation 2. plore Quantlib MulTi 3. Modelling Time Dependent Factor Loadings from a DSFM for IV String Dynamics 4. Summary 5. References plore MulTi

plore Quantlib MulTi 2-1 MulTiplot.xpl Generates a MTS plot from a k-dimensional time series data, allowing for the series transformation, with graphics, plots and their properties to be investigated MulTiplot01.xpl plore MulTi

plore Quantlib MulTi 2-2 MulTifr.xpl For general analysis of the Full VAR Model; VAR order selection criteria, parameter estimation, Residual Analysis, Structural Analysis and Forecasting. MulTifr02.xpl plore MulTi

plore Quantlib MulTi 2-3 MulTiira.xpl For VAR impulse response analysis 1 library (" multi ") 2 x= read (" mts. dat ") 3 MulTiira (x,4,"m " " Y " " I") MulTiira01.xpl plore MulTi

plore Quantlib MulTi 2-4 MulTirr.xpl For Reduced Rank VAR analysis MulTiss.xpl General analysis for a Subset VAR Model MulTici.xpl General analysis for cointegration plore MulTi

VAR modelling with plore 3-1 VAR modelling plore specifies a k-dimensional VAR(p) model of the form Y t = υ + A 1 Y t 1 + A 2 Y t 2 +,..., +A p Y t p + ε t (1) Y t = (Y 1t,..., Y kt ) are observable vectors of k endogenous variables υ = (υ 1,..., υ k ) is a vector of intercept terms, A i are (K K) coefficient matrices ε t is a white noise with covariance matrix Σ ε > 0 plore MulTi

Modelling Time Dependent Factor Loadings 4-1 Modelling Time Dependent Factor Loadings from a DSFM for IV String Dynamics The DSFM is represented by Y i,j = m o ( i,j ) + l β i,l m l ( i,j ) + ɛ i,j l=1 m l are smooth basis function (l = 0, 1,..., L) i,j are two dimensional covariables β i,l are weights of m l depending on time i β i = (β i,1, β i,2,..., β i,l ) t (Fengler et al (2004)) form an observed MTS plore MulTi

time time time Time series plots for the beta coeff. series ( - 2003) MTSplot.xpl Beta1 coeff. time plot number sold(thousands) 0.5 1 1.5 Beta2 coeff. time plot number sold(thousands) -0.3-0.2-0.1 0 0.1 Beta3 coeff. time plot number sold(thousands)*e-2-10 -5 0 5 10

Modelling Time Dependent Factor Loadings 4-3 Min. Max. Mean Median Stdd. Skewn. Kurt. beta1 0.45 1.53 1.16 1.30 0.25-0.820 2.69 beta2-0.28 0.10 0.00 0.00 0.03-0.25 6.94 beta3-0.10 0.13 0.00 0.00 0.03 0.93 5.4 Table 1: Summary statistics for Beta coeff. series beta1 beta2 beta3 beta1 1-0.64-0.05 beta2 1-0.00 beta3 1 Table 2: Contemp. correlation Betasummary.xpl plore MulTi

Y Y Distribution: Beta1 0.5 1 1.5 Distribution: Beta2-0.2-0.1 0 0.1 Distribution: Beta3-10 -5 0 5 10 *E-2 Y 0.5 1 1.5 Y -0.2-0.1 0 0.1 Y*E-2-10 -5 0 5 10 Y Modelling Time Dependent Factor Loadings 4-4 Betadensity.xpl Kernel density (Epanechnikov, h = 0.0815) and boxplot for levels 0.5 1 1.5 0 0.5 1 0 5 10 0 0.5 1 0 5 10 15 0 0.5 1 plore MulTi

0.5 1 1.5 2 Y -0.3-0.2-0.1 0 0.1-10 -5 0 5 10 15 *E-2 Y Modelling Time Dependent Factor Loadings 4-5 0.5 1 1.5 2-0.2-0.1 0 0.1 Y*E-2-10 -5 0 5 10 Figure 1: Q-Q plots of the normal against the emprical quanttiles for the Beta series plore MulTi

acf acf acf Sample autocorrelation function (acf) 0 5 10 15 20 25 30 lag Sample autocorrelation function (acf) 0 5 10 15 20 25 30 lag Sample autocorrelation function (acf) 0 5 10 15 20 25 30 lag pacf pacf pacf Sample partial autocorrelation function (pacf) 5 10 15 20 25 30 lag Sample partial autocorrelation function (pacf) 5 10 15 20 25 30 lag Sample partial autocorrelation function (pacf) Modelling Time Dependent Factor Loadings 4-6 preanalysbetas.xpl 0 0.5 1 0 0.5 1 5 10 15 20 25 30 lag Y 0 0.5 1 0 0.2 0.4 0.6 0.8 0 0.5 1 0 0.5 plore MulTi Figure 2: ACF and PACF of levels

Modelling Time Dependent Factor Loadings 4-7 Testing β i levels for random walk Coeff. Test Deterministic lags testvalue asymptotic crit. values term (David & Mackinnon, (1993)) 1% 5% 10% Beta1 ADF constant 1-2.41-3.44-2.86-2.57 2-2.24-3.44-2.86-2.57 3-2.32-3.44-2.86-2.57 7-2.05-3.44-2.86-2.57 Beta2 ADF constant 1-6.01-3.44-2.86-2.57 2-5.01-3.44-2.86-2.57 3-4.58-3.44-2.86-2.57 4-4.21-3.44-2.86-2.57 5-4.03-3.44-2.86-2.57 7-3.62-3.44-2.86-2.57 Beta3 ADF constant 1-3.49-3.44-2.86-2.57 2-3.32-3.44-2.86-2.57 7-2.87-3.44-2.86-2.57 8-2.85-3.44-2.86-2.57 Table 3: ADF-Test of unitroot for levels series plore MulTi

Modelling Time Dependent Factor Loadings 4-8 coeff. lag test statistic crit. values (Kwiaskowski, (1992)) 1% 5% 10% Beta1 1 const 16.38 0.347 0.463 0.739 2 10.98 0.347 0.463 0.739 3 8.28 0.347 0.463 0.739 7 4.22 0.347 0.463 0.739 Beta2 1 const 29.95 0.347 0.463 0.739 2 15.13 0.347 0.463 0.739 3 11.61 0.347 0.463 0.739 4 9.46 0.347 0.463 0.739 5 8.00 0.347 0.463 0.739 7 6.16 0.347 0.463 0.739 Beta3 1 const 9.61 0.347 0.463 0.739 2 6.47 0.347 0.463 0.739 7 2.52 0.347 0.463 0.739 8 2.25 0.347 0.463 0.739 Table 4: KPSS-Test of stationarity for levels series unitrootest.xpl plore MulTi

Modelling Time Dependent Factor Loadings 4-9 Modelling Beta series Results: At 1% significant level, unit root exist for Beta1 and beta3 at all lags considered Beta2 indicates of some kind of misspecification Beta3 do not reject at 1% level, unit-root null hypothesis. Even at 5% or 10%, rejecting unit root will be marginal. KPSS clearly rejects its null hypothesis of stationarity around a constant plore MulTi

Modelling Time Dependent Factor Loadings 4-10 coeff. shift suggested test statistic crit. values (Lanne et, al(2001)) function break date (shift dummy ) 1% 5% 10% Beta1 2001.11.06-1.58-3.48-2.88-2.58 Beta2 2001.11.06-1.05-3.48-2.88-2.58 Beta3.06.10-3.20-3.48-2.88-2.58 Table 5: Unitroot-Test of stationarity for levels series in the presence of structural break We specify a stationary model with first differences and consider fitting an VAR model, t = ( Beta1, Beta2, Beta3) and determine the autoregressive order for the model plore MulTi

Modelling Time Dependent Factor Loadings 4-11 Beta Time Series Plot Y -0.3-0.2-0.1 0 0.1 0.2 0.3 plore MulTi Figure 3: First difference plot of Beta series

Modelling Time Dependent Factor Loadings 4-12 Order Selection Criteria Final Prediction Error Akaike Information Criterion AIC = ln (n) ε = ln FPE(n) = T + kn + 1 T kn 1 ˆ ˆ (n) ε + 2nK 2 T Schwarz Information Criterion k det( ˆ ε (n)) + 2(the number of freely estimated parameters) T SIC = ln Hannan-Quinnn Information Criterion plore MulTi HQ = ln ˆ (n) ε + lnt T nk 2 ˆ (n) ε + 2ln(lnT ) T nk 2

Modelling Time Dependent Factor Loadings 4-13 order ln(fpe) AIC HQ SC 0-24.35-24.35-24.35-24.35 1-24.62-24.62-24.60-24.58 2-24.67-24.67-24.64-24.59 3-24.69-24.69-24.65-24.56 4-24.69-24.69-24.63-24.52 5-24.60-24.69-24.61-24.47 6-24.71-24.72-24.61-24.45 7-24.70-24.71-24.59-24.41 8-24.69-24.70-24.57-24.36 We choose to apply the order 3 as indicated by HQ. HQ and HC have been justified as consistent, (see, Paulsen(1984) and Tsay(1984)) plore MulTi

Modelling Time Dependent Factor Loadings 4-14 VAR estimates (OLS) with t-values in parenthesis 2 4 Beta1t Beta2 t Beta3 t 3 5 = + + + 2 4 2 4 2 4 0.12(3.24) 0.19(2.30) 0.06( 0.40) 0.09(6.35) 0.07( 17.17) 0.07(1.03) 0.02(2.25) 0.02(1.42) 0.26( 8.24) 3 2 5 0.09( 2.40) 0.04( 0.79) 0.11(0.64) 0.03( 1.58) 0.04(7.94) 0.05( 0.66) 0.00( 0.63) 0.00(0.16) 0.06( 1.89) 0.02( 0.58) 0.13( 1.53) 0.14(+0.83) 0.00(+0.03) 0.12( 3.42) 0.02( 0.26) 0.01( 0.53) 0.02( 1.36) 0.05( 1.52) 2 4 ˆε 1,t ˆε 2,t ˆε 3,t 3 5 4 Beta1 t 1 Beta2 t 1 Beta3 t 1 3 2 5 3 2 5 3 5 4 Beta1 t 2 Beta2 t 2 Beta3 t 2 4 Beta1 t 3 Beta2 t 3 Beta3 t 3 3 5 3 5 plore MulTi

Modelling Time Dependent Factor Loadings 4-15 Covariance matrix of residuals +1.58 0.35 0.07 ˆΣ ε = 0.35 +0.36 0.01 +0.07 0.01 +0.06 Correlation matrix of residuals ˆ Corr(ε t ) = 1.00 0.46 +0.23 +1.00 0.12 +1.00 The correlation matrix indicates that there is some contemporaneous correlation structure in the residual vector. Not all elements of the parameter matrices are significantly different from zero. Especially the coefficients for Beta1 t 3. plore MulTi

Modelling Time Dependent Factor Loadings 4-16 Model Validation (i) Multivariate Portmanteau test for autocorrelation H 0 : E(ε t ε t i) = 0, i = 1,..., h H 1 : at least one autocovariance (autocorrelation) is non zero Test statistic: (Ljung & Box (1978)) h Qp = T 2 1 { T i tr C i C 1 i=1 C i = T 1 0 C i T t=i+1 ε t ε t i } C0 1 χ 2 k 2 (h p) C 0 and C i are the contemporaneous correlations and autocovariance of residuals respectively plore MulTi

Modelling Time Dependent Factor Loadings 4-17 (ii) Testing for ARCH effects Test for neglected conditional heteroscedasticity (ARCH) based on fitting ARCH(q) model to the estimated residuals. ˆε 2 t = β 0 + β 1ˆε 2 t 1 + + β q ˆε 2 t q + error t H 0 : β 1 = = β q = 0, (no ARCH effects) H 1 : β 1 0 or... or β q 0 plore MulTi

Modelling Time Dependent Factor Loadings 4-18 Lagrange Multiplier (LM) statistic: (see, Engle (1982)) The R 2 form, test statistic: ARCH LM = 1 2 ˆε t ˆε χ 2 q T R 2 χ 2 q R 2 is the squared multiple R 2 value of the regression of ˆε 2 t on an intercept and q lagged values of ˆε 2 t ARCHtest.xpl plore MulTi

Modelling Time Dependent Factor Loadings 4-19 (iii) Testing for Nonnormality H 0 : E(µ s t) 3 = 0 & E(µ s t) 3 = 0 H 1 : E(µ s t) 3 0 & E(µ s t) 3 0 Test statistic: (Jarque and Bera (1987)) JB = T 6 ( T ) 2 ( T 1 (ˆµ s t) 3 + T T T 1 (ˆµ s 24 t) 4 3 t=1 The test displays the χ 2 -statistics associated with the skewness and kurtosis of the standardized residuals for testing nonnormality. t=1 ) 2 plore MulTi

Modelling Time Dependent Factor Loadings 4-20 Test Q3 JB 3 MARCH LM (3) Test statistic 188.39 15.49 980.39 p-value 0.02 0.00 0.00 Table 6: Diagnostic tests for AR(3) models The tests hypothesis is rejected for p-values smaller than 0.05. Results show some autocorrelation in the residuals and the presence of heteroscedastic effects in the conditional variance. We therefore maintain that there is some ARCH effects in model residuals. plore MulTi

Summary 5-21 Summary Testing for ARCH effects reveal neglected conditional heteroscedasticity. This gives an indication of fitting an ARCH or ARCH type model. Observing that not all elements of the estimated VAR parameter matrices are significantly different from zero, we could choose a subset VAR model where single elements of the estimated coefficient matrices are restricted to zero. plore MulTi

References 6-22 References G.C Reinsel Elements of Multivariate Time Series Anylysis. Springer Verlag, New York, 1993. W. Härdle, Z. Hlávka and S. Klinke plore Application Guide Springer-Verlag, Heidelberg, 2000. H. Lütkepohl Introduction to Multiple Time Series Analysis. Springer Verlag,1993. K. Patterson An Introduction to Applied Econometrics a time series approach. Macmillan Press Ltd, 2000. plore MulTi