Applied Econometrics. Applied Econometrics. Applied Econometrics. Applied Econometrics. What is Autocorrelation. Applied Econometrics

Similar documents
Econometrics. Week 4. Fall Institute of Economic Studies Faculty of Social Sciences Charles University in Prague

LECTURE 11. Introduction to Econometrics. Autocorrelation

Iris Wang.

F9 F10: Autocorrelation

WORKSHOP. Introductory Econometrics with EViews. Asst. Prof. Dr. Kemal Bağzıbağlı Department of Economic

Likely causes: The Problem. E u t 0. E u s u p 0

Econometrics Part Three

Heteroskedasticity and Autocorrelation

AUTOCORRELATION. Phung Thanh Binh

Lecture 6: Dynamic Models

Reading Assignment. Serial Correlation and Heteroskedasticity. Chapters 12 and 11. Kennedy: Chapter 8. AREC-ECON 535 Lec F1 1

Econometric Forecasting Overview

1. You have data on years of work experience, EXPER, its square, EXPER2, years of education, EDUC, and the log of hourly wages, LWAGE

Autocorrelation. Think of autocorrelation as signifying a systematic relationship between the residuals measured at different points in time

Making sense of Econometrics: Basics

Section 2 NABE ASTEF 65

Exercise Sheet 6: Solutions

Using EViews Vox Principles of Econometrics, Third Edition

11.1 Gujarati(2003): Chapter 12

Outline. Possible Reasons. Nature of Heteroscedasticity. Basic Econometrics in Transportation. Heteroscedasticity

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

Answers: Problem Set 9. Dynamic Models

ECON2228 Notes 10. Christopher F Baum. Boston College Economics. cfb (BC Econ) ECON2228 Notes / 48

LECTURE 10: MORE ON RANDOM PROCESSES

FinQuiz Notes

Heteroskedasticity. y i = β 0 + β 1 x 1i + β 2 x 2i β k x ki + e i. where E(e i. ) σ 2, non-constant variance.

Christopher Dougherty London School of Economics and Political Science

Econ 300/QAC 201: Quantitative Methods in Economics/Applied Data Analysis. 17th Class 7/1/10

Contents. Part I Statistical Background and Basic Data Handling 5. List of Figures List of Tables xix

Diagnostics of Linear Regression

Reliability of inference (1 of 2 lectures)

ECON2228 Notes 10. Christopher F Baum. Boston College Economics. cfb (BC Econ) ECON2228 Notes / 54

Week 11 Heteroskedasticity and Autocorrelation

Economics 308: Econometrics Professor Moody

DEMAND ESTIMATION (PART III)

MODELLING TIME SERIES WITH CONDITIONAL HETEROSCEDASTICITY

Linear Regression with Time Series Data

Exercise Sheet 5: Solutions

OLS Assumptions Violation and Its Treatment: An Empirical Test of Gross Domestic Product Relationship with Exchange Rate, Inflation and Interest Rate

1 The Multiple Regression Model: Freeing Up the Classical Assumptions

Exercise E7. Heteroskedasticity and Autocorrelation. Pilar González and Susan Orbe. Dpt. Applied Economics III (Econometrics and Statistics)

Autocorrelation or Serial Correlation

TIME SERIES DATA ANALYSIS USING EVIEWS

Simultaneous Equation Models Learning Objectives Introduction Introduction (2) Introduction (3) Solving the Model structural equations

MULTIPLE REGRESSION AND ISSUES IN REGRESSION ANALYSIS

1 Graphical method of detecting autocorrelation. 2 Run test to detect autocorrelation

ACE 564 Spring Lecture 8. Violations of Basic Assumptions I: Multicollinearity and Non-Sample Information. by Professor Scott H.

Making sense of Econometrics: Basics

LATVIAN GDP: TIME SERIES FORECASTING USING VECTOR AUTO REGRESSION

How to Detect and Remove Temporal. Autocorrelation in Vehicular Crash Data.

Økonomisk Kandidateksamen 2004 (I) Econometrics 2. Rettevejledning

Multiple Regression Analysis

Auto correlation 2. Note: In general we can have AR(p) errors which implies p lagged terms in the error structure, i.e.,

ECON 312 FINAL PROJECT

Stationary and nonstationary variables

Chapter 5. Classical linear regression model assumptions and diagnostics. Introductory Econometrics for Finance c Chris Brooks

1/34 3/ Omission of a relevant variable(s) Y i = α 1 + α 2 X 1i + α 3 X 2i + u 2i

Economics 620, Lecture 13: Time Series I

Empirical Economic Research, Part II

Bivariate Relationships Between Variables

Reading Assignment. Distributed Lag and Autoregressive Models. Chapter 17. Kennedy: Chapters 10 and 13. AREC-ECON 535 Lec G 1

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

Econ 510 B. Brown Spring 2014 Final Exam Answers

LECTURE 13: TIME SERIES I

Agricultural and Applied Economics 637 Applied Econometrics II

Econometrics Summary Algebraic and Statistical Preliminaries

