Financial Econometrics

Similar documents
Volatility. Gerald P. Dwyer. February Clemson University

ECONOMICS 7200 MODERN TIME SERIES ANALYSIS Econometric Theory and Applications

Financial Econometrics

Nonlinear Time Series

Nonlinear Time Series and Financial Applications

A Test of the GARCH(1,1) Specification for Daily Stock Returns

Is the Basis of the Stock Index Futures Markets Nonlinear?

Econ 423 Lecture Notes: Additional Topics in Time Series 1

Week 5 Quantitative Analysis of Financial Markets Characterizing Cycles

Multivariate Time Series Analysis and Its Applications [Tsay (2005), chapter 8]

Financial Econometrics

FORECASTING IN FINANCIAL MARKET USING MARKOV R MARKOV REGIME SWITCHING AND PRINCIPAL COMPONENT ANALYSIS.

Topic 4 Unit Roots. Gerald P. Dwyer. February Clemson University

Do Markov-Switching Models Capture Nonlinearities in the Data? Tests using Nonparametric Methods

Financial Econometrics

White Noise Processes (Section 6.2)

The Size and Power of Four Tests for Detecting Autoregressive Conditional Heteroskedasticity in the Presence of Serial Correlation

Stochastic Processes

Theodore Panagiotidis*^ and Gianluigi Pelloni**

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY

Chapter 8: Model Diagnostics

Arma-Arch Modeling Of The Returns Of First Bank Of Nigeria

GARCH Models. Eduardo Rossi University of Pavia. December Rossi GARCH Financial Econometrics / 50

For the full text of this licence, please go to:

1 Linear Difference Equations

Goodness-of-Fit Tests for Time Series Models: A Score-Marked Empirical Process Approach

9) Time series econometrics

The autocorrelation and autocovariance functions - helpful tools in the modelling problem

University of Pretoria Department of Economics Working Paper Series

Thomas J. Fisher. Research Statement. Preliminary Results

FE570 Financial Markets and Trading. Stevens Institute of Technology

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY

Applied time-series analysis

Testing for Regime Switching in Singaporean Business Cycles

Econometric Forecasting

ECON3327: Financial Econometrics, Spring 2016

Vector autoregressions, VAR

Prof. Dr. Roland Füss Lecture Series in Applied Econometrics Summer Term Introduction to Time Series Analysis

Fractal structure in the Chinese yuan/us dollar rate. Abstract. Grande Do Sul, Brazil

6. The econometrics of Financial Markets: Empirical Analysis of Financial Time Series. MA6622, Ernesto Mordecki, CityU, HK, 2006.

A Non-Parametric Approach of Heteroskedasticity Robust Estimation of Vector-Autoregressive (VAR) Models

Introduction to Econometrics

International Symposium on Mathematical Sciences & Computing Research (ismsc) 2015 (ismsc 15)

Diagnostic Test for GARCH Models Based on Absolute Residual Autocorrelations

Switching Regime Estimation

Note: The primary reference for these notes is Enders (2004). An alternative and more technical treatment can be found in Hamilton (1994).

NONLINEAR DYNAMICS BEHAVIOR IN THE REIT INDUSTRY: A PRE- AND POST-1993 COMPARISON

ECONOMETRIC REVIEWS, 5(1), (1986) MODELING THE PERSISTENCE OF CONDITIONAL VARIANCES: A COMMENT

Econometría 2: Análisis de series de Tiempo

Using EViews Vox Principles of Econometrics, Third Edition

AR, MA and ARMA models

GARCH Models Estimation and Inference

TIME SERIES DATA ANALYSIS USING EVIEWS

A Comparison of Business Cycle Regime Nowcasting Performance between Real-time and Revised Data. By Arabinda Basistha (West Virginia University)

Econometrics. Week 4. Fall Institute of Economic Studies Faculty of Social Sciences Charles University in Prague

ARIMA Modelling and Forecasting

