BCT Lecture 3. Lukas Vacha.

Similar documents
Lecture 5: Unit Roots, Cointegration and Error Correction Models The Spurious Regression Problem

Nonstationary Time Series:

Chapter 2: Unit Roots

Testing for non-stationarity

Univariate, Nonstationary Processes

Modeling Long-Run Relationships

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

SOME BASICS OF TIME-SERIES ANALYSIS

Non-Stationary Time Series and Unit Root Testing

E 4160 Autumn term Lecture 9: Deterministic trends vs integrated series; Spurious regression; Dickey-Fuller distribution and test

Consider the trend-cycle decomposition of a time series y t

Cointegration, Stationarity and Error Correction Models.

11/18/2008. So run regression in first differences to examine association. 18 November November November 2008

E 4101/5101 Lecture 9: Non-stationarity

Economic modelling and forecasting. 2-6 February 2015

Non-Stationary Time Series and Unit Root Testing

Non-Stationary Time Series and Unit Root Testing

Time Series Econometrics 4 Vijayamohanan Pillai N

Time Series Methods. Sanjaya Desilva

10) Time series econometrics

7. Integrated Processes

9) Time series econometrics

CHAPTER 21: TIME SERIES ECONOMETRICS: SOME BASIC CONCEPTS

Lecture 2: Univariate Time Series

Response surface models for the Elliott, Rothenberg, Stock DF-GLS unit-root test

Lecture 6a: Unit Root and ARIMA Models

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

Empirical Market Microstructure Analysis (EMMA)

7. Integrated Processes

Multivariate Time Series

Inflation Revisited: New Evidence from Modified Unit Root Tests

Final Exam November 24, Problem-1: Consider random walk with drift plus a linear time trend: ( t

Econometrics of Panel Data

DEPARTMENT OF ECONOMICS AND FINANCE COLLEGE OF BUSINESS AND ECONOMICS UNIVERSITY OF CANTERBURY CHRISTCHURCH, NEW ZEALAND

EC821: Time Series Econometrics, Spring 2003 Notes Section 9 Panel Unit Root Tests Avariety of procedures for the analysis of unit roots in a panel

Financial Time Series Analysis: Part II

Testing for Unit Roots with Cointegrated Data

Darmstadt Discussion Papers in Economics

Time series: Cointegration

11. Further Issues in Using OLS with TS Data

Financial Econometrics

Unit root problem, solution of difference equations Simple deterministic model, question of unit root

On Consistency of Tests for Stationarity in Autoregressive and Moving Average Models of Different Orders

FE570 Financial Markets and Trading. Stevens Institute of Technology

LM threshold unit root tests

This chapter reviews properties of regression estimators and test statistics based on

ARDL Cointegration Tests for Beginner

Response surface models for the Elliott, Rothenberg, Stock DF-GLS unit-root test

ECON/FIN 250: Forecasting in Finance and Economics: Section 7: Unit Roots & Dickey-Fuller Tests

Unit Root and Cointegration

Econ 424 Time Series Concepts

Introduction to Algorithmic Trading Strategies Lecture 3

Nonstationary time series models

13. Time Series Analysis: Asymptotics Weakly Dependent and Random Walk Process. Strict Exogeneity

Christopher Dougherty London School of Economics and Political Science

A TIME SERIES PARADOX: UNIT ROOT TESTS PERFORM POORLY WHEN DATA ARE COINTEGRATED

Trending Models in the Data

Moreover, the second term is derived from: 1 T ) 2 1

EC408 Topics in Applied Econometrics. B Fingleton, Dept of Economics, Strathclyde University

FinQuiz Notes

Extended Tests for Threshold Unit Roots and Asymmetries in Lending and Deposit Rates

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

Forecasting using R. Rob J Hyndman. 2.3 Stationarity and differencing. Forecasting using R 1

7 Introduction to Time Series

Economtrics of money and finance Lecture six: spurious regression and cointegration

