time series econometrics for the 21st centurybhansen/papers/jeeslides.pdftime y1 y2 bruce hansen...

22
Time Series Econometrics For the 21st Century by Bruce E. Hansen Department of Economics University of Wisconsin January 2017 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 1 / 22

Upload: others

Post on 13-Aug-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Time Series Econometrics For the 21st Centurybhansen/papers/jeeslides.pdftime y1 y2 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22 Spurious! Both

Time Series EconometricsFor the 21st Century

by

Bruce E. Hansen

Department of EconomicsUniversity of Wisconsin

January 2017

Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 1 / 22

Page 2: Time Series Econometrics For the 21st Centurybhansen/papers/jeeslides.pdftime y1 y2 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22 Spurious! Both

Overview

Most U.S. undergraduate economic students do not pursue PhDs

Many work for firms and government

They see, work with, and analyze time-series data

Time-series tools are useful for such work

Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 2 / 22

Page 3: Time Series Econometrics For the 21st Centurybhansen/papers/jeeslides.pdftime y1 y2 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22 Spurious! Both

Core Models

Autoregressive (AR)

yt = α+ φ1yt−1 + · · ·+ φpyt−p + et

Regressionyt = α+ δ0xt + et

Distributed Lag (DL)

yt = α+ δ0xt + δ1xt−1 + · · ·+ δqxt−q + et

Autoregressive-Distributed Lag (ADL)

yt = α+ φ1yt−1 + · · ·+ φpyt−p + δ0xt + δ1xt−1 + · · ·+ δqxt−q + et

Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 3 / 22

Page 4: Time Series Econometrics For the 21st Centurybhansen/papers/jeeslides.pdftime y1 y2 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22 Spurious! Both

Core Insights for Core Time-Series Models

1 The coeffi cients can be estimated by OLS2 The appropriate standard error (robust or HAC) is important3 The AR model helps understand serial correlation.4 The coeffi cients in the DL and ADL can be interpreted as multipliers.5 Multipliers are structural under exogeneity6 Lags may be selected by AIC, not testing.7 Spurious regression8 Parameter change.9 Use ADL model for one-step-ahead point forecasts.10 Point forecasts should be combined with interval forecasts.11 Multi-step forecasts can use a multi-step ADL model12 Multi-step point forecasts should be accompanied by fan charts.

Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 4 / 22

Page 5: Time Series Econometrics For the 21st Centurybhansen/papers/jeeslides.pdftime y1 y2 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22 Spurious! Both

Standard Errors

Three methods popular for time-seriesI Classical (homoskedastic)I Robust (Heteroskedastic)I HAC (Newey-West)

Classical (old-fashioned) are not used in contemporary economics.I Should only be taught as a stepping stone

RobustI Appropriate for AR and ADLI Inappropriate for non-dynamic regression or DL

HACI Important for regression or DL

Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 5 / 22

Page 6: Time Series Econometrics For the 21st Centurybhansen/papers/jeeslides.pdftime y1 y2 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22 Spurious! Both

Illustration

Weekly retail gasoline and crude oil prices

Three standard errors: old-fashioned, robust, and HAC (appropriate)

gast = 0.029(0.046)(0.046)(0.073)

+ 0.269(0.011)(0.015)(0.021)

oilt + et

Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 6 / 22

Page 7: Time Series Econometrics For the 21st Centurybhansen/papers/jeeslides.pdftime y1 y2 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22 Spurious! Both

t-statistics versus standard errors

Always report coeffi cient estimates & standard errors

Never coeffi cient estimates & t-statistics

Standard errors convey degree of uncertainty —always important

t-statistics concern testing hypothesis of a zero coeffi cient— rarely of key interest

De-emphasize significance testing in favor of measurement andanalysis

Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 7 / 22

Page 8: Time Series Econometrics For the 21st Centurybhansen/papers/jeeslides.pdftime y1 y2 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22 Spurious! Both

Autoregressive Models

Useful for understanding dynamics

Illustration: U.S. quarterly real GDP growth rates, post-war

GDPt = 1.93(0.32)

+ 0.34(0.06)

GDPt−1 + 0.13(0.06)

GDPt−2

− 0.09(0.06)

GDPt−3 + et

Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 8 / 22

Page 9: Time Series Econometrics For the 21st Centurybhansen/papers/jeeslides.pdftime y1 y2 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22 Spurious! Both

Illustration

Weekly return on S&P 500

Useful to illustrate test of effi cient market hypothesis

Also illustrates importance of correct (robust) standard errors,otherwise test will falsely reject.

returnt = 0.16(0.04)

− 0.032(0.029)

returnt−1 + 0.037(0.025)

returnt−2 + et

Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 9 / 22

Page 10: Time Series Econometrics For the 21st Centurybhansen/papers/jeeslides.pdftime y1 y2 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22 Spurious! Both

Distributed Lag Models

Useful for understanding multipliers

Illustration: retail gasoline and crude oil prices

gast = −0.009(0.057)

+ 0.243(0.016)

oilt + 0.112(0.012)

oilt−1 + 0.063(0.011)

oilt−2

+ 0.064(0.013)

oilt−3 + 0.030(0.010)

oilt−4 + 0.032(0.011)

oilt−5 + 0.018(0.012)

oilt−6 + et

Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 10 / 22

Page 11: Time Series Econometrics For the 21st Centurybhansen/papers/jeeslides.pdftime y1 y2 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22 Spurious! Both

