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

Similar documents
Solution to Exercise E6.

Heteroskedasticity and Autocorrelation

F9 F10: Autocorrelation

The Multiple Regression Model Estimation

Econometric Forecasting Overview

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

DEMAND ESTIMATION (PART III)

Christopher Dougherty London School of Economics and Political Science

EC312: Advanced Econometrics Problem Set 3 Solutions in Stata

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

LECTURE 10: MORE ON RANDOM PROCESSES

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

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

Iris Wang.

Lecture 4: Heteroskedasticity

Econometrics Part Three

LECTURE 11. Introduction to Econometrics. Autocorrelation

Using EViews Vox Principles of Econometrics, Third Edition

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

ECON 4230 Intermediate Econometric Theory Exam

Econometrics. 9) Heteroscedasticity and autocorrelation

INTRODUCTORY REGRESSION ANALYSIS

A Guide to Modern Econometric:

E c o n o m e t r i c s

Exercise Sheet 5: Solutions

Economics 308: Econometrics Professor Moody

Heteroscedasticity. Jamie Monogan. Intermediate Political Methodology. University of Georgia. Jamie Monogan (UGA) Heteroscedasticity POLS / 11

LECTURE 13: TIME SERIES I

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

AUTOCORRELATION. Phung Thanh Binh

Making sense of Econometrics: Basics

Intermediate Econometrics

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

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

Semester 2, 2015/2016

Linear Regression with Time Series Data

Multiple Regression Analysis

Economics 620, Lecture 13: Time Series I

Introduction to Econometrics Chapter 6

FORECASTING METHODS AND APPLICATIONS SPYROS MAKRIDAKIS STEVEN С WHEELWRIGHT. European Institute of Business Administration. Harvard Business School

1 The Multiple Regression Model: Freeing Up the Classical Assumptions

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

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

ECON 366: ECONOMETRICS II. SPRING TERM 2005: LAB EXERCISE #10 Nonspherical Errors Continued. Brief Suggested Solutions

Lecture 6: Dynamic Models

Topic 7: Heteroskedasticity

CHAPTER 6: SPECIFICATION VARIABLES

SERIAL CORRELATION. In Panel data. Chapter 5(Econometrics Analysis of Panel data -Baltagi) Shima Goudarzi

TIME SERIES DATA ANALYSIS USING EVIEWS

Econometrics Multiple Regression Analysis: Heteroskedasticity

Multiple Regression Analysis: Heteroskedasticity

Fitting a regression model

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

Econometrics - 30C00200

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

Development of Short-term Demand Forecasting Model And its Application in Analysis of Resource Adequacy. For discussion purposes only Draft

Dynamic Regression Models (Lect 15)

Eco and Bus Forecasting Fall 2016 EXERCISE 2

Making sense of Econometrics: Basics

Heteroskedasticity. Occurs when the Gauss Markov assumption that the residual variance is constant across all observations in the data set

Reliability of inference (1 of 2 lectures)

Economics 536 Lecture 7. Introduction to Specification Testing in Dynamic Econometric Models

A Second Course in Statistics: Regression Analysis

388 Index Differencing test ,232 Distributed lags , 147 arithmetic lag.

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

Environmental Econometrics

Graduate Econometrics Lecture 4: Heteroskedasticity

Heteroskedasticity. (In practice this means the spread of observations around any given value of X will not now be constant)

Chapter 8 Heteroskedasticity

Exercise Sheet 6: Solutions

Introduction to Eco n o m et rics

ECON 497: Lecture Notes 10 Page 1 of 1

Applied Econometrics. Professor Bernard Fingleton

Formulary Applied Econometrics

x i = 1 yi 2 = 55 with N = 30. Use the above sample information to answer all the following questions. Show explicitly all formulas and calculations.

EC4051 Project and Introductory Econometrics

Introduction to Econometrics. Heteroskedasticity

Regression Analysis II

Diagnostics of Linear Regression

Exercises (in progress) Applied Econometrics Part 1

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

Heteroskedasticity. Part VII. Heteroskedasticity

11.1 Gujarati(2003): Chapter 12

Econometrics I. Professor William Greene Stern School of Business Department of Economics 25-1/25. Part 25: Time Series

2 Prediction and Analysis of Variance

Empirical Project, part 1, ECO 672

Answers: Problem Set 9. Dynamic Models

Bivariate Relationships Between Variables

Økonomisk Kandidateksamen 2004 (II) Econometrics 2 June 14, 2004

Economics Introduction to Econometrics - Fall 2007 Final Exam - Answers

Maria Elena Bontempi Roberto Golinelli this version: 5 September 2007

Econometría 2: Análisis de series de Tiempo

The regression model with one fixed regressor cont d

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

Section 2 NABE ASTEF 65

FORECASTING. Methods and Applications. Third Edition. Spyros Makridakis. European Institute of Business Administration (INSEAD) Steven C Wheelwright

2. Linear regression with multiple regressors

Heteroscedasticity 1

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

UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS

Transcription:

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

Contents 1 E7.1. Beach umbrella rental (umbrellas.gdt). 2 E7.2. Holiday cottages (cottages.gdt). 3 E7.3. Soy milk (soymilk.gdt). Pilar González and Susan Orbe OCW 2014 E7 Heteroskedasticity and Autocorrelation 2 / 11