7 Introduction to Time Series Time Series vs. Cross-Sectional Data Detrending Time Series... 15

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

Econ 623 Econometrics II. Topic 3: Non-stationary Time Series. 1 Types of non-stationary time series models often found in economics

Stationarity and cointegration tests: Comparison of Engle - Granger and Johansen methodologies

Cointegration and the joint con rmation hypothesis

1 Augmented Dickey Fuller, ADF, Test

Forecasting: principles and practice 1

Questions and Answers on Unit Roots, Cointegration, VARs and VECMs

1 Quantitative Techniques in Practice

Advanced Econometrics

Econometrics and Structural

Lecture: Testing Stationarity: Structural Change Problem

A PANIC Attack on Unit Roots and Cointegration. July 31, Preliminary and Incomplete

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

Problem set 1 - Solutions

ECON 616: Lecture Two: Deterministic Trends, Nonstationary Processes

Introductory Workshop on Time Series Analysis. Sara McLaughlin Mitchell Department of Political Science University of Iowa

ECONOMETRICS II, FALL Testing for Unit Roots.

Nonsense Regressions due to Neglected Time-varying Means

FINANCIAL ECONOMETRICS AND EMPIRICAL FINANCE -MODULE2 Midterm Exam Solutions - March 2015

LONG MEMORY AND FORECASTING IN EUROYEN DEPOSIT RATES

IS THE NORTH ATLANTIC OSCILLATION A RANDOM WALK? A COMMENT WITH FURTHER RESULTS

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International licence

ECON 4160, Spring term Lecture 12

Multivariate Time Series: VAR(p) Processes and Models

Lecture 8a: Spurious Regression

GLS-based unit root tests with multiple structural breaks both under the null and the alternative hypotheses

The Seasonal KPSS Test When Neglecting Seasonal Dummies: A Monte Carlo analysis. Ghassen El Montasser, Talel Boufateh, Fakhri Issaoui

Stationary and nonstationary variables

Unit-Root Tests and the Burden of Proof

Non-Stationary Time Series, Cointegration, and Spurious Regression

Unit roots in vector time series. Scalar autoregression True model: y t 1 y t1 2 y t2 p y tp t Estimated model: y t c y t1 1 y t1 2 y t2

Convergence of prices and rates of in ation

EC821: Time Series Econometrics, Spring 2003 Notes Section 5 Unit root tests Given the distinction between trend-stationary and unit root processes,

EC327: Financial Econometrics, Spring 2013

Transcription:

BCT Lecture 3 Lukas Vacha vachal@utia.cas.cz

Stationarity and Unit Root Testing Why do we need to test for Non-Stationarity? The stationarity or otherwise of a series can strongly influence its behaviour and properties - e.g. persistence of shocks will be infinite for nonstationary series Spurious regressions. If two variables are trending over time, a regression of one on the other could have a high R 2 even if the two are totally unrelated If the variables in the regression model are not stationary, then it can be proved that the standard assumptions for asymptotic analysis will not be valid. In other words, the usual t-ratios will not follow a t-distribution, so we cannot validly undertake hypothesis tests about the regression parameters.

Two types of Non-Stationarity Weak form or covariance stationarity There are two models which have been frequently used to characterise non-stationarity: the random walk model with drift: y t = µ + y t-1 + u t (1) and the deterministic trend process: y t = α + βt + u t (2) where u t is iid in both cases.

Stochastic Non-Stationarity Note that the model (1) could be generalised to the case where y t is an explosive process: where φ > 1. y t = µ + φy t-1 + u t Typically, the explosive case is ignored and we use φ = 1 to characterise the non-stationarity because φ > 1 does not describe many data series in economics and finance. φ > 1 has an intuitively unappealing property: shocks to the system are not only persistent through time, they are propagated so that a given shock will have an increasingly large influence.

