FITTING MODELS WITH NONSTATIONARY TIME SERIES 1 Detrending Early macroeconomic models tended to produce poor forecasts, despite having excellent sample-period.

Slides:



Advertisements
Similar presentations
Cointegration and Error Correction Models
Advertisements

Christopher Dougherty EC220 - Introduction to econometrics (chapter 13) Slideshow: fitting models with nonstationary time series Original citation: Dougherty,
Econometric Modeling Through EViews and EXCEL
Christopher Dougherty EC220 - Introduction to econometrics (chapter 11) Slideshow: static models and models with lags Original citation: Dougherty, C.
EC220 - Introduction to econometrics (revision lectures 2011)
Using SAS for Time Series Data
Christopher Dougherty EC220 - Introduction to econometrics (chapter 13) Slideshow: cointegration Original citation: Dougherty, C. (2012) EC220 - Introduction.
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
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.
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
Christopher Dougherty EC220 - Introduction to econometrics (chapter 13) Slideshow: tests of nonstationarity: example and further complications Original.
============================================================ Dependent Variable: LGHOUS Method: Least Squares Sample: Included observations:
Random effects estimation RANDOM EFFECTS REGRESSIONS When the observed variables of interest are constant for each individual, a fixed effects regression.
AUTOCORRELATION 1 The third Gauss-Markov condition is that the values of the disturbance term in the observations in the sample be generated independently.
Welcome to Econ 420 Applied Regression Analysis Study Guide Week Three Ending Tuesday, September 11 (Note: You must go over these slides and complete every.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 13) Slideshow: nonstationary processes Original citation: Dougherty, C. (2012) EC220.
1 TIME SERIES MODELS: STATIC MODELS AND MODELS WITH LAGS In this sequence we will make an initial exploration of the determinants of aggregate consumer.
Stationary process NONSTATIONARY PROCESSES 1 In the last sequence, the process shown at the top was shown to be stationary. The expected value and variance.
TAKE HOME PROJECT 2 Group C: Robert Matarazzo, Michael Stromberg, Yuxing Zhang, Yin Chu, Leslie Wei, and Kurtis Hollar.
Marietta College Week 14 1 Tuesday, April 12 2 Exam 3: Monday, April 25, 12- 2:30PM Bring your laptops to class on Thursday too.
1 Econ 240 C Lecture 3. 2 Part I Modeling Economic Time Series.
1 Econ 240 C Lecture White noise inputoutput 1/(1 – z) White noise input output Random walkSynthesis 1/(1 – bz) White noise input output.
Is There a Difference?. How Should You Vote? Is “Big Government” better?Is “Big Government” better? –Republicans want less government involvement. –Democrats.
Global Warming: Is It True? Peter Fuller Odeliah Greene Amanda Smith May Zin.
1 Econ 240 C Lecture Time Series Concepts Analysis and Synthesis.
Chapter 3 Simple Regression. What is in this Chapter? This chapter starts with a linear regression model with one explanatory variable, and states the.
Car Sales Analysis of monthly sales of light weight vehicles. Laura Pomella Karen Chang Heidi Braunger David Parker Derek Shum Mike Hu.
1 Econ 240 C Lecture 3. 2 Time Series Concepts Analysis and Synthesis.
Lecture Week 3 Topics in Regression Analysis. Overview Multiple regression Dummy variables Tests of restrictions 2 nd hour: some issues in cost of capital.
California Expenditure VS. Immigration By: Daniel Jiang, Keith Cochran, Justin Adams, Hung Lam, Steven Carlson, Gregory Wiefel Fall 2003.
So far, we have considered regression models with dummy variables of independent variables. In this lecture, we will study regression models whose dependent.
1 Lecture One Econ 240C. 2 Outline Pooling Time Series and Cross- Section Review: Analysis of Variance –one-way ANOVA –two-way ANOVA Pooling Examples.
GDP Published by: Bureau of Economic Analysis Frequency: Quarterly Period Covered: prior quarter Volatility: Moderate Market significance: very high Web.
1 Lecture One Econ 240C. 2 Einstein’s blackboard, Theory of relativity, Oxford, 1931.
Zhen Tian Jeff Lee Visut Hemithi Huan Zhang Diana Aguilar Yuli Yan A Deep Analysis of A Random Walk.
1 A MONTE CARLO EXPERIMENT In the previous slideshow, we saw that the error term is responsible for the variations of b 2 around its fixed component 
EC220 - Introduction to econometrics (chapter 12)
DURBIN–WATSON TEST FOR AR(1) AUTOCORRELATION
1 PREDICTION In the previous sequence, we saw how to predict the price of a good or asset given the composition of its characteristics. In this sequence,
FIXED EFFECTS REGRESSIONS: WITHIN-GROUPS METHOD The two main approaches to the fitting of models using panel data are known, for reasons that will be explained.
Regression Method.
EC220 - Introduction to econometrics (chapter 8)
What does it mean? The variance of the error term is not constant
Pure Serial Correlation
Welcome to Econ 420 Applied Regression Analysis Study Guide Week Five Ending Wednesday, September 26 (Note: Exam 1 is on September 27)
Random Regressors and Moment Based Estimation Prepared by Vera Tabakova, East Carolina University.
Centre of Full Employment and Equity Slide 2 Short-run models and Error Correction Mechanisms Professor Bill Mitchell Director, Centre of Full Employment.
Christopher Dougherty EC220 - Introduction to econometrics (revision lectures 2011) Slideshow: autocorrelation Original citation: Dougherty, C. (2011)
SPURIOUS REGRESSIONS 1 In a famous Monte Carlo experiment, Granger and Newbold fitted the model Y t =  1 +  2 X t + u t where Y t and X t were independently-generated.
Welcome to Econ 420 Applied Regression Analysis Study Guide Week Four Ending Wednesday, September 19 (Assignment 4 which is included in this study guide.
PARTIAL ADJUSTMENT 1 The idea behind the partial adjustment model is that, while a dependent variable Y may be related to an explanatory variable X, there.
AUTOCORRELATION 1 Assumption C.5 states that the values of the disturbance term in the observations in the sample are generated independently of each other.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 4) Slideshow: exercise 4.5 Original citation: Dougherty, C. (2012) EC220 - Introduction.
2010, ECON Hypothesis Testing 1: Single Coefficient Review of hypothesis testing Testing single coefficient Interval estimation Objectives.
FUNCTIONAL FORMS OF REGRESSION MODELS Application 5.
EC208 – Introductory Econometrics. Topic: Spurious/Nonsense Regressions (as part of chapter on Dynamic Models)
Spurious regressions with variables possessing deterministic trends Regresson Regress Y t on X t and t SPURIOUS REGRESSIONS 1 To motivate the discussion.
TESTING FOR NONSTATIONARITY 1 This sequence will describe two methods for detecting nonstationarity, a graphical method involving correlograms and a more.
NONSTATIONARY PROCESSES 1 In the last sequence, the process shown at the top was shown to be stationary. The expected value and variance of X t were shown.
Partial Equilibrium Framework Empirical Evidence for Argentina ( )
Cointegration in Single Equations: Lecture 5
TESTING FOR NONSTATIONARITY 1 This sequence will describe two methods for detecting nonstationarity, a graphical method involving correlograms and a more.
AUTOCORRELATION 1 Assumption B.5 states that the values of the disturbance term in the observations in the sample are generated independently of each other.
Stationarity and Unit Root Testing Dr. Thomas Kigabo RUSUHUZWA.
Pure Serial Correlation

