n. Detection of Nonstationarity

Size: px
Start display at page:

Download "n. Detection of Nonstationarity"

Transcription

1 MACROS FOR WORKNG WTH NONSTATONARY TME SERES Ashok Mehta, Ph.D. AT&T ntroduction n time series analysis it is assumed that the underlying stochastic process that generated the series is invariant with respect to time. f the characteristics of the stochastic process are changing over time then the process is called nonstationary. t is extremely difficult, if not impossible, to model a nonstationary time series over past and future intervals of time. However, if a time series is stationary then one can model the process and forecast the series. Most economic time series (GNP, price index, interest rate, exchange rate, etc.) are nonstationary. Fortunately, many of them can be rendered stationary by simple transformations. This paper demonstrates the use of SAS* (version 6.08 for Windows) for identifying a nonstationary time series and transforming it into a stationary time series. Section formally defines the stationary time series process. Section outlines a method for detecting and eliminating nonstationarity using SAS. n Section m an example is given. Finally, in Section V some drawbacks of the method are discussed. The SAS code and output from the example are given in the Appendix.. Stationary Process Let {Y' Y2'... 'yt} be a stochastic time series. The series y, is stationary if the mean, variance and lag covariance of the series are constant over time. n other words, following conditions "are fulfilled: 1. Constant Mean: E(y,) = 'y 2. Constant Variance: E(y, - 1'y)2 = 11/ 3. Constant Lagged Covariance: El(Y, - /-y)(y,+tjl = 't n. Detection of Nonstationarity Nonstationarity in a time series following these steps: can be detected by 1. Visualize the series by plotting it. f there is any visible trend or unusual variability then that will suggest existence of nonstationarity. 2. Examine the autocorrelation function (ACF) of the series. A gradual decline in the ACF is also indication of nonstationarity. 3. Apply the Dickey Fuller test. The_Dickey-Fuller test involves a regression of ~y, on Y. J, ~Y'.h'", dy,..., where d indicates a first difference. The number of dy... terms included in the regt:ession is one less than the autoregressive process (AR) used to model the series. The statis~cs for the parameter estimate associated with (Y.. - Y) provides a statistical test for the stationarity hypothesis (also referred as unit root test). The distribution of statistic is not like the Student's t distribution but as given by Fuller (1976). n SASETS4t (Version 6.08 for Windows) there are two macros called DFTEST and LOGTEST. These macros are very useful in testing for nonstationarity and eliminating it by simple transformations on the series. The DFTEST macro performs the Dickey Fuller test. The DFTEST macro computes the t statistic and compares it with the distribution given by Fuller (1976) and provides the correct p-value. The LOGTEST macro examines the series to determine if the logarithmic transformation along with differencing of the series will belp in modelling the series. t computes the log likelihood value of the logarithmic transformed and differenced series and compares it with the original differenced series. n short, the use of the above mentioned macros will identify the existence of nonstationarity and will recommend if differencing and log transformation will make the series stationary. 628

2 The DFTEST and LOGTEST macros are modified for this paper to make their output more readily interpretable. The SAS code used for modification is provided in the Appendix. m. Example n order to illustrate the use of concepts discussed above, the Canadian exchange rate (Canadian $1 US $) time series (Jan to Mar. 1994) is examined for the existence of nonstationarity. The SAS code and output are given in the Appendix. Following is the summary of the output given in the Appendix. 1. n Figure 1 the plot of the original series is shown. The plot clearly indicates that the series has a lime trend and there is considerable variability in the series. Therefore, the series is likely to have a nonstationarity problem. 2. The estimated autocorrelation function (ACF) for the series shows a gradual decay. This strengthens the possibility of nonstationarity in the series. 3. The modified DFTEST macro is applied to the series. The Dickey-Fuller test finds the series nonstationary. The test is repeated with the first differenced (Note: option DF=(,O,O) in the SAS code) series. This time the Dickey-Fuller test rejects the hypothesis of nonstationarity. Therefore, the Canadian exchange rate series is nonstationary but the first differenced series is stationary and suitable for the modelling purposes. 4. Next, the modified LOGTEST macro is applied to the series. The output recommends that the log transformation along with the first difference of the series maximizes the log likelihood value compll;red to the non-transformed differenced series. Therefore, the log transformation and differencing of the series makes the series stationary and most appropriate for modelling. S. Figure 2 shows the plot of the log transformed and differenced series. Note there is no time trend and variability is also more stable. 6. Finally, the ACF of the log transformed and differenced series is estimated. There is a sudden decline in the ACF plot compared to the ACF plot of the original series. This confirms stationarity in the transformed series. V. A Word of Caution The above method suggests that log transformation and differencing of a series can eliminate nonstationarity. There are two drawbacks in implementing the suggestion: (1) By differencing a series one loses observations, which may be a problem with a smaller data series. (2) f a series is mistakenly differenced by a higher order than required then it leads to the problem of over-differencing. Over-differencing will lead to a model that does not represent accurately the true underlying structure of the time series. Trademarks SAS and SAS/ETS" are registered trademarks or trademarks of SAS nstitute nc. in the USA and other countries. " indicates USA registration. References Dickey, D. A. and Fuller, W. A. (1979) "Distribution of the Estimators for Autoregressive Time Series with Unit Root, Journal of the American Statistical Association, 74, p Fuller, W. A. (1976) ntroduction to Statistical Time Series, John Wiley. Harvey, A (1989) The Econometric Analysis of Time Series, The MT Press. Judge, G. G., Hill, R. C., Griffiths, W. E., Lutkepohl, H. and Lee T. (1988) ntroduction to the Theory and Practice of Econometrics, John Wiley and Sons. Pindyck, R. S. and Rubinfeld, D. L. (1991) Econometric Models & Economic Forecasts, McGraw Hill. SAS/ETS~ User's Guide, Version 6, SAS nstitute nc. Forecasting Techniques Using SASETS" Software Course Notes, SAS nstitute nc. SAS/ETS~ Software: Application Guide 1, (1992), SAS 629

3 nstitute nc. SAS Guide to Macro Processing, Version 6, SAS nstitute nc. Acknowledgements The Author would like to thank Mr. Bruce McNevin and Mr. Nikos Tsangaroulis of AT&T for their support and encouragement. Ashok Mehta, Ph.D. AT&T 295 N. Maple Ave. Basking Ridge, NJ Tel: (908)

4 Appendix Below is the code for modifying the DFTEST macro. nsert this code at the end of DFTEST macro (just before %mend). DATA NULL; FLE PRNT; PVALUE=SYMGET('dftest'); F PVALUE >0.05 THEN DOi PUT "P-value for the Dickey-Fuller test for variable &var PVALUE '.' 'p-value is greater than 0.05 suggesting nonstationarity' 'and the need to difference the series.'; END; ELSE DO; PUT "P-value for the Dickey-Fuller test for variable &var PVALUE '.' 'p-value is lower than 0.05 suggesting stationarity' 'and there is no need to difference the series.'; END; RUN; Below is the code for modifying the LOGTEST macro. nsert this code at the end of LOGTEST macro (just before % mend). DATA NULL; FLE PRNT; TRANS=SYMGET('LOGTEST')i PUT 1 'The LOGTEST recommends transformation:' TTLE "LOGTEST FOR &VAR"i RUN; TRANS; Following is the code for examining nonstationarity in a time series. OPTONS LS=65 NODATE PAGENO=l; FLENAME N 'A:\EXCAUS'; 631

5 DATA EXCAUSi NFLE N FRSTOBS=8i NPUT YYMM EXRATEi LEXRATE = LOG(EXRATE)i LEXRATED = DF(LEXRATE)i DATE = NTNX('MONTH', 'OlJAN1980'D, _N_-l)i DROP YYMM; 1************************* FGURE 1 ****************************1 FLENAME OUTl 'A:\CHART1.CGM'i GOPTONS DEV=CGM ROTATE=LANDSCAPE GSFNAME=OUTl GSFMODE=REPLACE; SYMBOLl =J W=3j PROC GPLOT DATA=EXCAUS; PLOT EXRATE*DATE HAXS = 'OlJAN1980'D TO '01JAN1995'D BY YEARj FORMAT DATE YEAR.; TTLE J=C 'Canadian Exchange Rate 1/80 to 4/94'; TTLE2 J=C '(Canadian $/US $)'i FOOTNOTE J=C 'Prepared by Ashok Mehta'; 1***************************** ACF**************************** PROC ARMA DATA=EXCAUSi VAR=EXRATE; TTLE 'DENTFYNG THE SERES'; 1************************* DCKEY-FULLER TEST****************** TTLE 'DCKEY FULLER TEST: ORGNAL SERES'; %DFTEST(EXCAUS, EXRATE, DLAG=1,OUT=OUT,TREND=2,OUTSTAT=DSTAT)i TTLE 'DCKEY FULLER TEST: DFFERENCED SERES'; %DFTEST(EXCAUS, EXRATE, DLAG=l, DF=(l,O,O), OUT=OUT, TREND=2, OUTSTAT=DSTAT)j 1*********************** LOGTEST *******************************1 TTLE 'LOGTEST: ORGNAL SERES'; %LOGTEST(EXCAUS, EXRATE,OUT=OUT); ***************************FGURE 2****************************/ FLENAME OUT2 'A:\CHART2.CGM'i GOPTONS DEV=CGM ROTATE=LANDSCAPE GSFNAME=OUT2 GSFMODE=REPLACE; SYMBOLl =J W=3; PROC GPLOT DATA=EXCAUSi PLOT LEXRATED*DATE /HAXS = 'OlJAN1980'D TO 'OlJAN1995'D BY YEAR ; 632

6 Po~e~ FORMAT DATE YEAR2.j TTLE J=C '1st DFF. of LOG(EX. RATE) 'i FOOTNOTE J=C 'Prepared by Ashok Mehta'; ***********************ACF FOR TRANSFORMED SERES *************/ PROC ARMA DATA=EXCAUSi VAR=LEXRATED; TTLE 'STATONARY SERES'; R~i 1***************************************************************/ 633

7 Following is the SAS output: OUTPUT Figure 1: ~ "_~M':-:'.=-' =_-::.. ::-:_=-=_;-7, =-. _::::-7.: ~ "-...-_. ;-7,_;:;-;::;_-::..::-:.. =..-:: DCKEY FULLER TEST: ORGNAL SERES ARMA Procedure 1 Name of variable = EXRATE. Mean of working series = Standard deviation = Number of observations =

8 Autocorrelations Lag Covar Corr ******************** ******************** ******************* ****************** ****************** ***************** ***************** **************** **************** *************** *************** ************** ************* ************ ************ *********** ********** ********* ******** ******* ******* ****** ***** **** *** ".. marks two standard errors Output has been truncated to save space. DCKEY FULLER TEST: ORGNAL SERES 3 P-value for the Dickey-Fuller test for variable EXRATE p-value is greater than 0.05 suggesting nonstationarity and the need to difference the series. DCKEY FULLER TEST: DFFERENCED SERES 4 P-value for the Dickey-Fuller test for variable EXRATE 0.01 p-value is lower than 0.05 suggesting stationarity and there is no need to difference the series. The LOGTEST recommends transformation: LOG LOGTEST FOR EXRATE 5 635

9 Figure 2 lit Dlff.,J LOw{E:. RATE) STATONARY SERES 6 ARMA Procedure Lag Covar E E E E E E Name of variable = LEXRATED. Mean of working series = Standard deviation = Number of observations = 170 Autocorrelations Corr ******************** **** * ** * **** *** ***** ***. Output has been truncated to save space.. marks two standard errors 636

SOME BASICS OF TIME-SERIES ANALYSIS

SOME BASICS OF TIME-SERIES ANALYSIS SOME BASICS OF TIME-SERIES ANALYSIS John E. Floyd University of Toronto December 8, 26 An excellent place to learn about time series analysis is from Walter Enders textbook. For a basic understanding of

More information

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

Prof. Dr. Roland Füss Lecture Series in Applied Econometrics Summer Term Introduction to Time Series Analysis Introduction to Time Series Analysis 1 Contents: I. Basics of Time Series Analysis... 4 I.1 Stationarity... 5 I.2 Autocorrelation Function... 9 I.3 Partial Autocorrelation Function (PACF)... 14 I.4 Transformation

More information

Empirical Market Microstructure Analysis (EMMA)

Empirical Market Microstructure Analysis (EMMA) Empirical Market Microstructure Analysis (EMMA) Lecture 3: Statistical Building Blocks and Econometric Basics Prof. Dr. Michael Stein michael.stein@vwl.uni-freiburg.de Albert-Ludwigs-University of Freiburg

More information

Univariate, Nonstationary Processes

Univariate, Nonstationary Processes 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,

More information

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

at least 50 and preferably 100 observations should be available to build a proper model III Box-Jenkins Methods 1. Pros and Cons of ARIMA Forecasting a) need for data at least 50 and preferably 100 observations should be available to build a proper model used most frequently for hourly or

More information

G. S. Maddala Kajal Lahiri. WILEY A John Wiley and Sons, Ltd., Publication

G. S. Maddala Kajal Lahiri. WILEY A John Wiley and Sons, Ltd., Publication G. S. Maddala Kajal Lahiri WILEY A John Wiley and Sons, Ltd., Publication TEMT Foreword Preface to the Fourth Edition xvii xix Part I Introduction and the Linear Regression Model 1 CHAPTER 1 What is Econometrics?

More information

Univariate linear models

Univariate linear models Univariate linear models The specification process of an univariate ARIMA model is based on the theoretical properties of the different processes and it is also important the observation and interpretation

More information

Ch 6. Model Specification. Time Series Analysis

Ch 6. Model Specification. Time Series Analysis We start to build ARIMA(p,d,q) models. The subjects include: 1 how to determine p, d, q for a given series (Chapter 6); 2 how to estimate the parameters (φ s and θ s) of a specific ARIMA(p,d,q) model (Chapter

More information

Chapter 2: Unit Roots

Chapter 2: Unit Roots Chapter 2: Unit Roots 1 Contents: Lehrstuhl für Department Empirische of Wirtschaftsforschung Empirical Research and undeconometrics II. Unit Roots... 3 II.1 Integration Level... 3 II.2 Nonstationarity

More information

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

Estimation and application of best ARIMA model for forecasting the uranium price. Estimation and application of best ARIMA model for forecasting the uranium price. Medeu Amangeldi May 13, 2018 Capstone Project Superviser: Dongming Wei Second reader: Zhenisbek Assylbekov Abstract This

More information

Lecture 6a: Unit Root and ARIMA Models

Lecture 6a: Unit Root and ARIMA Models Lecture 6a: Unit Root and ARIMA Models 1 2 Big Picture A time series is non-stationary if it contains a unit root unit root nonstationary The reverse is not true. For example, y t = cos(t) + u t has no

More information

Study on Modeling and Forecasting of the GDP of Manufacturing Industries in Bangladesh

Study on Modeling and Forecasting of the GDP of Manufacturing Industries in Bangladesh CHIANG MAI UNIVERSITY JOURNAL OF SOCIAL SCIENCE AND HUMANITIES M. N. A. Bhuiyan 1*, Kazi Saleh Ahmed 2 and Roushan Jahan 1 Study on Modeling and Forecasting of the GDP of Manufacturing Industries in Bangladesh

More information

Econ 424 Time Series Concepts

Econ 424 Time Series Concepts Econ 424 Time Series Concepts Eric Zivot January 20 2015 Time Series Processes Stochastic (Random) Process { 1 2 +1 } = { } = sequence of random variables indexed by time Observed time series of length

More information

10) Time series econometrics

10) Time series econometrics 30C00200 Econometrics 10) Time series econometrics Timo Kuosmanen Professor, Ph.D. 1 Topics today Static vs. dynamic time series model Suprious regression Stationary and nonstationary time series Unit

