Univariate, Nonstationary Processes

Similar documents
ARIMA Models. Jamie Monogan. January 16, University of Georgia. Jamie Monogan (UGA) ARIMA Models January 16, / 27

ARIMA Models. Jamie Monogan. January 25, University of Georgia. Jamie Monogan (UGA) ARIMA Models January 25, / 38

BCT Lecture 3. Lukas Vacha.

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

Empirical Market Microstructure Analysis (EMMA)

Chapter 2: Unit Roots

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

Lecture 6a: Unit Root and ARIMA Models

Testing for non-stationarity

Advanced Econometrics

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

Non-Stationary Time Series and Unit Root Testing

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

at least 50 and preferably 100 observations should be available to build a proper model

FE570 Financial Markets and Trading. Stevens Institute of Technology

10) Time series econometrics

SOME BASICS OF TIME-SERIES ANALYSIS

Ch 6. Model Specification. Time Series Analysis

Forecasting using R. Rob J Hyndman. 2.4 Non-seasonal ARIMA models. Forecasting using R 1

Non-Stationary Time Series and Unit Root Testing

9) Time series econometrics

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

Non-Stationary Time Series and Unit Root Testing

Cointegration, Stationarity and Error Correction Models.

Univariate ARIMA Models

Nonstationary Time Series:

MODELING INFLATION RATES IN NIGERIA: BOX-JENKINS APPROACH. I. U. Moffat and A. E. David Department of Mathematics & Statistics, University of Uyo, Uyo

Basics: Definitions and Notation. Stationarity. A More Formal Definition

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

Final Examination 7/6/2011

University of Oxford. Statistical Methods Autocorrelation. Identification and Estimation

Econometrics of Panel Data

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

Christopher Dougherty London School of Economics and Political Science

Trending Models in the Data

MA Advanced Econometrics: Applying Least Squares to Time Series

Decision 411: Class 9. HW#3 issues

5 Autoregressive-Moving-Average Modeling

Review Session: Econometrics - CLEFIN (20192)

Estimation and application of best ARIMA model for forecasting the uranium price.

Empirical Approach to Modelling and Forecasting Inflation in Ghana

Time Series Analysis -- An Introduction -- AMS 586

ECON/FIN 250: Forecasting in Finance and Economics: Section 6: Standard Univariate Models

The Identification of ARIMA Models

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

Economics 618B: Time Series Analysis Department of Economics State University of New York at Binghamton

Intervention Models and Forecasting

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

Author: Yesuf M. Awel 1c. Affiliation: 1 PhD, Economist-Consultant; P.O Box , Addis Ababa, Ethiopia. c.

Oil price volatility in the Philippines using generalized autoregressive conditional heteroscedasticity

Cointegration and Error Correction Exercise Class, Econometrics II

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

Dynamic Time Series Regression: A Panacea for Spurious Correlations

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

Exercises - Time series analysis

Modeling and forecasting global mean temperature time series

Ross Bettinger, Analytical Consultant, Seattle, WA

Lecture 2: Univariate Time Series

Financial Time Series Analysis: Part II

Time Series Econometrics 4 Vijayamohanan Pillai N

Financial Econometrics

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

ECONOMETRIA II. CURSO 2009/2010 LAB # 3

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

Time Series Methods. Sanjaya Desilva

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

TIME SERIES ANALYSIS AND FORECASTING USING THE STATISTICAL MODEL ARIMA

Lesson 13: Box-Jenkins Modeling Strategy for building ARMA models

Vector Autoregression

Econometrics 2, Class 1

Problem set 1 - Solutions

Time series: Cointegration

Analysis. Components of a Time Series

Time Series 4. Robert Almgren. Oct. 5, 2009

Chapter 6: Model Specification for Time Series

Estimating trends using filters

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

1 Augmented Dickey Fuller, ADF, Test

CHAPTER 21: TIME SERIES ECONOMETRICS: SOME BASIC CONCEPTS

Quantitative Finance I

Testing for Unit Roots with Cointegrated Data

2. An Introduction to Moving Average Models and ARMA Models

7. Integrated Processes

Autocorrelation. Jamie Monogan. Intermediate Political Methodology. University of Georgia. Jamie Monogan (UGA) Autocorrelation POLS / 20

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

Economic modelling and forecasting. 2-6 February 2015

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

Part 1. Multiple Choice (40 questions, 1 point each) Part 2. Problems/Short Answer (10 questions, 6 points each)

