LECTURE 11. Introduction to Econometrics. Autocorrelation

Similar documents
LECTURE 10. Introduction to Econometrics. Multicollinearity & Heteroskedasticity

Econometrics Part Three

LECTURE 10: MORE ON RANDOM PROCESSES

Iris Wang.

MULTIPLE REGRESSION AND ISSUES IN REGRESSION ANALYSIS

FinQuiz Notes

F9 F10: Autocorrelation

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

ECON 4230 Intermediate Econometric Theory Exam

AUTOCORRELATION. Phung Thanh Binh

Econometrics. 9) Heteroscedasticity and autocorrelation

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

Week 11 Heteroskedasticity and Autocorrelation

REED TUTORIALS (Pty) LTD ECS3706 EXAM PACK

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

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

CHAPTER 6: SPECIFICATION VARIABLES

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

LECTURE 6. Introduction to Econometrics. Hypothesis testing & Goodness of fit

Diagnostics of Linear Regression

Econometrics Summary Algebraic and Statistical Preliminaries

6. Assessing studies based on multiple regression

Section 2 NABE ASTEF 65

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

Making sense of Econometrics: Basics

ECON 497: Lecture Notes 10 Page 1 of 1

Answers: Problem Set 9. Dynamic Models

Economics 308: Econometrics Professor Moody

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

Heteroskedasticity and Autocorrelation

LECTURE 5. Introduction to Econometrics. Hypothesis testing

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

Econometrics - 30C00200

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

DEMAND ESTIMATION (PART III)

Multiple Regression Analysis: Heteroskedasticity

Christopher Dougherty London School of Economics and Political Science

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

Introduction to Econometrics. Heteroskedasticity

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

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

CHAPTER 21: TIME SERIES ECONOMETRICS: SOME BASIC CONCEPTS

Econometrics. 7) Endogeneity

Internal vs. external validity. External validity. This section is based on Stock and Watson s Chapter 9.

11.1 Gujarati(2003): Chapter 12

Semester 2, 2015/2016

Econometrics 2, Class 1

Linear Regression with Time Series Data

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

2. Linear regression with multiple regressors

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

Reliability of inference (1 of 2 lectures)

LECTURE 13: TIME SERIES I

Eco and Bus Forecasting Fall 2016 EXERCISE 2

Lecture 6: Dynamic Models

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

Heteroscedasticity 1

ECON 497: Lecture 4 Page 1 of 1

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

Multiple Regression Analysis

1 Motivation for Instrumental Variable (IV) Regression

10. Time series regression and forecasting

Statistics for Managers using Microsoft Excel 6 th Edition

FinQuiz Notes

Econ 423 Lecture Notes: Additional Topics in Time Series 1

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

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

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

Ref.: Spring SOS3003 Applied data analysis for social science Lecture note

Lecture 5: Omitted Variables, Dummy Variables and Multicollinearity

Introductory Econometrics

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:

Contest Quiz 3. Question Sheet. In this quiz we will review concepts of linear regression covered in lecture 2.

Econometric Forecasting Overview

ECON3327: Financial Econometrics, Spring 2016

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

Midterm Examination #2 - SOLUTION

Rockefeller College University at Albany

VII. Serially Correlated Residuals/ Autocorrelation

Introduction to Econometrics

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

Econometrics Honor s Exam Review Session. Spring 2012 Eunice Han

Empirical Market Microstructure Analysis (EMMA)

ECONOMETRICS HONOR S EXAM REVIEW SESSION

Review of Econometrics

3 Time Series Regression

Föreläsning /31

1 The Multiple Regression Model: Freeing Up the Classical Assumptions

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

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

Problem Set 2: Box-Jenkins methodology

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

Final Exam. Question 1 (20 points) 2 (25 points) 3 (30 points) 4 (25 points) 5 (10 points) 6 (40 points) Total (150 points) Bonus question (10)

2) For a normal distribution, the skewness and kurtosis measures are as follows: A) 1.96 and 4 B) 1 and 2 C) 0 and 3 D) 0 and 0

Empirical Economic Research, Part II

Econ107 Applied Econometrics

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

Applied Econometrics (MSc.) Lecture 3 Instrumental Variables

Chapter 16. Simple Linear Regression and Correlation

Transcription:

LECTURE 11 Introduction to Econometrics Autocorrelation November 29, 2016 1 / 24

ON PREVIOUS LECTURES We discussed the specification of a regression equation Specification consists of choosing: 1. correct independent variables 2. correct functional form 3. correct form of the stochastic error term We talked about the choice of independent variables and their functional form We started to talk about the form of the error term - we discussed heteroskedasticity 2 / 24

ON TODAY S LECTURE We will finish the discussion of the form of the error term by talking about autocorrelation (or serial correlation) We will learn what is the nature of the problem what are its consequences how it is diagnosed what are the remedies available 3 / 24

NATURE OF AUTOCORRELATION Observations of the error term are correlated with each other Cov(ε i, ε j ) 0, i j Violation of one of the classical assumptions Can exist in any data in which the order of the observations has some meaning - most frequently in time-series data Particular form of autocorrelation - AR(p) process: ε t = ρ 1 ε t 1 + ρ 2 ε t 2 +... + ρ p ε t p + u t ut is a classical (not autocorrelated) error term ρk are autocorrelation coefficients (between -1 and 1) 4 / 24

EXAMPLES OF PURE AUTOCORRELATION Distribution of the error term has autocorrelation nature First order autocorrelation ε t = ρ 1 ε t 1 + u t positive serial correlation: ρ 1 is positive negative serial correlation: ρ1 is negative no serial correlation: ρ1 is zero positive autocorrelation very common in time series data e.g.: a shock to GDP persists for more than one period Seasonal autocorrelation (in quarterly data) ε t = ρ 4 ε t 4 + u t 5 / 24