More information

Ross Bettinger, Analytical Consultant, Seattle, WA

Ross Bettinger, Analytical Consultant, Seattle, WA ABSTRACT USING PROC ARIMA TO MODEL TRENDS IN US HOME PRICES Ross Bettinger, Analytical Consultant, Seattle, WA We demonstrate the use of the Box-Jenkins time series modeling methodology to analyze US home

More information

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

EC408 Topics in Applied Econometrics. B Fingleton, Dept of Economics, Strathclyde University EC408 Topics in Applied Econometrics B Fingleton, Dept of Economics, Strathclyde University Applied Econometrics What is spurious regression? How do we check for stochastic trends? Cointegration and Error

More information

Christopher Dougherty London School of Economics and Political Science

Christopher Dougherty London School of Economics and Political Science Introduction to Econometrics FIFTH EDITION Christopher Dougherty London School of Economics and Political Science OXFORD UNIVERSITY PRESS Contents INTRODU CTION 1 Why study econometrics? 1 Aim of this

More information

Non-Stationary Time Series and Unit Root Testing

Non-Stationary Time Series and Unit Root Testing Econometrics II Non-Stationary Time Series and Unit Root Testing Morten Nyboe Tabor Course Outline: Non-Stationary Time Series and Unit Root Testing 1 Stationarity and Deviation from Stationarity Trend-Stationarity