Circle the single best answer for each multiple choice question. Your choice should be made clearly.

Point-Referenced Data Models

Lecture 8a: Spurious Regression

7. Integrated Processes

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

Univariate linear models

ECON 4160, Spring term Lecture 12

Lecture 3: Autoregressive Moving Average (ARMA) Models and their Practical Applications

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

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

Read Section 1.1, Examples of time series, on pages 1-8. These example introduce the book; you are not tested on them.

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

Transcription:

Univariate, Nonstationary Processes Jamie Monogan University of Georgia March 20, 2018 Jamie Monogan (UGA) Univariate, Nonstationary Processes March 20, 2018 1 / 14

Objectives By the end of this meeting, participants should be able to: Distinguish among varieties of nonstationarity. Run an augmented Dickey-Fuller test. Run a Kwiatkowski, Perron, Schmidt, and Shinn (KPSS) test. Use ARIMA processes to model integrated data. Jamie Monogan (UGA) Univariate, Nonstationary Processes March 20, 2018 2 / 14

The Nature of Nonstationarity Flavors of Nonstationarity All of our models so far have been for stationary series: A series is stationary if the mean and variance are constant over time, and the correlation between two observations depends only on the number of lags between them. When is this false? Two possibilities: 1 When a series is trending. 2 When a series contains a unit root. Figure source: Helmut Thome (2014) Jamie Monogan (UGA) Univariate, Nonstationary Processes March 20, 2018 3 / 14

The Nature of Nonstationarity Intuition About Stationarity Assume that y is a stationary series. That is, it tends to equilibrate to a fixed mean when disturbed. Now three cases for a particular y t 1 y t above equilibrium 2 y t at equilibrium 3 y t below equilibrium What do we expect of the change at t+1, y t+1? Thus we can write y t+1 = βy t + ɛ t. If y is stationary, then our estimated β will always be negative. (Think: How will y respond in each of the three cases?) So a negative β in a setup like this is evidence for stationarity as opposed to a unit root. What would we expect for a nonstationary series? Trend: A non-zero α term here: y t = α + ɛ t. (Because y t = η + αt + ν t.) Unit root: A zero β term here: y t = βy t + ɛ t. (Because y t = y t 1 + ɛ t.) Jamie Monogan (UGA) Univariate, Nonstationary Processes March 20, 2018 4 / 14

The Nature of Nonstationarity Running Example: Macropartisanship Macropartisanship 55 60 65 70 1953 1957 1961 1965 1969 1973 1977 1981 1985 1989 Time Series Level Autocorrelation Function Does theory weigh in on the stationarity of this series? Or not? Jamie Monogan (UGA) Univariate, Nonstationary Processes March 20, 2018 5 / 14

Tests for Unit Roots Unit Root Testing For the AR(1)-like setup: y t = β 0 + β 1 y t 1 + u t It has a unit root if β 1 = 1.0 (exactly). Unit root implies that y is I(1). So we want to test for the null β 1 = 1.0 But if we simply estimate the equation, regression theory tells us that ˆβ 1 will be biased downwards. Hence, we have to get creative in how to test this. Jamie Monogan (UGA) Univariate, Nonstationary Processes March 20, 2018 6 / 14

Tests for Unit Roots Dickey-Fuller The Dickey-Fuller Solution y t = β 0 + γy t 1 + e t, for the null hypothesis that γ = 1.0. Subtract y t 1 from both sides, giving: y t - y t 1 = β 0 + (γ - 1)y t 1 + e t, and set β 1 = γ 1.0. Estimate: y t = β 0 + β 1 y t 1 + e t That is, predict the change in y at t from the level at t-1. Then the null becomes β 1 = 0.0 Now β 1 <0.0 indicates equilibration to the mean (stationarity). Negative and significant β 1 means that we do not have a unit root. Let us be clear: The null hypothesis is nonstationary. A significant result means we have a stationary series. Jamie Monogan (UGA) Univariate, Nonstationary Processes March 20, 2018 7 / 14