Auto-Regressive Distributed Lag Models

Phillips Curve: U.S. quarterly inflation and unemployment rate

∆Inft = 0.44(0.42)

− 0.34(0.11)

∆Inft−1 − 0.39(0.09)

∆Inft−2

− 0.02(0.11)

∆Inft−3 − 0.17(0.07)

∆Inft−4 − 1.53(0.56)

URt−1

+ 1.58(1.06)

URt−2 + 0.11(1.03)

URt−3 − 0.23(0.47)

URt−4 + et

Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 11 / 22

Page 12: Time Series Econometrics For the 21st Centurybhansen/papers/jeeslides.pdftime y1 y2 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22 Spurious! Both

Model Selection

Economic theory does not inform about lag structure

In practice, choice implies a bias-variance trade

Akaike Information Criterion (AIC) is a simple practical tool tocompare models

Testing (t and F) is appropriate for assessing economic hypotheses

Testing is inappropriate for model selection

Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 12 / 22

Page 13: Time Series Econometrics For the 21st Centurybhansen/papers/jeeslides.pdftime y1 y2 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22 Spurious! Both

Spurious Regression

Could be the single most important insight we can teach our students

Spurious regressions are commonplace

Teach students to recognize serial correlation and exercise cautionwhen interpreting regressions

Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 13 / 22

Page 14: Time Series Econometrics For the 21st Centurybhansen/papers/jeeslides.pdftime y1 y2 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22 Spurious! Both

Illustration: Two Annual Series

y1t = −2.95(0.52)

+ 0.95(0.07)

y2t + et , R2 = 0.54

­50

510

15

1900 1920 1940 1960 1980 2000time

y1 y2

Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22

Page 15: Time Series Econometrics For the 21st Centurybhansen/papers/jeeslides.pdftime y1 y2 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22 Spurious! Both

Spurious!

Both series were generated as independent random walks

Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 15 / 22

Page 16: Time Series Econometrics For the 21st Centurybhansen/papers/jeeslides.pdftime y1 y2 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22 Spurious! Both

Trump-Era Exchange Rate TheoryOutsourcing causes displaced workers to be discouraged and leavelabor force, and the production shift alters the exchange rate

ExchangeRatet = 10.2(0.56)

LaborParticipationt R2 = 0.35

6062

6466

68pa

rtici

patio

n ra

te

050

100

150

exch

ange

 rate

1980m1 1990m1 2000m1 2010m1time

exchange rate participation rateBruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 16 / 22

Page 17: Time Series Econometrics For the 21st Centurybhansen/papers/jeeslides.pdftime y1 y2 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22 Spurious! Both

How to Detect a Spurious Regression

Dependent variable is highly serially correlated

Simple regression (no lagged dependent variable)

Solution: Include at least one lagged dependent variable

Ext = 1.43(0.05)

Ext−1 − 0.59(0.08)

Ext−2 + 0.18(0.09)

Ext−3

− 0.05(0.05)

Ext−4 − 0.013(0.032)

LaborParticipationt

Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 17 / 22

Page 18: Time Series Econometrics For the 21st Centurybhansen/papers/jeeslides.pdftime y1 y2 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22 Spurious! Both

Structural Change

Example: U.S. Real GDP Growth Rates

Mean Standard Deviation AR(1) Coeffi cient1947-1956 4.0 5.3 0.441957-1976 3.6 4.2 0.301977-1996 3.2 3.5 0.311997-2016 2.3 2.5 0.41

Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 18 / 22

Page 19: Time Series Econometrics For the 21st Centurybhansen/papers/jeeslides.pdftime y1 y2 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22 Spurious! Both

Forecasting

Using h-step ADL for multi-step point forecasts

Example: Inflation given unemployment rates

Estimates

πt+h − πt = α+ φ1∆πt + · · ·+ φp∆πt−p+1

+δ1URt + · · ·+ δqURt−q+1.

Point Forecasts

πn+h = πn + α+ φ1∆πn + · · ·+ φp∆πn−p+1

+δ1URn + · · ·+ δqURn−q+1

Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 19 / 22

Page 20: Time Series Econometrics For the 21st Centurybhansen/papers/jeeslides.pdftime y1 y2 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22 Spurious! Both

Forecast Intervals

Uncertainty should be emphasized

Noise typically dominates signal

Emphasis on forecasts intervals

Simple normal approximation interval

πn+h ± sn+hz1−α/2

sn+h is the standard error of the forecast

sn+h ≈(n−1 ∑n

t=1 e2t

)1/2

Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 20 / 22

Page 21: Time Series Econometrics For the 21st Centurybhansen/papers/jeeslides.pdftime y1 y2 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22 Spurious! Both

Fan ChartsMulti-step forecasts are elegantly presented using fan chartsIllustration: U.S. quarterly inflation using estimated Phillips curve

­50

510

2013q1 2014q3 2016q1 2017q3 2019q1time index

Inflation Rate forecastlower 80% forecast interval upper 80% forecast interval

Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 21 / 22

Page 22: Time Series Econometrics For the 21st Centurybhansen/papers/jeeslides.pdftime y1 y2 Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 14 / 22 Spurious! Both

Conclusion

Time-series should be part of econometrics curriculum

Emphasis on core models used in applications

Bruce Hansen (University of Wisconsin) Time Series Econometrics January 2017 22 / 22