More information

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

A TIME SERIES PARADOX: UNIT ROOT TESTS PERFORM POORLY WHEN DATA ARE COINTEGRATED A TIME SERIES PARADOX: UNIT ROOT TESTS PERFORM POORLY WHEN DATA ARE COINTEGRATED by W. Robert Reed Department of Economics and Finance University of Canterbury, New Zealand Email: bob.reed@canterbury.ac.nz

More information

Paper SA-08. Are Sales Figures in Line With Expectations? Using PROC ARIMA in SAS to Forecast Company Revenue

Paper SA-08. Are Sales Figures in Line With Expectations? Using PROC ARIMA in SAS to Forecast Company Revenue Paper SA-08 Are Sales Figures in Line With Expectations? Using PROC ARIMA in SAS to Forecast Company Revenue Saveth Ho and Brian Van Dorn, Deluxe Corporation, Shoreview, MN ABSTRACT The distribution of

More information

Econometrics of Panel Data

Econometrics of Panel Data Econometrics of Panel Data Jakub Mućk Meeting # 9 Jakub Mućk Econometrics of Panel Data Meeting # 9 1 / 22 Outline 1 Time series analysis Stationarity Unit Root Tests for Nonstationarity 2 Panel Unit Root

More information

TRANSFER FUNCTION MODEL FOR GLOSS PREDICTION OF COATED ALUMINUM USING THE ARIMA PROCEDURE