Introduction to Econometrics, 5th edition Chapter 12: Autocorrelation
Vector AutoRegression models (VARs)
Simple Linear Regression
Presentation transcript:

FITTING MODELS WITH NONSTATIONARY TIME SERIES 1 Detrending Early macroeconomic models tended to produce poor forecasts, despite having excellent sample-period fits. One response was to search for ways of constructing models that avoided the fitting of spurious relationships.

FITTING MODELS WITH NONSTATIONARY TIME SERIES 2 Detrending We will briefly consider three of them: detrending the variables in a relationship, differencing them, and constructing error-correction models.

FITTING MODELS WITH NONSTATIONARY TIME SERIES 3 Detrending For models where the variables possess deterministic trends, the fitting of spurious relationships can be avoided by detrending the variables before use or, equivalently, by including a time trend as a regressor in the model.

FITTING MODELS WITH NONSTATIONARY TIME SERIES 4 Detrending Problems if X t is a random walk However, if the variables are difference-stationary rather than trend-stationary — and for many macroeconomic variables there is evidence that this is the case — the detrending procedure is inappropriate and likely to give rise to misleading results.

FITTING MODELS WITH NONSTATIONARY TIME SERIES 5 Detrending Problems if X t is a random walk H 0 :  2 = 0 rejected more often than it should be (standard error underestimated) In particular, if a random walk X t is regressed on a time trend as in the equation at the top, the null hypothesis H 0 :  2 = 0 is likely to be rejected more often than it should, given the significance level.

FITTING MODELS WITH NONSTATIONARY TIME SERIES 6 Detrending Problems if X t is a random walk H 0 :  2 = 0 rejected more often than it should be (standard error underestimated) Although the least squares estimator of  2 is consistent, and thus will tend to 0 in large samples, its standard error is biased downwards. As a consequence, in finite samples deterministic trends will tend to be detected, even when not present.