Contents 1 E7.1. Beach umbrella rental (umbrellas.gdt). 2 E7.2. Holiday cottages (cottages.gdt). 3 E7.3. Soy milk (soymilk.gdt). Pilar González and Susan Orbe OCW 2014 E7 Heteroskedasticity and Autocorrelation 3 / 11

E7.1. Beach umbrella rental. Part I. Simple Linear Regression Model. Estimate a simple linear regression model to determine the number of rented umbrellas as a function of the temperature: S t = α + β T t + u t t = 1,..., 22 (1) a. Estimate the coefficients of the model by OLS. b. Check whether the variance of the error term is constant using the White test. c. Is there any evidence in the sample that the error term follow a first order autoregressive process (use the Durbin-Watson test). d. Given the results of the previous tests, does model (1) satisfy the assumptions of the linear regression model? e. Test whether the variable temperature is statistically significant. Pilar González and Susan Orbe OCW 2014 E7 Heteroskedasticity and Autocorrelation 4 / 11

E7.1. Beach umbrella rental. Part II. General Linear Regression Model. Estimate a linear regression model to determine the number of rented umbrellas as a function of temperature, price and whether it is a windy week or not: U t = γ 1 + γ 2 T t + γ 3 P t + γ 4 W W t + w t t = 1,..., 22 (2) a. Estimate the model by OLS and save the residuals. b. Plot the OLS residuals against time and comment on the results. b. Plot the OLS residuals against P and comment on the results. c. Test the presence of heteroskedasticity in the error term. d. Test whether the error term is autocorrelated. e. Comment on the results of the tests. Pilar González and Susan Orbe OCW 2014 E7 Heteroskedasticity and Autocorrelation 5 / 11

Contents 1 E7.1. Beach umbrella rental (umbrellas.gdt). 2 E7.2. Holiday cottages (cottages.gdt). 3 E7.3. Soy milk (soymilk.gdt). Pilar González and Susan Orbe OCW 2014 E7 Heteroskedasticity and Autocorrelation 6 / 11

E7.2. Holiday cottages. Model A. Consider the linear regression model that specifies a linear relationship among room prices and the number of rooms and the price of breakfast: RP i = α 1 + α 2 NR i + α 3 BP i + u i (3) a. Estimate the model by OLS and save the residuals. b. Comment on the residuals plots against each of the explanatory variables of the model. c. Is there any evidence in the sample that the variance of the error term increases with the price of breakfast? Use the Goldfield-Quandt test. d. Given the results obtained, test the statistical significance of the variable price of breakfast. Pilar González and Susan Orbe OCW 2014 E7 Heteroskedasticity and Autocorrelation 7 / 11

E7.2. Holiday cottages. Model B. Include two more explanatory variables in model (3): access to WiFi and location. RP i = λ 1 + λ 2 NR i + λ 3 BP i + λ 4 W IF IF i + λ 5 W IF IP i + λ 6 LOCC i + u i (4) where W IF IF takes the value 1 if the holiday cottage offers free WiFi access and 0 otherwise; W IF IP takes the value 1 if the holiday cottage offers WiFi for an additional fee and 0 otherwise; and, LOCC takes the value 1 if the holiday cottage is in the town center and 0 otherwise. a. Estimate the coefficients of the model by OLS. Check whether the variance of the error term depends on the explanatory variables of the model using the White test. b. Given the conclusion of the test, how would you specify and estimate a regression model to determine the price of a room? c. Test whether the price of a room increase with the number of rooms. Pilar González and Susan Orbe OCW 2014 E7 Heteroskedasticity and Autocorrelation 8 / 11

Contents 1 E7.1. Beach umbrella rental (umbrellas.gdt). 2 E7.2. Holiday cottages (cottages.gdt). 3 E7.3. Soy milk (soymilk.gdt). Pilar González and Susan Orbe OCW 2014 E7 Heteroskedasticity and Autocorrelation 9 / 11

E7.3. Soy milk. Part I. General Linear Regression Model. Consider the general linear regression model where sales depend on prices and advertising expenditures as follows: S t = β 1 + β 2 P t + β 3 AE t + β 4 AE 2 t + u t t = 1990 : 1,..., 2012 : 6. (5) a. Estimate the coefficients by OLS and save the residuals. b. Comment on the time series residuals plot. c. Does the error term show first order autocorrelation? Use the Durbin-Watson test. d. Does the error term show first order autocorrelation? Use the Breusch-Godfrey test. e. Does the error term show autocorrelation up to order 12? Use the Breusch-Godfrey test. f. Given the results obtained in the tests, what are your conclusions? Pilar González and Susan Orbe OCW 2014 E7 Heteroskedasticity and Autocorrelation 10 / 11

E7.3. Soy milk. Part II. Trend. Consider the regression model in Part I and include a time trend as follows: S t = β 1 + β 2 P t + β 3 AE t + β 4 AE 2 t + β 5 time + β 6 time 2 + β 7 time 3 + u t (6) a. Estimate the model by OLS. b. Is there any evidence in the sample of autocorrelation in the error term? c. Is the trend statistically significant? d. Which is the most appropriate specification for the trend? Linear? Quadratic? Cubic? Pilar González and Susan Orbe OCW 2014 E7 Heteroskedasticity and Autocorrelation 11 / 11