TRANSFER FUNCTION MODEL FOR GLOSS PREDICTION OF COATED ALUMINUM USING THE ARIMA PROCEDURE TRANSFER FUNCTION MODEL FOR GLOSS PREDICTION OF COATED ALUMINUM USING THE ARIMA PROCEDURE Mozammel H. Khan Kuwait Institute for Scientific Research Introduction The objective of this work was to investigate

More information

FinQuiz Notes

FinQuiz Notes Reading 9 A time series is any series of data that varies over time e.g. the quarterly sales for a company during the past five years or daily returns of a security. When assumptions of the regression

More information

1 Regression with Time Series Variables

1 Regression with Time Series Variables 1 Regression with Time Series Variables With time series regression, Y might not only depend on X, but also lags of Y and lags of X Autoregressive Distributed lag (or ADL(p; q)) model has these features:

More information

Analysis. Components of a Time Series

Analysis. Components of a Time Series Module 8: Time Series Analysis 8.2 Components of a Time Series, Detection of Change Points and Trends, Time Series Models Components of a Time Series There can be several things happening simultaneously

More information

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

ECON/FIN 250: Forecasting in Finance and Economics: Section 7: Unit Roots & Dickey-Fuller Tests ECON/FIN 250: Forecasting in Finance and Economics: Section 7: Unit Roots & Dickey-Fuller Tests Patrick Herb Brandeis University Spring 2016 Patrick Herb (Brandeis University) Unit Root Tests ECON/FIN

More information

MODELLING TIME SERIES WITH CONDITIONAL HETEROSCEDASTICITY

MODELLING TIME SERIES WITH CONDITIONAL HETEROSCEDASTICITY MODELLING TIME SERIES WITH CONDITIONAL HETEROSCEDASTICITY The simple ARCH Model Eva Rubliková Ekonomická univerzita Bratislava Manuela Magalhães Hill Department of Quantitative Methods, INSTITUTO SUPERIOR

More information

Asitha Kodippili. Deepthika Senaratne. Department of Mathematics and Computer Science,Fayetteville State University, USA.

Asitha Kodippili. Deepthika Senaratne. Department of Mathematics and Computer Science,Fayetteville State University, USA. Forecasting Tourist Arrivals to Sri Lanka Using Seasonal ARIMA Asitha Kodippili Department of Mathematics and Computer Science,Fayetteville State University, USA. akodippili@uncfsu.edu Deepthika Senaratne

More information

Non-Stationary Time Series and Unit Root Testing

Non-Stationary Time Series and Unit Root Testing Econometrics II Non-Stationary Time Series and Unit Root Testing Morten Nyboe Tabor Course Outline: Non-Stationary Time Series and Unit Root Testing 1 Stationarity and Deviation from Stationarity Trend-Stationarity

More information

APPLIED TIME SERIES ECONOMETRICS

APPLIED TIME SERIES ECONOMETRICS APPLIED TIME SERIES ECONOMETRICS Edited by HELMUT LÜTKEPOHL European University Institute, Florence MARKUS KRÄTZIG Humboldt University, Berlin CAMBRIDGE UNIVERSITY PRESS Contents Preface Notation and Abbreviations

More information

Ross Bettinger, Analytical Consultant, Seattle, WA

Ross Bettinger, Analytical Consultant, Seattle, WA ABSTRACT DYNAMIC REGRESSION IN ARIMA MODELING Ross Bettinger, Analytical Consultant, Seattle, WA Box-Jenkins time series models that contain exogenous predictor variables are called dynamic regression

More information

Nonstationary Time Series:

Nonstationary Time Series: Nonstationary Time Series: Unit Roots Egon Zakrajšek Division of Monetary Affairs Federal Reserve Board Summer School in Financial Mathematics Faculty of Mathematics & Physics University of Ljubljana September

