Stationarity and Unit Root Testing Dr. Thomas Kigabo RUSUHUZWA.

Slides:



Advertisements
Similar presentations
Cointegration and Error Correction Models
Advertisements

Autocorrelation Functions and ARIMA Modelling
Regression with Time Series Data
Nonstationary Time Series Data and Cointegration
Long run models in economics Professor Bill Mitchell Director, Centre of Full Employment and Equity School of Economics University of Newcastle Australia.
Economics 20 - Prof. Anderson1 Stationary Stochastic Process A stochastic process is stationary if for every collection of time indices 1 ≤ t 1 < …< t.
Using SAS for Time Series Data
STATIONARY AND NONSTATIONARY TIME SERIES
Nonstationary Time Series Data and Cointegration Prepared by Vera Tabakova, East Carolina University.
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
STAT 497 LECTURE NOTES 5 UNIT ROOT TESTS.
Unit Root Tests: Methods and Problems
Nonstationary Time Series Data and Cointegration ECON 6002 Econometrics Memorial University of Newfoundland Adapted from Vera Tabakova’s notes.
Non-stationary data series
Economics 20 - Prof. Anderson1 Time Series Data y t =  0 +  1 x t  k x tk + u t 2. Further Issues.
1 MF-852 Financial Econometrics Lecture 11 Distributed Lags and Unit Roots Roy J. Epstein Fall 2003.
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.
Augmented Dickey-Fuller Test Equation Dependent Variable: D(LGDPI) Method: Least Squares Sample (adjusted): Included observations: 44 after adjustments.
Regression with Time-Series Data: Nonstationary Variables
FITTING MODELS WITH NONSTATIONARY TIME SERIES 1 Detrending Early macroeconomic models tended to produce poor forecasts, despite having excellent sample-period.
10 Further Time Series OLS Issues Chapter 10 covered OLS properties for finite (small) sample time series data -If our Chapter 10 assumptions fail, we.
STAT 497 APPLIED TIME SERIES ANALYSIS
Stationary Stochastic Process
The Multiple Regression Model Prepared by Vera Tabakova, East Carolina University.
Economics Prof. Buckles1 Time Series Data y t =  0 +  1 x t  k x tk + u t 1. Basic Analysis.
1Prof. Dr. Rainer Stachuletz Testing for Unit Roots Consider an AR(1): y t =  +  y t-1 + e t Let H 0 :  = 1, (assume there is a unit root) Define 
ARIMA Forecasting Lecture 7 and 8 - March 14-16, 2011
Economics 20 - Prof. Anderson
Non-Seasonal Box-Jenkins Models
14 Vector Autoregressions, Unit Roots, and Cointegration.
12 Autocorrelation Serial Correlation exists when errors are correlated across periods -One source of serial correlation is misspecification of the model.
Regression Method.
STAT 497 LECTURE NOTES 2.
Random Regressors and Moment Based Estimation Prepared by Vera Tabakova, East Carolina University.
The Properties of Time Series: Lecture 4 Previously introduced AR(1) model X t = φX t-1 + u t (1) (a) White Noise (stationary/no unit root) X t = u t i.e.
Week 21 Stochastic Process - Introduction Stochastic processes are processes that proceed randomly in time. Rather than consider fixed random variables.
How do we identify non-stationary processes? (A) Informal methods Thomas 14.1 Plot time series Correlogram (B) Formal Methods Statistical test for stationarity.
3.Analysis of asset price dynamics 3.1Introduction Price – continuous function yet sampled discretely (usually - equal spacing). Stochastic process – has.
Auto Regressive, Integrated, Moving Average Box-Jenkins models A stationary times series can be modelled on basis of the serial correlations in it. A non-stationary.
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)
Previously Definition of a stationary process (A) Constant mean (B) Constant variance (C) Constant covariance White Noise Process:Example of Stationary.
TESTING FOR NONSTATIONARITY 1 This sequence will describe two methods for detecting nonstationarity, a graphical method involving correlograms and a more.
TESTING FOR NONSTATIONARITY 1 This sequence will describe two methods for detecting nonstationarity, a graphical method involving correlograms and a more.
Time Series Analysis PART II. Econometric Forecasting Forecasting is an important part of econometric analysis, for some people probably the most important.
Copyright © 2015 John, Wiley & Sons, Inc. All rights reserved. W ALTER E NDERS, U NIVERSITY OF A LABAMA A PPLIED E CONOMETRIC T IME S ERIES 4 TH ED. W.
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 3 Stephen G Hall Stationarity. NON-STATIONARY TIME SERIES OVER THE LAST DECADE OR SO WE HAVE BEGUN TO UNDERSTAND THAT ECONOMETRIC ANALYSIS OF.
Stochastic Process - Introduction
Financial Econometrics Lecture Notes 4
REGRESSION DIAGNOSTIC III: AUTOCORRELATION
Nonstationary Time Series Data and Cointegration
Financial Econometrics Lecture Notes 2
MODEL IDENTIFICATION.
Further Issues Using OLS with Time Series Data
Applied Econometric Time-Series Data Analysis
CHAPTER 16 ECONOMIC FORECASTING Damodar Gujarati
Further Issues in Using OLS with Time Series Data
STATIONARY AND NONSTATIONARY TIME SERIES
Unit Roots 31/12/2018.
Unit Root & Augmented Dickey-Fuller (ADF) Test
Introduction to Time Series
Further Issues Using OLS with Time Series Data
Lecturer Dr. Veronika Alhanaqtah
CH2 Time series.
BOX JENKINS (ARIMA) METHODOLOGY
Presentation transcript:

Stationarity and Unit Root Testing Dr. Thomas Kigabo RUSUHUZWA

Non Stationarity Testing  Various definitions of non-stationarity exist  There are two models which have been frequently used to characterize non- stationarity:  the random walk process with drift: Y t =  + Y t-1 + u t where ut is iid;  and the deterministic trend process: Y t =  +  t + u t where ut is iid;

Trend stationarity  yt = α + βt + εt; εt ~ (0,σ2) where βt is a linear trend  The mean and variance are: E(y) = α + βt (a function of time); var(y) = σ 2 ( not a function of time)  the process is stationary around the time trend : E(y - βt) = α

Trend stationarity ( CTD)  removing the time trend leads to (trend) stationarity in the series;  To do that we can: include a deterministic time trend as one of the regressors in the model; this defines another variable with its time trend removed (i.e., save the residuals from a regression of the variable on a time trend) ; The regression model will then operate with stationary series with constant means and variances

Trend stationary data and differencing  One may be tempted to try first-differencing all non stationary series, since it may be hard to tell if they are unit root processes or just trend stationary  For instance, a first difference of the trend stationary process gives: yt – yt-1 = β + εt – εt-1  Is this an improvement? The time trend is gone, but the errors are now an MA(1) process

Testing for unit roots The Dickey-Fuller unit root test  The most common unit root test is the Dickey-Fuller test  Write the zero-mean AR(1) process: yt = ρyt-1 + εt (1)  subtract yt-1 from both sides: yt – yt-1 = (1 – L)yt = Δyt = (ρ – 1)yt-1 + εt (2) The (one-sided) test corresponds to whether the coefficient on the lagged value on the right-hand side, (ρ – 1), is zero versus less than zero

CTD  When the null hypothesis, (ρ – 1) = 0 or, equivalently, ρ = 1, is true, (1) reduces to: Δyt = εt  such that Δyt is stationary, meaning that yt in levels is a random walk and thus non- stationary  H0 is rejected if the t-statistic is smaller than the relevant critical value –  this statistic does not have the conventional t- distribution

CTD  The DF test is based on the assumption that εt is white noise, i.e., serially uncorrelated  The augmented DF (ADF(p)) test: Δyt = μ + ρ0yt-1 + ρ1Δyt-1 + … + ρk-1Δyt-(k- 1) + εt (3)  uses additional lags of the dependent variable to get rid of serial correlation

Selecting the proper lag length  The choice of additional lags may be based on information criteria or a sequential testing procedure:  Hall (1994) showed than when the order p in the AR(p) model for yt is selected through t- tests on the ρ1 to ρk-1 parameters in (3) (or via an application of the information criteria), the relevant DF statistics still apply