If we want to analyze experimental or simulated data we might encounter the following tasks:

Purchasing power parity: A nonlinear multivariate perspective. Abstract

NONLINEAR MODEL SPECIFICATION/DIAGNOSTICS: INSIGHTS FROM A BATTERY OF NONLINEARITY TESTS 1

The Chaotic Marriage of Physics and Finance

Generalized Autoregressive Score Models

CHAPTER 8 MODEL DIAGNOSTICS. 8.1 Residual Analysis

Dynamic Risk Measures and Nonlinear Expectations with Markov Chain noise

13. Estimation and Extensions in the ARCH model. MA6622, Ernesto Mordecki, CityU, HK, References for this Lecture:

Lecture 6: Univariate Volatility Modelling: ARCH and GARCH Models

Time-Varying Vector Autoregressive Models with Structural Dynamic Factors

Econ 424 Time Series Concepts

Threshold models: Basic concepts and new results

This note introduces some key concepts in time series econometrics. First, we

Forecasting the term structure interest rate of government bond yields

A Guide to Modern Econometric:

Empirical Market Microstructure Analysis (EMMA)

DEPARTMENT OF ECONOMICS

Econometric modeling of the relationship among macroeconomic variables of Thailand: Smooth transition autoregressive regression model

Identifying Aggregate Liquidity Shocks with Monetary Policy Shocks: An Application using UK Data

ECO 513 Fall 2009 C. Sims HIDDEN MARKOV CHAIN MODELS

Stock Prices, News, and Economic Fluctuations: Comment

A Bivariate Threshold Time Series Model for Analyzing Australian Interest Rates

Romanian Economic and Business Review Vol. 3, No. 3 THE EVOLUTION OF SNP PETROM STOCK LIST - STUDY THROUGH AUTOREGRESSIVE MODELS

TIMES SERIES INTRODUCTION INTRODUCTION. Page 1. A time series is a set of observations made sequentially through time

Stat 5100 Handout #12.e Notes: ARIMA Models (Unit 7) Key here: after stationary, identify dependence structure (and use for forecasting)

Technical Appendix-3-Regime asymmetric STAR modeling and exchange rate reversion

1 Bewley Economies with Aggregate Uncertainty

Non-Stationary Time Series and Unit Root Testing

Research Article The Laplace Likelihood Ratio Test for Heteroscedasticity

On Generalized Arbitrage Pricing Theory Analysis: Empirical Investigation of the Macroeconomics Modulated Independent State-Space Model

EC4051 Project and Introductory Econometrics

Revisiting linear and non-linear methodologies for time series prediction - application to ESTSP 08 competition data

Sample Exam Questions for Econometrics

News Shocks: Different Effects in Boom and Recession?

Appendix A: The time series behavior of employment growth

TAKEHOME FINAL EXAM e iω e 2iω e iω e 2iω

Vector Autoregression

Vector Auto-Regressive Models

Intervention Analysis and Transfer Function Models

Labor-Supply Shifts and Economic Fluctuations. Technical Appendix

Advanced Econometrics

Time Series 3. Robert Almgren. Sept. 28, 2009

Time Series Models for Measuring Market Risk

Structural VAR Models and Applications

Transcription:

Financial Econometrics Nonlinear time series analysis Gerald P. Dwyer Trinity College, Dublin January 2016

Outline 1 Nonlinearity Does nonlinearity matter? Nonlinear models Tests for nonlinearity Forecasting Summary Conclusion

What does nonlinear mean? A time series is linear if its evolution can be summarized as y t = µ + i=0 ψ i ε t i where the sequence {ε t i } is independent and identically distributed ARCH models are nonlinear, as are stochastic volatility models Linear in mean function though Wold s theorem tells us that any stationary stochastic process has the representation y t = δ t + i=0 w i e t i where δ t is deterministic and the sequence {e t i } has constant variance and is serially uncorrelated This representation does not necessarily capture all of the predictable features of the data That is, ARMA models are not the beginning and end of data analysis