FITTING MODELS WITH NONSTATIONARY TIME SERIES 7 Further, if a series is difference-stationary, the procedure does not make it stationary. In the case of a random walk, extracting a non-existent trend in the mean of the series can do nothing to alter the trend in its variance, and the series remains nonstationary. Detrending Problems if X t is a random walk H 0 :  2 = 0 rejected more often than it should be (standard error underestimated) Trend in variance not removed

FITTING MODELS WITH NONSTATIONARY TIME SERIES 8 Detrending Problems if X t is a random walk with drift H 0 :  2 = 0 rejected more often than it should be (standard error underestimated) Trend in variance not removed In the case of a random walk with drift, detrending can remove the drift, but not the trend in the variance.

FITTING MODELS WITH NONSTATIONARY TIME SERIES 9 Detrending Problems if X t is a random walk with drift H 0 :  2 = 0 rejected more often than it should be (standard error underestimated) Trend in variance not removed Thus if X t is a random walk, with or without drift, the problem of spurious regressions is not resolved, and for this reason detrending is not usually considered to be an appropriate procedure.

FITTING MODELS WITH NONSTATIONARY TIME SERIES 10 In early time series studies, if the disturbance term in a model was believed to be subject to severe positive AR(1) autocorrelation, a common rough-and-ready remedy was to regress the model in differences rather than levels. Differencing

FITTING MODELS WITH NONSTATIONARY TIME SERIES 11 Of course differencing overcompensated for the autocorrelation, but if  was near 1, the resulting weak negative autocorrelation was held to be relatively innocuous. Differencing

FITTING MODELS WITH NONSTATIONARY TIME SERIES 12 Unknown to practitioners of the time, the procedure is an effective antidote to spurious regressions. If both Y t and X t are unrelated I(1) processes, they are stationary in the differenced model and the absence of any relationship will be revealed. Differencing

FITTING MODELS WITH NONSTATIONARY TIME SERIES 13 A major shortcoming of differencing is that it precludes the investigation of a long-run relationship. Differencing Problem Short-run dynamics only

FITTING MODELS WITH NONSTATIONARY TIME SERIES 14 In equilibrium  Y =  X = 0, and if one substitutes these values into the second equation, one obtains, not an equilibrium relationship, but an equation in which both sides are 0. Differencing Problem Short-run dynamics only Equilibrium:

FITTING MODELS WITH NONSTATIONARY TIME SERIES 15 An error-correction model is an ingenious way of resolving this problem by combining a long-run cointegrating relationship with short-run dynamics. Error-correction models ADL(1,1)

FITTING MODELS WITH NONSTATIONARY TIME SERIES 16 Suppose that the relationship between two I(1) variables Y t and X t is characterized by an ADL(1,1) model. Error-correction models ADL(1,1)

FITTING MODELS WITH NONSTATIONARY TIME SERIES 17 In equilibrium we would have the relationship shown. This is the cointegrating relationship. Error-correction models ADL(1,1)

FITTING MODELS WITH NONSTATIONARY TIME SERIES 18 The ADL(1,1) relationship may be rewritten to incorporate this relationship. First we subtract Y t–1 from both sides. Error-correction models ADL(1,1)

FITTING MODELS WITH NONSTATIONARY TIME SERIES 19 Then we add  3 X t–1 to the right side and subtract it again. Error-correction models ADL(1,1)

FITTING MODELS WITH NONSTATIONARY TIME SERIES 20 We then rearrange the equation as shown. We will look at the rearrangement, term by term. First, the intercept  1. Error-correction models ADL(1,1)

FITTING MODELS WITH NONSTATIONARY TIME SERIES 21 Next, the term involving Y t–1. Error-correction models ADL(1,1)

FITTING MODELS WITH NONSTATIONARY TIME SERIES 22 Now the next two terms. Error-correction models ADL(1,1)

FITTING MODELS WITH NONSTATIONARY TIME SERIES 23 Finally, the last two terms. Error-correction models ADL(1,1)

FITTING MODELS WITH NONSTATIONARY TIME SERIES 24 Hence we obtain a model that states that the change in Y in any period will be governed by the change in X and the discrepancy between Y t–1 and the value predicted by the cointegrating relationship. Error-correction models ADL(1,1)

FITTING MODELS WITH NONSTATIONARY TIME SERIES 25 The latter term is denoted the error-correction mechanism. The effect of this term is to reduce the discrepancy between Y t and its cointegrating level. The size of the adjustment is proportional to the discrepancy. Error-correction models ADL(1,1)