Stochastic Non-stationarity: The Impact of Shocks To see this, consider the general case of an AR(1) with no drift: Let φ take any value for now. y t = φy t-1 + u t (3) We can write: y t-1 = φy t-2 + u t-1 y t-2 = φy t-3 + u t-2 Substituting into (3) yields: y t = φ(φy t-2 + u t-1 ) + u t = φ 2 y t-2 + φu t-1 + u t Substituting again for y t-2 : y t = φ 2 (φy t-3 + u t-2 ) + φu t-1 + u t = φ 3 y t-3 + φ 2 u t-2 + φu t-1 + u t Successive substitutions of this type lead to: y t = φ T y 0 + φu t-1 + φ 2 u t-2 + φ 3 u t-3 +...+ φ T u 0 + u t

The Impact of Shocks for Stationary and Non-stationary Series We have 3 cases: 1. φ <1 φ T 0 as T So the shocks to the system gradually die away. 2. φ =1 φ T =1 T So shocks persist in the system and never die away. We obtain: as T So just an infinite sum of past shocks plus some starting value of y 0. 3. φ >1. Now given shocks become more influential as time goes on, since if φ >1, φ 3 >φ 2 >φ etc.

Detrending a Stochastically Non-stationary Series Going back to our 2 characterisations of non-stationarity, the r.w. with drift: y t = µ + y t-1 + u t (1) and the trend-stationary process y t = α + βt + u t (2) The two will require different treatments to induce stationarity. The second case is known as deterministic non-stationarity and what is required is detrending. The first case is known as stochastic non-stationarity. If we let and L y t = y t-1 so (1-L) y t = y t - L y t = y t - y t-1 If we take (1) and subtract y t-1 from both sides: y t - y t-1 = µ + u t Δy t = µ + u t We say that we have induced stationarity by differencing once.

Detrending a Series: Using the Right Method Although trend-stationary and difference-stationary series are both trending over time, the correct approach needs to be used in each case. If we first difference the trend-stationary series, it would remove the non-stationarity, but at the expense on introducing an MA(1) structure into the errors. Conversely if we try to detrend a series which has stochastic trend, then we will not remove the non-stationarity. We will now concentrate on the stochastic non-stationarity model since deterministic non-stationarity does not adequately describe most series in economics or finance.

Sample Plots for various Stochastic Processes: A White Noise Process

Sample Plots for various Stochastic Processes: A Random Walk and a Random Walk with Drift

Sample Plots for various Stochastic Processes: A Deterministic Trend Process

Autoregressive Processes with differing values of φ (0, 0.8, 1)

Definition of Non-Stationarity Consider again the simplest stochastic trend model: y t = y t-1 + u t or Δy t = u t We can generalise this concept to consider the case where the series contains more than one unit root. That is, we would need to apply the first difference operator, Δ, more than once to induce stationarity. Definition If a non-stationary series, y t must be differenced d times before it becomes stationary, then it is said to be integrated of order d. We write y t I(d). So if y t I(d) then Δ d y t I(0). An I(0) series is a stationary series An I(1) series contains one unit root, e.g. y t = y t-1 + u t

Characteristics of I(0), I(1) and I(2) Series An I(2) series contains two unit roots and so would require differencing twice to induce stationarity. I(1) and I(2) series can wander a long way from their mean value and cross this mean value rarely. I(0) series should cross the mean frequently. The majority of economic and financial series contain a single unit root, although some are stationary and consumer prices have been argued to have 2 unit roots.

How do we test for a unit root? The early and pioneering work on testing for a unit root in time series was done by Dickey and Fuller (Dickey and Fuller 1979, Fuller 1976). The basic objective of the test is to test the null hypothesis that φ =1 in: y t = φy t-1 + u t against the one-sided alternative φ <1. So we have vs. H 0 : series contains a unit root H 1 : series is stationary. We usually use the regression: Δy t = ψy t-1 + u t so that a test of φ=1 is equivalent to a test of ψ=0 (since φ-1=ψ).