Does nonlinearity matter? Unemployment rate in U.S. The Great Moderation: U.S. Unemployment Rate January 1948 to December 2015 12 10 8 6 5.0 4 2 0 1/1/48 1/1/53 1/1/58 1/1/63 1/1/68 1/1/73 1/1/78 1/1/83 1/1/88 1/1/93 1/1/98 1/1/03 1/1/08 1/1/13 Sources: BLS, NBER, Haver Analytics

Does nonlinearity matter for financial economics? Unemployment rate is not time reversible Not so obvious for returns High and changing volatility Depends on data being examined and question being asked Zumbach has forcefully argued that asset returns are not time reversible In another context, think of arbitrage between the cash and futures prices of some asset For example, S&P 500 futures in U.S. in the 1980s How futures and cash prices change to become equal is likely to depend on how far cash is from futures Arbitrage not worthwhile if there is little difference, arbitrage worthwhile if there is a large difference Suggests possibly faster convergence to futures and cash prices being equal when deviations are bigger Dwyer, Locke and Yu (1996) Nonlinear Time Series and Financial Applications (2003) available at www.jerrydwyer.com summarizes some material

Futures Price less Fair Value of Future Cash Arbitrage between futures and cash values of S&P 500 Figure 4 S&P 500 Futures and Cash and Rough Estimate of Transactions Costs February 13, 1989 0.002 0.001 0.000 0.001 0.002 0.003 basis upper transaction cost bound lower transaction cost bound 50 300 550 800 1050 1300 1550 1800 Observation number

Arbitrage between futures and cash The logarithm of the basis is b t = t f T p t where t f T is the logarithm of the futures price at t expiring at T, p t is the fair value of the cash price at t including dividends and interest A linear characterization might be b t = βb t 1 + ε t, 0 < β < 1 E ε t = 0, E ε 2 t = σ 2, E ε t ε s = 0 t = s Implied behavior when basis is nonzero is to converge at the rate β

Threshold autoregression for basis Threshold autoregression b t = β u b t 1 + ε t b t = β c b t 1 + ε t b t = β l b t 1 + ε t if c < b t d if c < b t d < c if b t d < c β u, β c, and β l allowing for different speeds of convergence c divides the deviations of the basis into regions based on the size of the deviation from zero d is the delay between the time that the basis deviates from zero by some amount and the change in behavior occurs Estimated parameters are β u, β c, and β l, c, d and the variance of ε t In actual application, the equations are more complicated A vector error correction mechanism in the futures and cash prices

Median impulse response to a unit shock from futures market

Which nonlinear model? There are an infinite number of possible alternative nonlinear models Some relatively readable references Bendat, Julius S. 1990. Nonlinear System Analysis and Identification from Random Data. New York: John Wiley & Sons. Bendat, Julius S. 1998. Nonlinear System Techniques and Applications. New York: John Wiley & Sons, Inc. Priestley, M. B. 1988. Non-linear and Non-stationary Time Series Analysis. London: Academic Press. Ramsey, James B. 1990. Economic and Financial Data as Nonlinear Processes, in The Stock Market: Bubbles, Volatility, and Chaos, edited by Gerald P. Dwyer, Jr. and R. W. Hafer, pp. 81-134. Boston: Kluwer Academic Publishers. Tong, Howell. 1990. Non-linear Time Series: A Dynamical Systems Approach. Oxford: Clarendon Press.

How to choose which nonlinear model Let subject matter guide the choice of type of nonlinearity For example, threshold autoregression above when analyzing arbitrage Obviously, you want some familiarity with different nonlinear models to make choice A short selection Threshold autoregression Smooth transition autoregression Bilinear model Markov switching model