EXAMPLES OF IMPURE AUTOCORRELATION Autocorrelation caused by specification error in the equation: omitted variable incorrect functional form How can misspecification cause autocorrelation in the error term? Recall that the error term includes the omitted variables, nonlinearities, measurement error, and the classical error term. If we omit a serially correlated variable, it is included in the error term, causing the autocorrelation problem. Impure autocorrelation can be corrected by better choice of specification (as opposed to pure autocorrelation). 6 / 24

AUTOCORRELATION Y X 7 / 24

CONSEQUENCES OF AUTOCORRELATION 1. Estimated coefficients ( β) remain unbiased and consistent 2. Standard errors of coefficients (s.e.( β)) are biased (inference is incorrect) serially correlated error term causes the dependent variable to fluctuate in a way that the OLS estimation procedure attributes to the independent variable Serial correlation typically makes OLS underestimate the standard errors of coefficients therefore we find t scores that are incorrectly too high The same consequences as for the heteroskedasticity 8 / 24

DURBIN-WATSON TEST FOR AUTOCORRELATION Used to determine if there is a first-order serial correlation by examining the residuals of the equation Assumptions (criteria for using this test): The regression includes the intercept If autocorrelation is present, it is of AR(1) type: ε t = ρε t 1 + u t The regression does not include a lagged dependent variable 9 / 24

DURBIN-WATSON TEST FOR AUTOCORRELATION Durbin-Watson d statistic (for T observations): d = T (e t e t 1 ) 2 t=2 T e 2 t t=1 2(1 ρ) where ρ is the autocorrelation coefficient Values: 1. Extreme positive serial correlation: d 0 2. Extreme negative serial correlation: d 4 3. No serial correlation: d 2 10 / 24

USING THE DURBIN-WATSON TEST 1. Estimate the equation by OLS, save the residuals 2. Calculate the d statistic 3. Determine the sample size T and the number of explanatory variables (excluding the intercept!) k 4. Find the upper critical value d U and the lower critical value d L for T and k in statistical tables 5. Evaluate the test as one-sided or two-sided (see next slides) 11 / 24

ONE-SIDED DURBIN-WATSON TEST For cases when we consider only positive serial correlation as an option Hypothesis: H 0 : ρ 0 H A : ρ > 0 (no positive serial correlation) (positive serial correlation) Decision rule: if d < d L reject H 0 if d > d U do not reject H 0 if d L d d U inconclusive 12 / 24

DURBIN-WATSON CRITICAL VALUES FOR ONE-SIDED TEST 13 / 24

TWO-SIDED DURBIN-WATSON TEST For cases when we consider both signs of serial correlation Hypothesis: H 0 : ρ = 0 H A : ρ 0 (no serial correlation) (serial correlation) Decision rule: if d < dl reject H 0 if d > 4 dl reject H 0 if d > du do not reject H 0 if d < 4 du do not reject H 0 otherwise inconclusive 14 / 24

DURBIN-WATSON CRITICAL VALUES FOR TWO-SIDED TEST 15 / 24

EXAMPLE Estimating housing prices in the UK Quarterly time series data on prices of a representative house in UK (in ) Explanatory variable: GDP (in billions of ) Time span: 1975 Q1-2011 Q2 All series are seasonally adjusted and in real prices (i.e. adjusted for inflation) 16 / 24

EXAMPLE 220000 200000 Price of representative house 180000 160000 140000 120000 100000 80000 60000 1975 1980 1985 1990 1995 2000 2005 2010 17 / 24

EXAMPLE 18 / 24

EXAMPLE We test for positive serial correlation: H 0 : ρ 0 H A : ρ > 0 (no positive serial correlation) (positive serial correlation) One-sided DW critical values at 95% confidence for T = 146 and k = 1 are: Decision rule: d L = 1.72 and d U = 1.74 if d < 1.72 reject H0 if d > 1.74 do not reject H0 if 1.72 d 1.74 inconclusive Since d = 0.02 < 1.72, we reject the null hypothesis of no positive serial correlation 19 / 24

ALTERNATIVE APPROACH TO AUTOCORRELATION TESTING Suppose we suspect the stochastic error term to be AR(p) ε t = ρ 1 ε t 1 + ρ 2 ε t 2 +... + ρ p ε t p + u t Since OLS is consistent even under autocorrelation, the residuals are consistent estimates of the stochastic error term Hence, it is sufficient to: 1. Estimate the original model by OLS, save the residuals e t 2. Regress e t = ρ 1 e t 1 + ρ 2 e t 2 +... + ρ p e t p + u t 3. Test if ρ 1 = ρ 2 =... = ρ p = 0 using the standard F-test 20 / 24

BACK TO EXAMPLE 21 / 24

BACK TO EXAMPLE 22 / 24

REMEDY: WHITE ROBUST STANDARD ERRORS Note that autocorrelation does not lead to inconsistent estimates, only to incorrect inference - similar to heteroskedasticity problem We can keep the estimated coefficients, and only adjust the standard errors The White robust standard errors solve not only heteroskedasticity, but also serial correlation Note also that all derived results hold if the assumption Cov(x, ε) = 0 is not violated First make sure the specification of the model is correct, only then try to correct for the form of an error term! 23 / 24

SUMMARY Autocorrelation does not lead to inconsistent estimates, but it makes the inference wrong (estimated coefficients are correct, but their standard errors are not) It can be diagnosed using Durbin-Watson test Analysis of residuals It can be remedied by White robust standard errors Readings: Studenmund, Chapter 9 Wooldridge, Chapter 12 24 / 24