Tests for Unit Roots Dickey-Fuller Three Different Cases for Dickey-Fuller Tests From McKinnon s Dickey-Fuller Monte Carlo Estimates 1 y t = β 1 y t 1 + u t (no intercept, random walk) Stata: dfuller y,noconstant 2 y t = β 0 + β 1 y t 1 + u t (with intercept, drift term) Stata: dfuller y 3 y t = β 0 + β 1 y t 1 + β 2 t + u t (with drift and a trend on the difference) Stata: dfuller y,trend R, forms #1-3 all at once: adf.test(y) (library: atsa) Testing Dickey-Fuller We can compute a t for β 1 in the normal way, but it is not t-distributed. Its actual distribution is theoretically unknown. But we have Monte Carlo estimates of it for each of the three cases. Jamie Monogan (UGA) Univariate, Nonstationary Processes March 20, 2018 8 / 14

Tests for Unit Roots Dickey-Fuller What Do These Three Cases Look Like? Figure source: CrossValidated user javlacalle (https://stats.stackexchange.com/questions/104215/ difference-between-series-with-drift-and-series-with-trend) Jamie Monogan (UGA) Univariate, Nonstationary Processes March 20, 2018 9 / 14

Tests for Unit Roots Dickey-Fuller Augmented Dickey-Fuller Test In addition to a standard Dickey-Fuller test there is also an Augmented Dickey-Fuller (ADF) which additionally tests for autoregressive error of specified lag. R: adf.test in atsa gives the regular version and alternatives at various lags Stata: dfuller varname, lags(#) Software reports an approximate p value for the null hypothesis that the series has a unit root. It is only approximate because the true distribution is unknown. The approximation comes from Monte Carlo estimation. Significance means that the unit root hypothesis is rejected, i.e., that the series is stationary. Jamie Monogan (UGA) Univariate, Nonstationary Processes March 20, 2018 10 / 14

Tests for Unit Roots KPSS Test Kwiatkowski, Perron, Schmidt, and Shinn (KPSS) Test Let us be clear: The null hypothesis is stationary. A significant result means we have a nonstationary series. (Reverse of Dickey-Fuller.) Consider this model: y t = βt + η t + a t. η t = η t 1 + µ t. µ t N (0, σµ). 2 a t N (0, 1). Our null hypothesis is H 0 : σµ 2 = 0. If that is true, then our series is trend stationary (or level stationary if β = 0). This means our alternative hypothesis is H A : σµ 2 > 0. If that is true, then our series has a unit root. Procedure: 1 Regress y t against an intercept and a trend (or just an intercept if you want level-stationarity). 2 Save the residuals e t. 3 Compute the statistic: η j = T 2 T t=1 S2 t st 2 (l) S t is the sum of residuals up to time t. st 2 (l) = T 1 T t=1 e2 t + 2T 1 l s=1 w(s, l) T t=s+1 e te t s is a measure of the error variance of regression. w(s, l) = 1 s l+1 where l is the lag truncation parameter. Jamie Monogan (UGA) Univariate, Nonstationary Processes March 20, 2018 11 / 14

Modeling The Empirical Signature of an Integrated Series We also can turn the the autocorrelation function and partial autocorrelation function to determine if a series has a unit root. I(1) in shock form z t = a t + a t 1 + a t 2 + a t 3... + a 0 Note difference from AR(1): There are no decay parameters on the old shocks. Their influence persists forever. We call integrated series permanent memory series. Cookbook Rules for Identification AR(P) Exponential decay in the ACF, P significant spikes in the PACF I(1) Slow decay in the ACF, 1 significant spike in the PACF MA(Q) Q significant spikes in the ACF, exponential decay in the PACF Jamie Monogan (UGA) Univariate, Nonstationary Processes March 20, 2018 12 / 14

Modeling Approaches to Modeling an Integrated Series You Have to Choose the Right Approach for Your Situation Box-Jenkins: If it is integrated, difference it. Once differenced, see if you have any other ARMA processes going on. Prioritize accordingly: y t Integration Filter AR Filter MA Filter a t Observed Stochastic Trend Long Term Short Term White Noise With a final ARIMA model in place, you can model predictors as we did before. Econometric modeling with differenced series. Consider the difference equations and whether you can derive a specification that works. Error Correction Modeling Jamie Monogan (UGA) Univariate, Nonstationary Processes March 20, 2018 13 / 14

Homework For Next Time Examine the data on short and long term interest rates (RATES.DTA). For both tbonds and prime report the following: Graphs of the ACF and PACF. The results of a Dickey-Fuller test. The results of a KPSS test. Your conclusion on each series: Is it stationary? Estimate an ARIMA model for long-term rates (tbonds). Reading: Time Series Analysis for the Social Sciences, Chapter 6. Jamie Monogan (UGA) Univariate, Nonstationary Processes March 20, 2018 14 / 14