More information

Investigating Seasonality in BLS Data Using PROC ARIMA Joseph Earley, Loyola Marymount University Los Angeles, California

Investigating Seasonality in BLS Data Using PROC ARIMA Joseph Earley, Loyola Marymount University Los Angeles, California nvestigating Seasonality in BLS Data Using PROC ARMA Joseph Earley, Loyola Marymount University Los Angeles, California Abstract This paper illustrates how the SAS System statistical procedure PROC ARMA

More information

Ch 5. Models for Nonstationary Time Series. Time Series Analysis

Ch 5. Models for Nonstationary Time Series. Time Series Analysis We have studied some deterministic and some stationary trend models. However, many time series data cannot be modeled in either way. Ex. The data set oil.price displays an increasing variation from the

More information

BCT Lecture 3. Lukas Vacha.

BCT Lecture 3. Lukas Vacha. 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

More information

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

Topic 4 Unit Roots. Gerald P. Dwyer. February Clemson University Topic 4 Unit Roots Gerald P. Dwyer Clemson University February 2016 Outline 1 Unit Roots Introduction Trend and Difference Stationary Autocorrelations of Series That Have Deterministic or Stochastic Trends

More information

Stationarity Revisited, With a Twist. David G. Tucek Value Economics, LLC

Stationarity Revisited, With a Twist. David G. Tucek Value Economics, LLC Stationarity Revisited, With a Twist David G. Tucek Value Economics, LLC david.tucek@valueeconomics.com 314 434 8633 2016 Tucek - October 7, 2016 FEW Durango, CO 1 Why This Topic Three Types of FEs Those

More information

FE570 Financial Markets and Trading. Stevens Institute of Technology

FE570 Financial Markets and Trading. Stevens Institute of Technology FE570 Financial Markets and Trading Lecture 5. Linear Time Series Analysis and Its Applications (Ref. Joel Hasbrouck - Empirical Market Microstructure ) Steve Yang Stevens Institute of Technology 9/25/2012

More information

9) Time series econometrics

9) Time series econometrics 30C00200 Econometrics 9) Time series econometrics Timo Kuosmanen Professor Management Science http://nomepre.net/index.php/timokuosmanen 1 Macroeconomic data: GDP Inflation rate Examples of time series

More information

Problem set 1 - Solutions

Problem set 1 - Solutions EMPIRICAL FINANCE AND FINANCIAL ECONOMETRICS - MODULE (8448) Problem set 1 - Solutions Exercise 1 -Solutions 1. The correct answer is (a). In fact, the process generating daily prices is usually assumed

More information

Time Series Methods. Sanjaya Desilva

Time Series Methods. Sanjaya Desilva Time Series Methods Sanjaya Desilva 1 Dynamic Models In estimating time series models, sometimes we need to explicitly model the temporal relationships between variables, i.e. does X affect Y in the same

More information

Forecasting Bangladesh's Inflation through Econometric Models

Forecasting Bangladesh's Inflation through Econometric Models American Journal of Economics and Business Administration Original Research Paper Forecasting Bangladesh's Inflation through Econometric Models 1,2 Nazmul Islam 1 Department of Humanities, Bangladesh University

More information

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

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 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 context have been developed. The emphasis in this development

More information

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

Lecture 5: Unit Roots, Cointegration and Error Correction Models The Spurious Regression Problem Lecture 5: Unit Roots, Cointegration and Error Correction Models The Spurious Regression Problem Prof. Massimo Guidolin 20192 Financial Econometrics Winter/Spring 2018 Overview Stochastic vs. deterministic

More information

BJEST. Function: Usage:

BJEST. Function: Usage: BJEST BJEST (CONSTANT, CUMPLOT, EXACTML, NAR=number of AR parameters, NBACK=number of back-forecasted residuals,ndiff=degree of differencing, NLAG=number of autocorrelations,nma=number of MA parameters,

More information

Cointegration and Tests of Purchasing Parity Anthony Mac Guinness- Senior Sophister

Cointegration and Tests of Purchasing Parity Anthony Mac Guinness- Senior Sophister Cointegration and Tests of Purchasing Parity Anthony Mac Guinness- Senior Sophister Most of us know Purchasing Power Parity as a sensible way of expressing per capita GNP; that is taking local price levels

More information

Introduction to Eco n o m et rics

Introduction to Eco n o m et rics 2008 AGI-Information Management Consultants May be used for personal purporses only or by libraries associated to dandelon.com network. Introduction to Eco n o m et rics Third Edition G.S. Maddala Formerly

More information

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

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY Time Series Analysis James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY & Contents PREFACE xiii 1 1.1. 1.2. Difference Equations First-Order Difference Equations 1 /?th-order Difference

More information

ARDL Cointegration Tests for Beginner

ARDL Cointegration Tests for Beginner ARDL Cointegration Tests for Beginner Tuck Cheong TANG Department of Economics, Faculty of Economics & Administration University of Malaya Email: tangtuckcheong@um.edu.my DURATION: 3 HOURS On completing

More information

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

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY Time Series Analysis James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY PREFACE xiii 1 Difference Equations 1.1. First-Order Difference Equations 1 1.2. pth-order Difference Equations 7

More information

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

13. Time Series Analysis: Asymptotics Weakly Dependent and Random Walk Process. Strict Exogeneity Outline: Further Issues in Using OLS with Time Series Data 13. Time Series Analysis: Asymptotics Weakly Dependent and Random Walk Process I. Stationary and Weakly Dependent Time Series III. Highly Persistent

More information

Non-Stationary Time Series and Unit Root Testing

Non-Stationary Time Series and Unit Root Testing Econometrics II Non-Stationary Time Series and Unit Root Testing Morten Nyboe Tabor Course Outline: Non-Stationary Time Series and Unit Root Testing 1 Stationarity and Deviation from Stationarity Trend-Stationarity

More information

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

On Consistency of Tests for Stationarity in Autoregressive and Moving Average Models of Different Orders American Journal of Theoretical and Applied Statistics 2016; 5(3): 146-153 http://www.sciencepublishinggroup.com/j/ajtas doi: 10.11648/j.ajtas.20160503.20 ISSN: 2326-8999 (Print); ISSN: 2326-9006 (Online)

More information

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

Unit root problem, solution of difference equations Simple deterministic model, question of unit root Unit root problem, solution of difference equations Simple deterministic model, question of unit root (1 φ 1 L)X t = µ, Solution X t φ 1 X t 1 = µ X t = A + Bz t with unknown z and unknown A (clearly X

More information

Statistical Methods for Forecasting

Statistical Methods for Forecasting Statistical Methods for Forecasting BOVAS ABRAHAM University of Waterloo JOHANNES LEDOLTER University of Iowa John Wiley & Sons New York Chichester Brisbane Toronto Singapore Contents 1 INTRODUCTION AND

More information

Testing for Unit Roots with Cointegrated Data

Testing for Unit Roots with Cointegrated Data Discussion Paper No. 2015-57 August 19, 2015 http://www.economics-ejournal.org/economics/discussionpapers/2015-57 Testing for Unit Roots with Cointegrated Data W. Robert Reed Abstract This paper demonstrates

More information

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

Romanian Economic and Business Review Vol. 3, No. 3 THE EVOLUTION OF SNP PETROM STOCK LIST - STUDY THROUGH AUTOREGRESSIVE MODELS THE EVOLUTION OF SNP PETROM STOCK LIST - STUDY THROUGH AUTOREGRESSIVE MODELS Marian Zaharia, Ioana Zaheu, and Elena Roxana Stan Abstract Stock exchange market is one of the most dynamic and unpredictable

More information

5 Autoregressive-Moving-Average Modeling

5 Autoregressive-Moving-Average Modeling 5 Autoregressive-Moving-Average Modeling 5. Purpose. Autoregressive-moving-average (ARMA models are mathematical models of the persistence, or autocorrelation, in a time series. ARMA models are widely

More information

Using EViews Vox Principles of Econometrics, Third Edition

Using EViews Vox Principles of Econometrics, Third Edition Using EViews Vox Principles of Econometrics, Third Edition WILLIAM E. GRIFFITHS University of Melbourne R. CARTER HILL Louisiana State University GUAY С LIM University of Melbourne JOHN WILEY & SONS, INC

More information

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

Multivariate Time Series Analysis and Its Applications [Tsay (2005), chapter 8] 1 Multivariate Time Series Analysis and Its Applications [Tsay (2005), chapter 8] Insights: Price movements in one market can spread easily and instantly to another market [economic globalization and internet

More information

New York University Department of Economics. Applied Statistics and Econometrics G Spring 2013

New York University Department of Economics. Applied Statistics and Econometrics G Spring 2013 New York University Department of Economics Applied Statistics and Econometrics G31.1102 Spring 2013 Text: Econometric Analysis, 7 h Edition, by William Greene (Prentice Hall) Optional: A Guide to Modern

More information

Testing for non-stationarity

Testing for non-stationarity 20 November, 2009 Overview The tests for investigating the non-stationary of a time series falls into four types: 1 Check the null that there is a unit root against stationarity. Within these, there are

More information

The Identification of ARIMA Models

The Identification of ARIMA Models APPENDIX 4 The Identification of ARIMA Models As we have established in a previous lecture, there is a one-to-one correspondence between the parameters of an ARMA(p, q) model, including the variance of

More information

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

Economics 618B: Time Series Analysis Department of Economics State University of New York at Binghamton Problem Set #1 1. Generate n =500random numbers from both the uniform 1 (U [0, 1], uniformbetween zero and one) and exponential λ exp ( λx) (set λ =2and let x U [0, 1]) b a distributions. Plot the histograms

More information

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

MODELING INFLATION RATES IN NIGERIA: BOX-JENKINS APPROACH. I. U. Moffat and A. E. David Department of Mathematics & Statistics, University of Uyo, Uyo Vol.4, No.2, pp.2-27, April 216 MODELING INFLATION RATES IN NIGERIA: BOX-JENKINS APPROACH I. U. Moffat and A. E. David Department of Mathematics & Statistics, University of Uyo, Uyo ABSTRACT: This study

More information

The Spectrum of Broadway: A SAS

The Spectrum of Broadway: A SAS The Spectrum of Broadway: A SAS PROC SPECTRA Inquiry James D. Ryan and Joseph Earley Emporia State University and Loyola Marymount University Abstract This paper describes how to use the sophisticated

More information

7. Integrated Processes

7. Integrated Processes 7. Integrated Processes Up to now: Analysis of stationary processes (stationary ARMA(p, q) processes) Problem: Many economic time series exhibit non-stationary patterns over time 226 Example: We consider

More information

Lecture 8a: Spurious Regression

Lecture 8a: Spurious Regression Lecture 8a: Spurious Regression 1 Old Stuff The traditional statistical theory holds when we run regression using (weakly or covariance) stationary variables. For example, when we regress one stationary

More information

Chapter 12: An introduction to Time Series Analysis. Chapter 12: An introduction to Time Series Analysis

Chapter 12: An introduction to Time Series Analysis. Chapter 12: An introduction to Time Series Analysis Chapter 12: An introduction to Time Series Analysis Introduction In this chapter, we will discuss forecasting with single-series (univariate) Box-Jenkins models. The common name of the models is Auto-Regressive

More information

7. Integrated Processes

7. Integrated Processes 7. Integrated Processes Up to now: Analysis of stationary processes (stationary ARMA(p, q) processes) Problem: Many economic time series exhibit non-stationary patterns over time 226 Example: We consider

More information

Some Time-Series Models

Some Time-Series Models Some Time-Series Models Outline 1. Stochastic processes and their properties 2. Stationary processes 3. Some properties of the autocorrelation function 4. Some useful models Purely random processes, random

More information

Advanced Econometrics

Advanced Econometrics Advanced Econometrics Marco Sunder Nov 04 2010 Marco Sunder Advanced Econometrics 1/ 25 Contents 1 2 3 Marco Sunder Advanced Econometrics 2/ 25 Music Marco Sunder Advanced Econometrics 3/ 25 Music Marco

More information

THE SEASONAL UNIT ROOTS IN DEMOGRAPHIC TIME SERIES ANDTHE POSSIBILITIES OF ITS EXACT TESTING

THE SEASONAL UNIT ROOTS IN DEMOGRAPHIC TIME SERIES ANDTHE POSSIBILITIES OF ITS EXACT TESTING THE SEASONAL UNIT ROOTS IN DEMOGRAPHIC TIME SERIES ANDTHE POSSIBILITIES OF ITS EXACT TESTING Ondřej Šimpach, Petra Dotlačilová University of Economics in Prague ondrej.simpach@vse.cz, xdotp00@vse.cz Key

More information

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

Forecasting using R. Rob J Hyndman. 2.3 Stationarity and differencing. Forecasting using R 1 Forecasting using R Rob J Hyndman 2.3 Stationarity and differencing Forecasting using R 1 Outline 1 Stationarity 2 Differencing 3 Unit root tests 4 Lab session 10 5 Backshift notation Forecasting using

More information

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

Questions and Answers on Unit Roots, Cointegration, VARs and VECMs Questions and Answers on Unit Roots, Cointegration, VARs and VECMs L. Magee Winter, 2012 1. Let ɛ t, t = 1,..., T be a series of independent draws from a N[0,1] distribution. Let w t, t = 1,..., T, be

More information

Solutions to Odd-Numbered End-of-Chapter Exercises: Chapter 14

Solutions to Odd-Numbered End-of-Chapter Exercises: Chapter 14 Introduction to Econometrics (3 rd Updated Edition) by James H. Stock and Mark W. Watson Solutions to Odd-Numbered End-of-Chapter Exercises: Chapter 14 (This version July 0, 014) 015 Pearson Education,

More information

APPLIED ECONOMETRIC TIME SERIES 4TH EDITION

APPLIED ECONOMETRIC TIME SERIES 4TH EDITION APPLIED ECONOMETRIC TIME SERIES 4TH EDITION Chapter 2: STATIONARY TIME-SERIES MODELS WALTER ENDERS, UNIVERSITY OF ALABAMA Copyright 2015 John Wiley & Sons, Inc. Section 1 STOCHASTIC DIFFERENCE EQUATION

More information

CHAPTER 21: TIME SERIES ECONOMETRICS: SOME BASIC CONCEPTS

CHAPTER 21: TIME SERIES ECONOMETRICS: SOME BASIC CONCEPTS CHAPTER 21: TIME SERIES ECONOMETRICS: SOME BASIC CONCEPTS 21.1 A stochastic process is said to be weakly stationary if its mean and variance are constant over time and if the value of the covariance between

More information

AR, MA and ARMA models

AR, MA and ARMA models AR, MA and AR by Hedibert Lopes P Based on Tsay s Analysis of Financial Time Series (3rd edition) P 1 Stationarity 2 3 4 5 6 7 P 8 9 10 11 Outline P Linear Time Series Analysis and Its Applications For

More information

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

Forecasting using R. Rob J Hyndman. 2.4 Non-seasonal ARIMA models. Forecasting using R 1 Forecasting using R Rob J Hyndman 2.4 Non-seasonal ARIMA models Forecasting using R 1 Outline 1 Autoregressive models 2 Moving average models 3 Non-seasonal ARIMA models 4 Partial autocorrelations 5 Estimation

More information

Chapter 5: Models for Nonstationary Time Series

Chapter 5: Models for Nonstationary Time Series Chapter 5: Models for Nonstationary Time Series Recall that any time series that is a stationary process has a constant mean function. So a process that has a mean function that varies over time must be

More information

SAS/ETS 14.1 User s Guide. The ARIMA Procedure

SAS/ETS 14.1 User s Guide. The ARIMA Procedure SAS/ETS 14.1 User s Guide The ARIMA Procedure This document is an individual chapter from SAS/ETS 14.1 User s Guide. The correct bibliographic citation for this manual is as follows: SAS Institute Inc.

More information

Austrian Inflation Rate

Austrian Inflation Rate Austrian Inflation Rate Course of Econometric Forecasting Nadir Shahzad Virkun Tomas Sedliacik Goal and Data Selection Our goal is to find a relatively accurate procedure in order to forecast the Austrian

More information

Outline. Nature of the Problem. Nature of the Problem. Basic Econometrics in Transportation. Autocorrelation

Outline. Nature of the Problem. Nature of the Problem. Basic Econometrics in Transportation. Autocorrelation 1/30 Outline Basic Econometrics in Transportation Autocorrelation Amir Samimi What is the nature of autocorrelation? What are the theoretical and practical consequences of autocorrelation? Since the assumption

More information

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

Stationarity and cointegration tests: Comparison of Engle - Granger and Johansen methodologies MPRA Munich Personal RePEc Archive Stationarity and cointegration tests: Comparison of Engle - Granger and Johansen methodologies Faik Bilgili Erciyes University, Faculty of Economics and Administrative

More information

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

Circle the single best answer for each multiple choice question. Your choice should be made clearly. TEST #1 STA 4853 March 6, 2017 Name: Please read the following directions. DO NOT TURN THE PAGE UNTIL INSTRUCTED TO DO SO Directions This exam is closed book and closed notes. There are 32 multiple choice

More information

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

EC408 Topics in Applied Econometrics. B Fingleton, Dept of Economics, Strathclyde University EC48 Topics in Applied Econometrics B Fingleton, Dept of Economics, Strathclyde University Applied Econometrics What is spurious regression? How do we check for stochastic trends? Cointegration and Error

More information

The PPP Hypothesis Revisited

The PPP Hypothesis Revisited 1288 Discussion Papers Deutsches Institut für Wirtschaftsforschung 2013 The PPP Hypothesis Revisited Evidence Using a Multivariate Long-Memory Model Guglielmo Maria Caporale, Luis A.Gil-Alana and Yuliya

More information

Inflation Revisited: New Evidence from Modified Unit Root Tests

Inflation Revisited: New Evidence from Modified Unit Root Tests 1 Inflation Revisited: New Evidence from Modified Unit Root Tests Walter Enders and Yu Liu * University of Alabama in Tuscaloosa and University of Texas at El Paso Abstract: We propose a simple modification

More information

Cointegration, Stationarity and Error Correction Models.

Cointegration, Stationarity and Error Correction Models. Cointegration, Stationarity and Error Correction Models. STATIONARITY Wold s decomposition theorem states that a stationary time series process with no deterministic components has an infinite moving average

More information

Forecasting: principles and practice 1

Forecasting: principles and practice 1 Forecasting: principles and practice Rob J Hyndman 2.3 Stationarity and differencing Forecasting: principles and practice 1 Outline 1 Stationarity 2 Differencing 3 Unit root tests 4 Lab session 10 5 Backshift

More information

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

DEPARTMENT OF ECONOMICS AND FINANCE COLLEGE OF BUSINESS AND ECONOMICS UNIVERSITY OF CANTERBURY CHRISTCHURCH, NEW ZEALAND DEPARTMENT OF ECONOMICS AND FINANCE COLLEGE OF BUSINESS AND ECONOMICS UNIVERSITY OF CANTERBURY CHRISTCHURCH, NEW ZEALAND Testing For Unit Roots With Cointegrated Data NOTE: This paper is a revision of

More information

Empirical Macroeconomics

Empirical Macroeconomics Empirical Macroeconomics Francesco Franco Nova SBE April 5, 2016 Francesco Franco Empirical Macroeconomics 1/39 Growth and Fluctuations Supply and Demand Figure : US dynamics Francesco Franco Empirical

More information

Covers Chapter 10-12, some of 16, some of 18 in Wooldridge. Regression Analysis with Time Series Data

Covers Chapter 10-12, some of 16, some of 18 in Wooldridge. Regression Analysis with Time Series Data Covers Chapter 10-12, some of 16, some of 18 in Wooldridge Regression Analysis with Time Series Data Obviously time series data different from cross section in terms of source of variation in x and y temporal

More information

A nonparametric test for seasonal unit roots

A nonparametric test for seasonal unit roots Robert M. Kunst robert.kunst@univie.ac.at University of Vienna and Institute for Advanced Studies Vienna To be presented in Innsbruck November 7, 2007 Abstract We consider a nonparametric test for the

More information

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

ARIMA Models. Jamie Monogan. January 16, University of Georgia. Jamie Monogan (UGA) ARIMA Models January 16, / 27 ARIMA Models Jamie Monogan University of Georgia January 16, 2018 Jamie Monogan (UGA) ARIMA Models January 16, 2018 1 / 27 Objectives By the end of this meeting, participants should be able to: Argue why

More information

Econometrics of financial markets, -solutions to seminar 1. Problem 1

Econometrics of financial markets, -solutions to seminar 1. Problem 1 Econometrics of financial markets, -solutions to seminar 1. Problem 1 a) Estimate with OLS. For any regression y i α + βx i + u i for OLS to be unbiased we need cov (u i,x j )0 i, j. For the autoregressive

More information

TIME SERIES DATA ANALYSIS USING EVIEWS

TIME SERIES DATA ANALYSIS USING EVIEWS TIME SERIES DATA ANALYSIS USING EVIEWS I Gusti Ngurah Agung Graduate School Of Management Faculty Of Economics University Of Indonesia Ph.D. in Biostatistics and MSc. in Mathematical Statistics from University

More information

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

Author: Yesuf M. Awel 1c. Affiliation: 1 PhD, Economist-Consultant; P.O Box , Addis Ababa, Ethiopia. c. ISSN: 2415-0304 (Print) ISSN: 2522-2465 (Online) Indexing/Abstracting Forecasting GDP Growth: Application of Autoregressive Integrated Moving Average Model Author: Yesuf M. Awel 1c Affiliation: 1 PhD,

More information

ARIMA modeling to forecast area and production of rice in West Bengal

ARIMA modeling to forecast area and production of rice in West Bengal Journal of Crop and Weed, 9(2):26-31(2013) ARIMA modeling to forecast area and production of rice in West Bengal R. BISWAS AND B. BHATTACHARYYA Department of Agricultural Statistics Bidhan Chandra Krishi

More information