Linear Regression with Time Series Data

ECON 4230 Intermediate Econometric Theory Exam

in the time series. The relation between y and x is contemporaneous.

Econometrics I KS. Module 2: Multivariate Linear Regression. Alexander Ahammer. This version: April 16, 2018

Introduction to Econometrics. Heteroskedasticity

Topic 7: HETEROSKEDASTICITY

ECON 120C -Fall 2003 PROBLEM SET 2: Suggested Solutions. By substituting f=f0+f1*d and g=g0+... into Model 0 we obtain Model 1:

Freeing up the Classical Assumptions. () Introductory Econometrics: Topic 5 1 / 94

Panel Data Models. Chapter 5. Financial Econometrics. Michael Hauser WS17/18 1 / 63

Econometrics. 9) Heteroscedasticity and autocorrelation

Macroeconometrics. Christophe BOUCHER. Session 4 Classical linear regression model assumptions and diagnostics

Making sense of Econometrics: Basics

Modified Variance Ratio Test for Autocorrelation in the Presence of Heteroskedasticity

LINEAR REGRESSION ANALYSIS. MODULE XVI Lecture Exercises

Linear Regression with Time Series Data

Topic 7: Heteroskedasticity

CHAPTER 6: SPECIFICATION VARIABLES

Course information EC2020 Elements of econometrics

Testing methodology. It often the case that we try to determine the form of the model on the basis of data

The GARCH Analysis of YU EBAO Annual Yields Weiwei Guo1,a

Economics 471: Econometrics Department of Economics, Finance and Legal Studies University of Alabama

INTRODUCTORY REGRESSION ANALYSIS

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

An Improved Specification Test for AR(1) versus MA(1) Disturbances in Linear Regression Models

CHAPTER 21: TIME SERIES ECONOMETRICS: SOME BASIC CONCEPTS

Chapter 8 Heteroskedasticity

Eksamen på Økonomistudiet 2006-II Econometrics 2 June 9, 2006

Formulary Applied Econometrics

Spatial Regression. 9. Specification Tests (1) Luc Anselin. Copyright 2017 by Luc Anselin, All Rights Reserved

Business Economics BUSINESS ECONOMICS. PAPER No. : 8, FUNDAMENTALS OF ECONOMETRICS MODULE No. : 3, GAUSS MARKOV THEOREM

Lab 11 - Heteroskedasticity

Wooldridge, Introductory Econometrics, 4th ed. Chapter 15: Instrumental variables and two stage least squares

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

Regression Analysis. BUS 735: Business Decision Making and Research. Learn how to detect relationships between ordinal and categorical variables.

Transcription:

Autocorrelation 1. What is 2. What causes 3. First and higher orders 4. Consequences of 5. Detecting 6. Resolving Learning Objectives 1. Understand meaning of in the CLRM 2. What causes 3. Distinguish among first and higher orders of 4. Understand consequences of on OLS estimates 5. Detect through graph inspection 6. Detect through formal econometric tests 7. Distinguish among the wide range of available tests for detecting 8. Perform tests using econometric software 9. Resolve using econometric software What is Autocorrelation is An Assumption of the CLRM states that the covariances and correlations between different disturbances are all zero: cov(u t, u s )=0 for all t s This assumption states that the disturbances u t and u s are independently distributed, which is called serial independence What is Autocorrelation (2) If this assumption is no longer valid, then the disturbances are not pairwise independent, but pairwise autocorrelated (or serially correlated). This means that an error occurring at period t may be carried over to the next period t+1. Autocorrelation most likely to occur in time series data. In cross-sectional we can change the arrangement of the data without altering the results. What Causes Autocorrelation One factor that can cause is omitted variables. Suppose Y t is related to X 2t and X 3t, but we wrongfully do not include X 3t in our model. The effect of X 3t will be captured by the disturbances u t. If X 3t like many economic series exhibit a trend over time, then X 3t depends on X 3t-1, X 3t -2 and so on. Similarly then u t depends on u t-1, u t-2 and so on. What Causes Autocorrelation (2) Another possible reason is misspecification. Suppose Y t is related to X 2t with a quadratic relationship: Y t =β 1 +β 2 X 2 2t+u t but we wrongfully assume and estimate a straight line: Y t =β 1 +β 2 X 2t +u t Then the error term obtained from the straight line will depend on X 2 2t. 1

What Causes Autocorrelation (3) A third reason is systematic errors in measurement. Suppose a company updates its inventory at a given period in time. If a systematic error occurred then the cumulative inventory stock will exhibit accumulated measurement errors. These errors will show up as an autocorrelated procedure. First-order Autocorrelation The simplest and most commonly observed is the first-order. Consider the multiple regression model: Y t =β 1 +β 2 X 2t +β 3 X 3t +β 4 X 4t + +β k X kt +u t in which the current observation of the error term u t is a function of the previous (lagged) observation of the error term: u t =ρu t-1 +e t First-order Autocorrelation (2) The coefficient ρ is called the first-order coefficient and takes values from -1 to +1. It is obvious that the size of ρ will determine the strength of serial correlation. There can be three different cases. First-order Autocorrelation (3) (a) If ρ is zero, then we have no. (b) If ρ approaches unity, the value of the previous observation of the error becomes more important in determining the value of the current error and therefore high degree of exists. In this case we have positive. (c) If ρ approaches -1, we have high degree of negative. First-order Autocorrelation (4) First-order Autocorrelation (5) 2