FITTING MODELS WITH NONSTATIONARY TIME SERIES 26 The point of rearranging the ADL(1,1) model in this way is that, although Y t and X t are both I(1), all of the terms in the regression equation are I(0) and hence the model may be fitted using least squares in the standard way. Error-correction models ADL(1,1)

FITTING MODELS WITH NONSTATIONARY TIME SERIES 27 Of course, the  parameters are not known and the cointegrating term is unobservable. Error-correction models ADL(1,1)

FITTING MODELS WITH NONSTATIONARY TIME SERIES 28 One way of overcoming this problem, known as the Engle–Granger two-step procedure, is to use the values of the parameters estimated in the cointegrating regression to compute the cointegrating term. Error-correction models ADL(1,1)

FITTING MODELS WITH NONSTATIONARY TIME SERIES 29 It can be demonstrated that the estimators of the coefficients of the fitted equation will have the same properties asymptotically as if the true values had been used. Error-correction models ADL(1,1)

FITTING MODELS WITH NONSTATIONARY TIME SERIES 30 The EViews output shows the results of fitting an error-correction model for the demand function for food using the Engle–Granger two-step procedure, on the assumption that the static logarithmic model is a cointegrating relationship. ============================================================ Dependent Variable: DLGFOOD Method: Least Squares Sample(adjusted): Included observations: 44 after adjusting endpoints ============================================================ Variable CoefficientStd. Errort-Statistic Prob. ============================================================ ZFOOD(-1) DLGDPI DLPRFOOD ============================================================ R-squared Mean dependent var Adjusted R-squared S.D. dependent var S.E. of regression Akaike info criter Sum squared resid Schwarz criterion Log likelihood Durbin-Watson stat ============================================================

Dependent Variable: DLGFOOD Method: Least Squares Sample(adjusted): Included observations: 44 after adjusting endpoints ============================================================ Variable CoefficientStd. Errort-Statistic Prob. ============================================================ ZFOOD(-1) DLGDPI DLPRFOOD ============================================================ R-squared Mean dependent var Adjusted R-squared S.D. dependent var S.E. of regression Akaike info criter Sum squared resid Schwarz criterion Log likelihood Durbin-Watson stat ============================================================ FITTING MODELS WITH NONSTATIONARY TIME SERIES 31 In the output, DLGFOOD, DLGDPI, and DLPRFOOD are the differences in the logarithms of expenditure on food, disposable personal income, and the relative price of food, respectively.

============================================================ Dependent Variable: DLGFOOD Method: Least Squares Sample(adjusted): Included observations: 44 after adjusting endpoints ============================================================ Variable CoefficientStd. Errort-Statistic Prob. ============================================================ ZFOOD(-1) DLGDPI DLPRFOOD ============================================================ R-squared Mean dependent var Adjusted R-squared S.D. dependent var S.E. of regression Akaike info criter Sum squared resid Schwarz criterion Log likelihood Durbin-Watson stat ============================================================ FITTING MODELS WITH NONSTATIONARY TIME SERIES 32 ZFOOD(–1), the lagged residual from the cointegrating regression, is the cointegration term.

============================================================ Dependent Variable: DLGFOOD Method: Least Squares Sample(adjusted): Included observations: 44 after adjusting endpoints ============================================================ Variable CoefficientStd. Errort-Statistic Prob. ============================================================ ZFOOD(-1) DLGDPI DLPRFOOD ============================================================ R-squared Mean dependent var Adjusted R-squared S.D. dependent var S.E. of regression Akaike info criter Sum squared resid Schwarz criterion Log likelihood Durbin-Watson stat ============================================================ FITTING MODELS WITH NONSTATIONARY TIME SERIES 33 The coefficient of DLGDPI and DLPRFOOD provide estimates of the short-run income and price elasticities, respectively. As might be expected, they are both quite low.

============================================================ Dependent Variable: DLGFOOD Method: Least Squares Sample(adjusted): Included observations: 44 after adjusting endpoints ============================================================ Variable CoefficientStd. Errort-Statistic Prob. ============================================================ ZFOOD(-1) DLGDPI DLPRFOOD ============================================================ R-squared Mean dependent var Adjusted R-squared S.D. dependent var S.E. of regression Akaike info criter Sum squared resid Schwarz criterion Log likelihood Durbin-Watson stat ============================================================ FITTING MODELS WITH NONSTATIONARY TIME SERIES 34 The coefficient of the cointegrating term indicates that about 15 percent of the disequilibrium divergence tends to be eliminated in one year.

Copyright Christopher Dougherty 2002–2006. This slideshow may be freely copied for personal use