Different forms for the DF Test Regressions Dickey Fuller tests are also known as τ tests: τ, τ µ, τ τ. The null (H 0 ) and alternative (H 1 ) models in each case are i) H 0 : y t = y t-1 +u t H 1 : y t = φy t-1 +u t, φ<1 This is a test for a random walk against a stationary autoregressive process of order one (AR(1)) ii) H 0 : y t = y t-1 +u t H 1 : y t = φy t-1 +µ+u t, φ<1 This is a test for a random walk against a stationary AR(1) with drift. iii) H 0 : y t = y t-1 +u t H 1 : y t = φy t-1 +µ+λt+u t, φ<1 This is a test for a random walk against a stationary AR(1) with drift and a time trend.

Computing the DF Test Statistic We can write Δy t =u t where Δy t = y t - y t-1, and the alternatives may be expressed as Δy t = ψy t-1 +µ+λt +u t with µ=λ=0 in case i), and λ=0 in case ii) and ψ=φ-1. In each case, the tests are based on the t-ratio on the y t-1 term in the estimated regression of Δy t on y t-1, plus a constant in case ii) and a constant and trend in case iii). The test statistics are defined as test statistic = The test statistic does not follow the usual t-distribution under the null, since the null is one of non-stationarity, but rather follows a non-standard distribution. Critical values are derived from Monte Carlo experiments in, for example, Fuller (1976).

Critical Values for the DF Test The null hypothesis of a unit root is rejected in favour of the stationary alternative in each case if the test statistic is more negative than the critical value.

The Augmented Dickey Fuller (ADF) Test The tests above are only valid if u t is white noise. In particular, u t will be autocorrelated if there was autocorrelation in the dependent variable of the regression (Δy t ) which we have not modelled. The solution is to augment the test using p lags of the dependent variable. The alternative model in case (i) is now written: The same critical values from the DF tables are used as before. A problem now arises in determining the optimal number of lags of the dependent variable. There are 2 ways - use the frequency of the data to decide - use information criteria

Testing for Higher Orders of Integration Consider the simple regression: We test H 0 : ψ = 0 vs. H 1 : ψ < 0. Δy t = ψy t-1 + u t If H 0 is rejected we simply conclude that y t does not contain a unit root. But what do we conclude if H 0 is not rejected? The series contains a unit root, but is that it? No! What if y t I(2)? We would still not have rejected. So we now need to test H 0 : y t I(2) vs. H 1 : y t I(1) We would continue to test for a further unit root until we rejected H 0. We now regress Δ 2 y t on Δy t-1 (plus lags of Δ 2 y t if necessary). Now we test H 0 : Δy t I(1) which is equivalent to H 0 : y t I(2). So in this case, if we do not reject (unlikely), we conclude that y t is at least I (2).

The Phillips-Perron Test Phillips and Perron have developed a more comprehensive theory of unit root nonstationarity. The tests are similar to ADF tests, but they incorporate an automatic correction to the DF procedure to allow for autocorrelated residuals. The tests usually give the same conclusions as the ADF tests, and the calculation of the test statistics is complex.

Criticism of Dickey-Fuller and Phillips-Perron-type tests Main criticism is that the power of the tests is low if the process is stationary but with a root close to the non-stationary boundary. e.g. the tests are poor at deciding if φ=1 or φ=0.95, especially with small sample sizes. If the true data generating process (dgp) is y t = 0.95y t-1 + u t then the null hypothesis of a unit root should be rejected.

KPSS test The KPSS test (Kwiatkowski, Phillips, Schmidt and Shin, 1992): under the null, the time series is stationary (opposite to the ADF); the alternative is that the series is I(1). Procedure (very briefly): Consider DT process. Use OLS to detrend and demean it, then calculate partial sums of errors. The ST is not removed by by OLS detrending and demeaning. The KPSS tests whether the sum of partial errors is large.