Threshold autoregression Threshold autoregressions can be thought of as piecewise linear models If you use enough regimes, you probably can characterize almost anything reasonably well That s actually not very comforting because you have to estimate the regimes A k-regime self-exciting threshold autoregression for regime j is y t = ϕ j 0 + ϕj 1 y t 1 +... + ϕ j py t p + ε j t if γ j 1 y t d < γ j where j = 1,..., k is the regime ϕ j i are parameters in regime j d { is } the delay (d > 0) ε j t is an iid sequence with zero mean and variance σj 2 γ j are the thresholds that determine the regime Called self-exciting because values of the variable being examined (y t here) determine the regime

Smooth transition autoregression (STAR) Discontinuity across regimes not always appealing STAR model for two regimes y t = c 0 + p i=1 ( ) yt d ( φ 0,i y t 1 + F c 1 + s p i=1 φ 2,i y t 1 ) + ε t d is the delay parameter and s are parameters representing the location and scale that affects model transition (define z t = y t d s ) F () is a smooth transition function to determine the weight given to p c 1 + φ 2,i y t 1 i=1 F () can be a logistic function or an exponential function or a cumulative distribution function F () usually is bounded between zero and one 1 Logistic F () = 1+exp( γz t ) Exponential F () = 1 exp ( zt 2 )

Bilinear model Bilinear model y t = c + p i=1 φ i y t 1 + q j=1 θ j ε t j + m s i=1 j=1 β ij y t i ε t j + a t Includes ARMA terms and products of lagged values and lagged innovations Usually just a few

Markov switching autoregressive model (MSA) Maybe used more in economics (especially macroeconomics) than finance c 1 + y t = c 2 + p i=1 p i=1 φ i,1 y t 1 + ε 1t if s t = 1 φ i,2 y t 1 + ε 2t if s t = 2 The innovation { ε 1 } { } t and ε 1 t are sequences of iid random variables with mean zero and finite variance independent of each other The state s t is 1 or 2 for state 1 or 2 (usually just 2 states) The states are determined by a first-order Markov chain with transitional probabilities Pr (s t = 2 s t 1 = 1) = w 1 Pr (s t = 1 s t 1 = 2) = w 2 1/w 1 and 1/w 2 are the expected durations of the process to stay in each state given that s t is in that state

Hamilton Markov-switching model I The Hamilton model which can be called the Markov Switching Autoregressive Model allows for serially correlated deviations between the actual value and the predicted value and effects of being in a different regime Let which implies µ t (s t ) = β st y t 1 y t = µ t (s t ) + ε t,st In addition to these dynamics, suppose that [1 p i=0 ρ i (s t ) L i ][y t µ t (s t )] = ε t,st

Hamilton Markov-switching model II For p = 1, this implies y t = µ t (s t ) + ρ 1 (s t )[y t 1 µ t 1 (s t 1 )] + ε t,m = β st y t 1 + ρ 1 (s t )[y t 1 µ t 1 (s t 1 )] + ε t,m This specification implies that past errors in past states y t 1 µ t 1 (s t 1 ) affect the current dynamics This model commonly is used to estimate the probability of two states of the economy, which might be called recession and not recession The model then is used to predict the probability of a recession

Other nonlinear models Kernel regressions y t = m (y t j ) + ε t m (y t j ) is some function of lagged values of variable in the neighborhood of similar values Simple example: Suppose the set of lagged values is only the first lag, y t 1, and there are repeated observations on a value of y t 1,.01 ±.001 Then m (y t 1 ) is the average y t 1 when y t 1 =.01 ±.001 Can get more complicated and allowing for weighting but that s the basic idea Neural networks Approximating function to arbitrary functions Very general but not easy to disentangle into meaningful components

Tests for nonlinearity Many such tests, no single best one in all circumstances Tests Power of test depends on the alternative Probably best to pick tests partly based on what sort of nonlinearity is plausible There are many such tests and I mention the tests that may be most common McLeod-Li Bispectral test BDS test Ramsey RESET test Time reversibility test

