Review of Unit Root Testing D. A. Dickey North Carolina State University (Previously presented at Purdue Econ Dept.)

Slides:



Advertisements
Similar presentations
SMA 6304 / MIT / MIT Manufacturing Systems Lecture 11: Forecasting Lecturer: Prof. Duane S. Boning Copyright 2003 © Duane S. Boning. 1.
Advertisements

Cointegration and Error Correction Models
Autocorrelation Functions and ARIMA Modelling
Review of Unit Root Testing D. A. Dickey North Carolina State University.
Copyright(© MTS-2002GG): You are free to use and modify these slides for educational purposes, but please if you improve this material send us your new.
Nonstationary Time Series Data and Cointegration
A. The Basic Principle We consider the multivariate extension of multiple linear regression – modeling the relationship between m responses Y 1,…,Y m and.
Using SAS for Time Series Data
Model Building For ARIMA time series
Part II – TIME SERIES ANALYSIS C5 ARIMA (Box-Jenkins) Models
Seasonal Unit Root Tests in Long Periodicity Cases D. A. Dickey Ying Zhang.
STATIONARY AND NONSTATIONARY TIME SERIES
Nonstationary Time Series Data and Cointegration Prepared by Vera Tabakova, East Carolina University.
Nonstationary Time Series Data and Cointegration ECON 6002 Econometrics Memorial University of Newfoundland Adapted from Vera Tabakova’s notes.
Non-stationary data series
COINTEGRATION 1 The next topic is cointegration. Suppose that you have two nonstationary series X and Y and you hypothesize that Y is a linear function.
1 MF-852 Financial Econometrics Lecture 11 Distributed Lags and Unit Roots Roy J. Epstein Fall 2003.
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.
Regression with Time-Series Data: Nonstationary Variables
Time Series Building 1. Model Identification
R. Werner Solar Terrestrial Influences Institute - BAS Time Series Analysis by means of inference statistical methods.
STAT 497 APPLIED TIME SERIES ANALYSIS
How should these data be modelled?. Identification step: Look at the SAC and SPAC Looks like an AR(1)- process. (Spikes are clearly decreasing in SAC.
1 Power Nine Econ 240C. 2 Outline Lab Three Exercises Lab Three Exercises –Fit a linear trend to retail and food sales –Add a quadratic term –Use both.
Modeling Cycles By ARMA
1 Power Nine Econ 240C. 2 Outline Lab Three Exercises Lab Three Exercises –Fit a linear trend to retail and food sales –Add a quadratic term –Use both.
1 Power Nine Econ 240C. 2 Outline Lab Three Exercises Lab Three Exercises –Fit a linear trend to retail and food sales –Add a quadratic term –Use both.
Prediction and model selection
ARIMA Forecasting Lecture 7 and 8 - March 14-16, 2011
Economics 20 - Prof. Anderson
Modern methods The classical approach: MethodProsCons Time series regression Easy to implement Fairly easy to interpret Covariates may be added (normalization)
Non-Seasonal Box-Jenkins Models
L7: ARIMA1 Lecture 7: ARIMA Model Process The following topics will be covered: Properties of Stock Returns AR model MA model ARMA Non-Stationary Process.
BOX JENKINS METHODOLOGY
Box Jenkins or Arima Forecasting. H:\My Documents\classes\eco346\Lectures\chap ter 7\Autoregressive Models.docH:\My Documents\classes\eco346\Lectures\chap.
STAT 497 LECTURE NOTES 2.
Slide 1 DSCI 5340: Predictive Modeling and Business Forecasting Spring 2013 – Dr. Nick Evangelopoulos Lecture 8: Estimation & Diagnostic Checking in Box-Jenkins.
#1 EC 485: Time Series Analysis in a Nut Shell. #2 Data Preparation: 1)Plot data and examine for stationarity 2)Examine ACF for stationarity 3)If not.
* Greatest Hits: Old songs from an old performer No covers of others’ work. Unit Roots Greatest Hits * David A. Dickey – NC State University.
Autoregressive Integrated Moving Average (ARIMA) Popularly known as the Box-Jenkins methodology.
It’s About Time Mark Otto U. S. Fish and Wildlife Service.
John G. Zhang, Ph.D. Harper College
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.
Big Data at Home Depot KSU – Big Data Survey Course Steve Einbender Advanced Analytics Architect.
K. Ensor, STAT Spring 2004 Memory characterization of a process How would the ACF behave for a process with no memory? What is a short memory series?
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.
MULTIVARIATE TIME SERIES & FORECASTING 1. 2 : autocovariance function of the individual time series.
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.
Seasonal Unit Root Tests in Long Periodicity Cases David A. Dickey North Carolina State University U v Tilburg, Tinbergen Inst
Normally Distributed Seasonal Unit Root Tests D. A. Dickey North Carolina State University Note: this presentation is based on the paper “Normally Distributed.
Dynamic Models, Autocorrelation and Forecasting ECON 6002 Econometrics Memorial University of Newfoundland Adapted from Vera Tabakova’s notes.
1 Chapter 5 : Volatility Models Similar to linear regression analysis, many time series exhibit a non-constant variance (heteroscedasticity). In a regression.
The Box-Jenkins (ARIMA) Methodology
Seasonal ARIMA FPP Chapter 8.
Introduction to stochastic processes
Stationarity and Unit Root Testing Dr. Thomas Kigabo RUSUHUZWA.
Two Nonlinear Models for Time Series n David A. Dickey n North Carolina State University n (joint with S. Hwang – Bank of Korea)
Analysis of financial data Anders Lundquist Spring 2010.
1 Lecture Plan : Statistical trading models for energy futures.: Stochastic Processes and Market Efficiency Trading Models Long/Short one.
Advanced Econometrics - Lecture 5 Univariate Time Series Models.
Nonstationary Time Series Data and Cointegration
Chapter 6: Autoregressive Integrated Moving Average (ARIMA) Models
Model Building For ARIMA time series
Applied Econometric Time-Series Data Analysis
CHAPTER 16 ECONOMIC FORECASTING Damodar Gujarati
Understanding Nonstationarity and Recognizing it When You See it
Time Series introduction in R - Iñaki Puigdollers
BOX JENKINS (ARIMA) METHODOLOGY
Presentation transcript:

Review of Unit Root Testing D. A. Dickey North Carolina State University (Previously presented at Purdue Econ Dept.)

Nonstationary Forecast Stationary Forecast

”Trend Stationary” Forecast Nonstationary Forecast

Autoregressive Model AR(1) AR(1) Y t   Y t-1  e t Y t   Y t-1  e t  Y t   Y t-1  e t  Y t   Y t-1  e t where  Y t is Y t  Y t-1 AR(p) Y t     Y t-1    Y t-2  p  Y t-1  e t

AR(1) Stationary  |  –OLS Regression Estimators – Stationary case –Mann and Wald (1940’s) : For |  More exciting algebra coming up ……

AR(1) Stationary  |  –OLS Regression Estimators – Stationary case (1)Same limit if sample mean replaced by   AR(p)  Multivariate Normal Limits

|  |  Y t  Y t-1  e t   Y t-2  e t-1  e t  e t  e t-1   e t-2  …  k-1  e t-k+1  k  Y t-k  Y t  converges for  Var{Y t }      Var{Y t }       But if , then Y t  Y t-1  e t, a random walk. Y t  Y 0  e t  e t-1  e t-2  …  e 1 Var  Y t  Y 0   t    Y t  Y 0 

AR(1) |  E{Y t }  E{Y t }  Var{Y t } is constant Var{Y t } is constant Forecast of Y t+L converges to  (exponentially fast) Forecast error variance is bounded  Y t  Y t-1  e t  Y t  Y 0  Var  Y t  grows without bound Forecast not mean reverting

E = MC 2 

Nonstationary  cases: Case 1:  known (=0) Regression Estimators (Y t on Y t-1 noint ) n /n /n 2

  Nonstationary Recall stationary results: Note: all results independent of  

Where are my clothes? H 0 :  H 1 :  ?

DF Distribution ?? Numerator: e 1 e 2 e 3 … e n e 1 e 1 2 e 1 e 2 e 1 e 3 … e 1 e n e 2 e 2 2 e 2 e 3 … e 2 e n e 3 e 3 2 … e 3 e n : : e n e n 2 Y2e3Y2e3 Y1e2Y1e2 Y n-1 e n … :

Denominator For n Observations: (eigenvalues are reciprocals of each other)

Results: Graph of     and limit : e T A n e = n -2 e T A n e = SAS program: Simulate_Tau.sas

Histograms for n=50:

Extension 1: Add a mean (intercept) New quadratic forms. New distributions Estimator independent of Y 0

Extension 2: Add linear trend New quadratic forms. New distributions Regress Y t on 1, t, Y t-1 annihilates Y 0,  t

The 6 Distributions coefficient n(  j -1) t test  f(t) = 0 mean trend

pr<  f(t) (1,t)  percentiles, n=50 pr<  f(t) (1,t)  percentiles, limit

Higher Order Models “characteristic eqn.” roots 0.5, 0.8 ( < 1) note: (1-.5)(1-.8) = -0.1 stationary: nonstationary

Higher Order Models- General AR(2) roots: (m  )( m  ) = m 2  m  AR(2): ( Y t  ) =  ( Y t-1  )  ( Y t-2  ) + e t nonstationary (0 if unit root) t test same as AR(1). Coefficient requires modification t test  N(0,1) !!

Tests Regress: on (1, t)Y t-1 ( “ADF” test )  -1 (  )  augmenting affects limit distn.  “ does not affect “ “ These coefficients  normal! |   |

Nonstationary Forecast Stationary Forecast Silver example: Demo: Rho_2.sas

Is AR(2) sufficient ? test vs. AR(5). proc reg; model D = Y1 D1-D4; test D2=0, D3=0, D4=0; Source df Coeff. t Pr>|t| Intercept Y t Y t-1 -Y t Y t-2 -Y t Y t-3 -Y t Y t-4 -Y t F 41 3 = 1152 / 871 = 1.32 Pr>F = F 41 3 = 1152 / 871 = 1.32 Pr>F = X

Fit AR(2) and do unit root test Method 1: OLS output and tabled critical value (-2.86) proc reg; model D = Y1 D1; Source df Coeff. t Pr>|t| Intercept X Y t X Y t-1 -Y t Y t-1 -Y t Method 2: OLS output and tabled critical values proc arima; identify var=silver stationarity = (dickey=(1)); Augmented Dickey-Fuller Unit Root Tests Type Lags t Prob<t Zero Mean Single Mean Trend

? First part ACF IACF PACF

Full data ACF IACF PACF

Amazon.com Stock ln(Closing Price) Levels Differences Demo: Rho_3.sas

Augmented Dickey-Fuller Unit Root Tests Type Lags Tau Pr < Tau Zero Mean Single Mean Trend Levels Differences Augmented Dickey-Fuller Unit Root Tests Type Lags Tau Pr<Tau Zero Mean <.0001 Single Mean <.0001 Trend <.0001

Autocorrelation Check for White Noise To Chi- Pr > Lag Square DF ChiSq Autocorrelations Are differences white noise (p=q=0) ?

Amazon.com Stock Volume Levels Differences

Augmented Dickey-Fuller Unit Root Tests Type Lags Tau Pr < Tau Zero Mean Single Mean Trend <.0001 Maximum Likelihood Estimation Approx Parameter Estimate t Value Pr > |t| Lag Variable MU < volume MA1, < volume AR1, < volume AR1, < volume NUM < date To Chi- Pr > Lag Square DF ChiSq Autocorrelations

Amazon.com Spread = ln(High/Low) Levels Differences

Augmented Dickey-Fuller Unit Root Tests Type Lags Tau Pr<Tau Zero Mean Single Mean <.0001 Trend <.0001 Maximum Likelihood Estimation Approx Parm Estimate t Value Pr>|t| Lag Variable MU spread MA1, < spread AR1, < spread AR1, < spread NUM date To Chi- Pr > Lag Square DF ChiSq Autocorrelations

Cointegration –Two nonstationary time series Y t and X t with linear combination aY t +bX t stationary –Example: spread = log(high)-log(low) –a=1, b=-1 –Unit root test shows stationary. More demos: Harley.sasBrewers.sas

S.E. Said: Use AR(k) model even if MA terms in true model. N. Fountis: Vector Process with One Unit Root D. Lee: Double Unit Root Effect M. Chang: Overdifference Checks G. Gonzalez-Farias: Exact MLE K. Shin: Multivariate Exact MLE T. Lee: Seasonal Exact MLE Y. Akdi, B. Evans – Periodograms of Unit Root Processes

H. Kim: Panel Data tests S. Huang: Nonlinear AR processes S. Huh: Intervals: Order Statistics S. Kim: Intervals: Level Adjustment & Robustness J. Zhang: Long Period Seasonal. Q. Zhang: Comparing Seasonal Cointegration Methods.