Higher-order Autocorrelation Second order when: u t =ρ 1 u t-1 + ρ 2 u t-2 +et Third order when: u t =ρ 1 u t-1 + ρ 2 u t-2 +ρ 3 u t-3 +e t p-th order when: u t =ρ 1 u t-1 + ρ 2 u t-2 +ρ 3 u t-3 + + ρ p u t-p +e t Consequences of Autocorrelation 1. OLS estimators still unbiased and consistent, because both unbiasedness and consistency do not depend on assumption 6, which in this case is violated. 2. OLS estimators will be inefficient and not BLUE. 3. Estimated variances of regression coefficients will be biased and inconsistent, so hypothesis testing no longer valid. Mostly, R 2 will be overestimated and t-statistics will tend to be higher. Detecting Autocorrelation Two ways in general. First is informal, done through graphs, and therefore called graphical method. Second is through formal tests for, such as: 1. Durbin Watson test 2. Breusch-Godfrey test 3. Durbin s h test (for the presence of lagged dependent variables) 4. Engle s ARCH test Detecting Autocorrelation (2) Take the following series (quarterly data from 1985q1 to 1994q2): lcons = the consumer s expenditure on food ldisp = disposable income lprice = the relative price index of food Typing the following command in Eviews : ls lcons c ldisp lprice gives the regression results Detecting Autocorrelation (3) Then we can store the residuals of this regression in a vector by typing the command: genr res01=resid And a plot of the residuals can be obtained with: plot res01 While a scatter of the residuals against their lagged terms can be obtained by: scat res01(-1) res01 Detecting Autocorrelation (4).12.08.04.00 -.04 -.08 85 86 87 88 89 90 91 92 93 RES01 3

Detecting Autocorrelation (5) Durbin Watson Test RES01.12.08.04.00 -.04 The following assumptions should be satisfied: 1. The regression model includes a constant 2. Autocorrelation is assumed to be of firstorder only 3. The equation does not include a lagged dependent variable as explanatory variable -.08 -.08 -.04.00.04.08.12 RES01(-1) Durbin Watson Test (2) Durbin Watson Test (3) Step 1: Estimate model by OLS and obtain the residuals Step 2: Calculate DW statistic Step 3: Construct table with calculated DW statistic and the d U, d L, 4-d U and 4-d L critical values. Step 4: Conclude +ve autoc Zone of indecision No Zone of indecision -ve autoc 0 d L d U 2 4-d U 4-d L 4 Durbin Watson Test (4) Drawbacks of the DW test: 1. May give inconclusive results 2. Not applicable when a lagged dependent variable is used 3. Can t take into account higher order of Breusch-Godfrey Test A Lagrange Multiplier test that resolves the drawbacks of the DW test. Consider the model: Y t =β 1 +β 2 X 2t +β 3 X 3t +β 4 X 4t + +β k X kt +u t where: u t =ρ 1 u t-1 + ρ 2 u t-2 +ρ 3 u t-3 + + ρ p u t-p +e t 4

Correlograms and Q-statistics If you select View/Residual Diagnostics/Correlogram-Q-statistics on the equation toolbar, EViews will display the and partial functions of the residuals, together with the Ljung-Box Q- statistics for high-order serial correlation. If there is no serial correlation in the residuals, the s and partial s at all lags should be nearly zero, and all Q-statistics should be insignificant with large p-values. Serial Correlation LM Test Selecting View/Residual Diagnostics/Serial Correlation LM Test carries out the Breusch-Godfrey Lagrange multiplier test for general, high-order, ARMA errors. In the Lag Specification dialog box, you should enter the highest order of serial correlation to be tested. The null hypothesis of the test is that there is no serial correlation in the residuals up to the specified order. EViews reports a statistic labeled Fstatistic and an Obs*R-squared ( the number of observations times the R-square) statistic. Breusch-Godfrey Test (2) Combining those two we get: Y t =β 1 +β 2 X 2t +β 3 X 3t +β 4 X 4t + +β k X kt + +ρ 1 u t-1 + ρ 2 u t-2 +ρ 3 u t-3 + + ρ p u t-p +e t The null and the alternative hypotheses are: H 0 : ρ 1 = ρ 2 = = ρ p =0 no H a : at least one of the ρ s is not zero, thus, Breusch-Godfrey Test (3) Step 1: Estimate model and obtain the residuals Step 2: Run full LM model with the number of lags used being determined by the assumed order of Step 3: Compute LM statistic = (n-ρ)r 2 from the LM model and compare it with the chi-square critical value Step 4: Conclude 5