Dealing with serial correlation  The Phillips-Perron unit root test  Rather than using (long) autoregressions to approximate general (serially) dependent processes, the unit root tests due to Phillips and Perron (1988) adjust for serial correlation non-parametrically

CTD  Phillips-Perron tests have the same limiting null distribution as the DF distribution and therefore the same critical values  But this test relies on asymptotic theory, which means that large samples (i.e., long data series) are required for it work well

Testing for unit roots The Dickey-Fuller unit root test  Under H0, the model for yt is: Δyt = μ + ρ1Δyt-1 + … + ρk-1Δyt-(k-1) + εt (4) which is an AR(k-1) in the first difference Δyt  Thus, if yt has a (single) unit root, then Δyt is a stationary  Because of this property, we say that if yt is nonstationary, but Δdyt is stationary, then yt is integrated of order d (denoted yt ~ I(d)) or has d unit roots

CTD  A (non-stationary) variable is said to be integrated of order d, denoted I(d), if it needs to be differenced d times to achieve stationarity;  The order of differencing depends on the number of unit roots - this means that, for example, an I(1) variable needs to be differenced once to achieve stationarity and that it has only one unit root

CTD Some observations: deterministic regressors  Potential models are:  Δyt = μ + δt + (ρ - 1)yt-1 + … + εt (6) where:  μ = δ = 0 is referred to as a model without drift;  δ = 0 is referred to as a model with drift; and otherwise as a model with trend  The test is not accurate if the original data series contains a constant and/or a trend

CTD  The key problem in practice is that: tests for unit roots are conditional on the presence of deterministic regressors; and tests for the presence of the deterministic regressors are conditional on the presence of a unit root

CTD  Campbell and Perron (1991) illustrated that researchers may fail to reject the null hypothesis of a unit root because of a misspecification concerning the deterministic part of the regression

Unit Root Testing Summary of Dickey-Fuller Tests

Unit Root Testing: Using E-views '-CONSTRUCTION DES DIFFERENCES PREMIERES SMPL 1999:1 2012:3 GENR DLGDP = LGDP-LGDP(-1) '-ESTIMATION DU MODELE LIBRE EQUATION MOD3.LS DLGDP C LGDP(-1) DLGDP(- SCALAR SCALAR '-ESTIMATION DU MODELE CONTRAINT EQUATION MOD3C.LS DLGDP C LGDP(-1) DLGDP(-1) SCALAR '-CONSTRUCTION DE LA STATISTIQUE F3 SCALAR F3=((SCR3C-SCR3)/2)/(SCR3/NDL)

Unit Root Testing -CONSTRUCTION DES DIFFERENCES PREMIERES SMPL 1999:1 2012:3 GENR DLGDP = LGDP-LGDP(-1) '-ESTIMATION DU MODELE LIBRE EQUATION MOD2.LS DLGDP C LGDP(-1) DLGDP(-1) SCALAR SCALAR '-ESTIMATION DU MODELE CONTRAINT EQUATION MOD2C.LS DLGDP LGDP(-1) DLGDP(-1) SCALAR '-CONSTRUCTION DE LA STATISTIQUE F2 SCALAR F2=((SCR2C-SCR2)/2)/(SCR2/NDL)

Power of unit root tests  power of a test is equal to the probability of rejecting a false null hypothesis given a sample of finite size  It may be difficult to reject the null hypothesis of unit root using ADF test when is close to one

The KPSS unit root test  Kwiatkowski et al. (1992) proposed a test (generally referred to as the KPSS test) that instead of testing for the presence of a unit roots tests for the absence of one  the null hypothesis is that the series under investigation is stationary

Unit root tests with more power  The test due to Elliott et al. (1996) ERS showed that it is possible to enhance the power of a unit root test by estimating the model using something close to first differences, which is called local GLS detrending  Instead of creating the first difference of yt, ERS preselect a constant close to unity, α, and subtract αyt-1 from yt

CTD  The value of α that seems to provide the best power is α = (1 – 7/T) for the case of an intercept and α = (1 – 13.5/T) if is an intercept and trend;  ERS then estimate the basic ADF regression using the local GLS detrended data, denoted ytd:

CTD

 The lag length m is selected using the information criteria ( BIC) and the null hypothesis of a unit root can be rejected of