McLeod-Li test McLeod-Li test is based on the Ljung-Box test applied to squared residuals Q (m) = T (T + 2) m i=1 ρ 2 i T i where ρ 2 i is the lag i autocorrelation of the squared residuals if an ARMA(p,q) model Under the null hypothesis, Q (m) A χ 2 m p q Similarly, could do Engle regression test for conditional heteroskedasticity Possibly most powerful at determining whether conditional heteroskedasticity is important

Bispectal test The bispectral test has a null hypothesis of linearity and normality of the errors of some specified model Basic idea is very simple: If a time series is linear and normal, then higher-order moments are zero Use spectral analysis to examine this in detail Beyond the scope of this course to go into details on it Test is easy to use Richard Ashley and Douglas Patterson have implemented it in a convenient program available from them Melvin Hinich (1982) introduced the test Test works well in practice

BDS test Brock, Dechert and Scheinkman (BDS) proposed a test motivated by chaos theory Null hypothesis is that a series is iid Basic idea is very simple: If a time series is iid, then the series should be spread evenly over the space of values If the series is not iid, values can cluster around each other Test applies this not only to distance between one residual and other residuals but also distance between a set of values and other sets of values Measures closeness by least upper bound and then counts observations that are at least within a distance δ of each other Test works well in practice

RESET test Test is due to James Ramsey (1969) Introduced as a general specification test for whether a regression is correctly specified Two regressions are used to examine the specification Run a regression, say an autoregression on one lagged value y t 1, and get residuals e t and predicted values ŷ t Run a second regression of the first regression s residuals e t on the right-hand-side variables in the first regression y t 1 and on powers of the predicted values ŷ t, that is, ŷt 2, ŷt 3,... If the first regression is adequate, then the coefficients of the lagged values and the powers of the predicted values should all be zero If the first regression is adequate, an F-statistic for the second regression has an F distribution with appropriate degrees of freedom

Time reversibility tests Distribution of innovations is invariant to reversal of time indices if the series is normally distributed and the equation is correctly specified TR test (Ramsey and Rothman 1996) Motivation Consider unemployment rate with gradual decreases, apparently unpredictable changes, and sharp increases in recessions These sharp increases appear in the residuals if the estimated relationship does not predict sharp increases These sharp increases appear as sharp decreases if the time direction is reversed The distribution of the residuals is not invariant to the time direction if the estimated relationship is not adequate Seems to work reasonably well in practice

Unemployment rate and time reversibility Unemployment rate in U.S. would have gradual increases and fast increases if time ran backwards The Great Moderation: U.S. Unemployment Rate January 1948 to December 2015 12 10 8 6 5.0 4 2 0 1/1/48 1/1/53 1/1/58 1/1/63 1/1/68 1/1/73 1/1/78 1/1/83 1/1/88 1/1/93 1/1/98 1/1/03 1/1/08 1/1/13 Sources: BLS, NBER, Haver Analytics

Forecasting with nonlinear models Deriving forecasts from a nonlinear model is more complicated than for a linear model Two issues The forecasts depend on the initial conditions and the evolution generally cannot be summarized by sets of statistics The existence of different states, e.g. in the threshold model or Markov switching model, increases this dependence on the precise initial state It is difficult to say what is typical

Summary While ARMA and ARCH models are informative, they are not the last word in time-series analysis Many time series have characteristics that are not reflected in ARMA and straightforward ARCH and GARCH models Time reversibility Nonlinear relationships between prices and returns There are an infinite number of possible nonlinear models Let the subject matter determine which nonlinear models are likely to be informative There are a variety of tests for nonlinearity Let the form of the nonlinearity expected determine what test to use Or just estimate the nonlinear model and examine whether it has a better fit than a linear model by a well-defined test

Conclusion Nonlinear models can be informative but are complicated to estimate More judgment involved than in estimating a linear regression Judgment can be more important when nonlinearity is important