Threshold Autoregressions and NonLinear Autoregressions

Size: px
Start display at page:

Download "Threshold Autoregressions and NonLinear Autoregressions"

Transcription

1 Threshold Autoregressions and NonLinear Autoregressions Original Presentation: Central Bank of Chile October 29-31, 2013 Bruce Hansen (University of Wisconsin) Threshold Regression 1 / 47

2 Threshold Models A type of nonlinear time series models Strong nonlinearity Allows for switching effects Most typically univariate (for simplicity) Bruce Hansen (University of Wisconsin) Threshold Regression 2 / 47

3 Threshold Models Threshold Variable q t q t = 100(log(GDP t ) log(gdp t 4 )) = annual growth Threshold γ Split regression Coeffi cients switch if q t γ or q t > γ If growth has been above or below the threshold y t+1 = β 1 x t1 (q t γ) + β 2 x t1 (q t > γ) + e t+1 { β = 1 x t + e t q t γ β 2 x t + e t q t > γ Bruce Hansen (University of Wisconsin) Threshold Regression 3 / 47

4 Partial Threshold Model y t+1 = β 0 z t + β 1 x t1 (q t γ) + β 2 x t1 (q t > γ) + e t+1 Coeffi cients on z t do not switch More parsimonious Bruce Hansen (University of Wisconsin) Threshold Regression 4 / 47

5 Estimation y t+1 = β 0 z t + β 1 x t1 (q t γ) + β 2 x t1 (q t > γ) + e t+1 Least Squares ( β 0, β 1, β 2, γ) minimize sum-of-squared errors Equation is non-linear, so NLLS, not OLS Simple to compute by concentration method Given γ, model is linear in β Regressors are z t, x t 1 (q t γ) and x t 1 (q t > γ) Estimate by least-squares Save residuals, sum of squared errors Repeat for all thresholds γ. Find value which minimizes SSE Bruce Hansen (University of Wisconsin) Threshold Regression 5 / 47

6 Estimation Details For a grid on γ (can use sample values of q t ) Define dummy variables d 1t (γ) = 1 (q t γ) and d 2t (γ) = 1 (q t > γ) Define interaction variables x 1t (γ) = x t d 1t (γ) and x 2t (γ) = x t d 2t (γ) Regress y t+1 on z t, x 1t (γ), x 2t (γ) Sum of squared errors y t+1 = β 0 z t + β 1 x 1t (γ) + β 2 x 2t (γ) + ê t+1 (γ) S(γ) = n ê t+1 (γ) 2 t=1 Write this explicity as a function of γ as the estimates, residuals and SSE vary with γ Find ˆγ which minimizes S(γ) Useful to view plot of S(γ) against γ Given ˆγ, repeat above steps to find estimates ( β 0, β 1, β 2 ) Forecasts made from fitted model Bruce Hansen (University of Wisconsin) Threshold Regression 6 / 47

7 Example: GDP Forecasting Equation q t = 100(log(GDP t ) log(gdp t 4 )) = annual growth Threshold estimate: ˆγ = 0.18 Splits regression depend if past year s growth is above or below 0.18% 0% Bruce Hansen (University of Wisconsin) Threshold Regression 7 / 47

8 Bruce Hansen (University of Wisconsin) Threshold Regression 8 / 47

9 Multi-Step Forecasts Nonlinear models (including threshold models) do not have simple iteration method for multi-step forecasts Option 1: Specify direct threshold model Option 2: Iterate one-step threshold model by simulation: Bruce Hansen (University of Wisconsin) Threshold Regression 9 / 47

10 Multi-Step Simulation Method Take fitted model y t+1 = β 0 z t + β 1 x t1 (q t ˆγ) + β 2 x t1 (q t > ˆγ) + ê t+1 Draw iid errors ê n+1,..., ê n+h from the residuals {ê 1,..., ê n } Create yn+1 (b), y n+2 (b),..., y n+h (b) forward by simulation b indexes the simulation run Repeat B times (a large number) {yn+h (b) : b = 1,..., B} constitute an iid sample from the forecast distribution for y n+h Point forecast f n+h = 1 B B b=1 y n+h (b) Interval forecast: α and 1 α quantiles of y n+h (b) Bruce Hansen (University of Wisconsin) Threshold Regression 10 / 47

11 Testing for a Threshold Null hypothesis: No threshold (linearity) Null Model: No threshold Alternative: Single Threshold y t+1 = β 0 z t + β 1 x t + ê t+1 S 0 = n êt+1 2 t=1 y t+1 = β 0 z t + β 1 x 1t(γ) + β 2 x 2t(γ) + ê t+1 (γ) S 1 (γ) = n ê t+1 (γ) 2 t=1 S 1 = S 1 ( ˆγ) = min S 1 (γ) γ Bruce Hansen (University of Wisconsin) Threshold Regression 11 / 47

12 NonStandard Testing Test is non-standard. Similar to Structural Change Tests Examine all tests for each fixed threshold critical values & p-values obtained by simulation or bootstrap Plot sequence of tests; Reject if time plot exceeds critical value Bruce Hansen (University of Wisconsin) Threshold Regression 12 / 47

13 Example: GDP Forecasting Equation q t = 100(log(GDP t ) log(gdp t 4 )) = annual growth Bootstrap p-value for threshold effect: 10.6% Bruce Hansen (University of Wisconsin) Threshold Regression 13 / 47

14 Bruce Hansen (University of Wisconsin) Threshold Regression 14 / 47

15 Inference in Threshold Models Threshold estimate has nonstandard distribution Confidence intervals by inverting statistic constructed from sum-of-squares ( ) S1 (γ) S 1 LR(γ) = n Theory: [Hansen, 2000] LR(γ) d ξ P(ξ x) = ( 1 e x /2) 2 Critical values: S 1 P(ξ c) c Bruce Hansen (University of Wisconsin) Threshold Regression 15 / 47

16 Confidence Intervals for Threshold All γ such that LR(γ) c where c is critical value Easy to see in graph of LR(γ) against γ Bruce Hansen (University of Wisconsin) Threshold Regression 16 / 47

17 Bruce Hansen (University of Wisconsin) Threshold Regression 17 / 47

18 Threshold Estimates Estimate: ˆγ = 0.18 Confidence Interval = [ 1.0, 2.2] Bruce Hansen (University of Wisconsin) Threshold Regression 18 / 47

19 Inference on Slope Parameters Conventional As if threshold is known Bruce Hansen (University of Wisconsin) Threshold Regression 19 / 47

20 Threshold Model Estimates q t = 100(log(GDP t ) log(gdp t 4 )) q t 0.18 q t > 0.18 Intercept (4.6) (1.11) log(gdp t ) 0.36 (0.21) 0.16 (0.08) log(gdp t 1 ) (0.21) 0.20 (0.09) Spread t 1.3 (0.8) 0.71 (0.20) Default Spread t (1.26) -2.3 (0.9) Housing Starts t 2.5 (10.6) 4.1 (2.3) Building Permits t 7.8 (10.5) -2.2 (2.0) Bruce Hansen (University of Wisconsin) Threshold Regression 20 / 47

21 NonParametric/NonLinear Autoregression Bruce Hansen (University of Wisconsin) Threshold Regression 21 / 47

22 NonParametric/NonLinear Time Series Regression Model y t+1 = g (x t ) + e t+1 E (e t+1 x t ) = 0 x t = (y t 1, y t 2,..., y t p ) or any other variables g (x t ) is arbitrary non-linear function Bruce Hansen (University of Wisconsin) Threshold Regression 22 / 47

23 Additively Separable Model x t = (x 1t,..., x pt ) g (x t ) = g 1 (x 1t ) + g 2 (x 2t ) + + g p (x pt ) Then y t+1 = g 1 (x 1t ) + g 2 (x 2t ) + + g p (x pt ) + e t+1 Greatly reduces degree of nonlinearity Bruce Hansen (University of Wisconsin) Threshold Regression 23 / 47

24 Partially Linear Model Partition x t = (x 1t, x 2t ) g (x t ) = g 1 (x 1t ) + β x 2t x 1t main variables of importance For example, if primary dependence through first lag y t+1 = g 1 (y t ) + β 1 y t β p y t p + e t+1 Bruce Hansen (University of Wisconsin) Threshold Regression 24 / 47

25 Sieve Models Approximate g(x) by a sequence g m (x), m = 1, 2,..., of increasing complexity Linear sieves g m (x) = Z m (x) β m where Z m (x) = (z 1m (x),..., z Km (x)) are nonlinear functions of x. Series : Z m (x) = (z 1 (x),..., z K (x)) Sieves : Z m (x) = (z 1m (x),..., z Km (x)) Bruce Hansen (University of Wisconsin) Threshold Regression 25 / 47

26 Polynomial (power series) z j (x) = x j gm(x) = p β j x j j=1 Stone-Weierstrass Theorem: Any continuous function g(x) can be arbitrarily well approximated on a compact set by a polynomial of suffi ciently high order For any ε > 0 there exists coeffi cients p and β j such that X Runge s phenomenon: sup g m (x) g(x) ε x X Polynomials can be poor at interpolation (can be erratic) Bruce Hansen (University of Wisconsin) Threshold Regression 26 / 47

27 Splines Piecewise smooth polynomials Join points are called knots Linear spline with one knot at τ β 00 + β 01 (x τ) g m (x) = β 10 + β 11 (x τ) x < τ x τ To enforce continuity, β 00 = β 10, g m (x) = β 0 + β 1 (x τ) + β 2 (x τ) 1 (x τ) or equivalently g m (x) = β 0 + β 1 x + β 2 (x τ) 1 (x τ) Bruce Hansen (University of Wisconsin) Threshold Regression 27 / 47

28 Quadratic Spline with One Knot β 00 + β 01 (x τ) + β 02 (x τ) 2 g m (x) = β 10 + β 11 (x τ) + β 12 (x τ) 2 x < τ x τ Continuous if β 00 = β 10 Continuous first derivative if β 01 = β 11 Imposing these constraints g m (x) = β 0 + β 1 x + β 2 x 2 + β 3 (x τ) 2 1 (x τ). Bruce Hansen (University of Wisconsin) Threshold Regression 28 / 47

29 Cubic Spline with One Knot g m (x) = β 0 + β 1 x + β 2 x 2 + β 3 x 3 + β 4 (x τ) 3 1 (x τ) Bruce Hansen (University of Wisconsin) Threshold Regression 29 / 47

30 General Case Knots at τ 1 < τ 2 < < τ N g m (x) = β 0 + p j=1 β j x j + N k=1 β p+k (x τ k ) p 1 (x τ k ) Bruce Hansen (University of Wisconsin) Threshold Regression 30 / 47

31 Uniform Approximation Stone-Weierstrass Theorem: Any continuous function g(x) can be arbitrarily well approximated on a compact set by a polynomial of suffi ciently high order For any ε > 0 there exists coeffi cients p and β j such that X Strengthened Form: sup g m (x) g(x) ε x X if the s th derivative of g(x) is continuous then the uniform approximation error satisfies sup g m (x) g(x) = O ( K α ) m x X where K m is the number of terms in g m (x) This holds for polynomials and splines Runge s phenomenon: Polynomials can be poor at interpolation (can be erratic) Bruce Hansen (University of Wisconsin) Threshold Regression 31 / 47

32 Illustration g(x) = x 1/4 (1 x) 1/2 Polynomials of order K = 3, K = 4, and K = 6 Cubic splines are quite similar Bruce Hansen (University of Wisconsin) Threshold Regression 32 / 47

33 Bruce Hansen (University of Wisconsin) Threshold Regression 33 / 47

34 Runge s Phenomenon Bruce Hansen (University of Wisconsin) Threshold Regression 34 / 47

35 Placement of Knots If support of x is [0, 1], typical to set τ j = j/(n + 1) If support of x is [a, b], can set τ j = a + (b a)/(n + 1) Alternatively, can set τ j to equal the j/(n + 1) quantile of the distribution of x Bruce Hansen (University of Wisconsin) Threshold Regression 35 / 47

36 Estimation Fix number and location of knots Estimate coeffi cients by least-squares Quadratic spline y = β 0 + β 1 x + β 2 x 2 + N k=1 β 2+k (x τ k ) 2 1 (x τ k ) + e Linear model in x, x 2, (x τ 1 ) 2 1 (x τ 1 ),..., (x τ N ) 2 1 (x τ N ) Bruce Hansen (University of Wisconsin) Threshold Regression 36 / 47

37 Selection of Number of Knots Model selection Pick N to minimize AIC Or a similar criterion known as Cross-Validation (CV) Bruce Hansen (University of Wisconsin) Threshold Regression 37 / 47

38 Example: GDP Growth y t =GDP Growth x t =Housing Starts Partially Linear Model y t+1 = g(x t ) + β 1 y t 1 + β 2 y t 2 + e t+1 Polynomial Cubic Spline Bruce Hansen (University of Wisconsin) Threshold Regression 38 / 47

39 Model Selection Polynomial in Housing Starts p CV Cubic Spline in Housing Starts N CV Best fitting regression is quartic polynomial (p = 4) Cubic spline with 1 knot is close Bruce Hansen (University of Wisconsin) Threshold Regression 39 / 47

40 Polynomial=solid line Cubic Spline=dashed line Bruce Hansen (University of Wisconsin) Threshold Regression 40 / 47

41 Estimated Cubic Spline Knot=1.5 β s( β) Intercept 29 (8) y t 0.18 (0.08) y t (0.08) HS t 86 (26) HSt 2 79 (23) HSt 3 22 (6) (HS t 1.5) 2 1 (HS t > 1.5) 43 (13) Bruce Hansen (University of Wisconsin) Threshold Regression 41 / 47

42 New Example: Long and Short Rates Bi-variate model of Long (10-year) and short (3-month) bond rates Key variable: Spread: Long-Short R t =Long Rate r t =Short Rate Z t = R r r t =Spread Model R t+1 = α 0 + α p1 (L) R t + β p1 (L) r t + g 1 (Z t ) + e 1t r t+1 = γ 0 + γ p2 (L) R t + δ p2 (L) r t + g 2 (Z t ) + e 2t Bruce Hansen (University of Wisconsin) Threshold Regression 42 / 47

43 Model Selection Separately for each equation Long Rate and Short Rate Select over number of lags Number of spline terms for nonlinearity in Spread Bruce Hansen (University of Wisconsin) Threshold Regression 43 / 47

44 CV Selection: Long Rate Equation p = 0 p = 1 p = 2 p = 3 p = 4 p = 5 p = 6 Linear Quadratic Cubic Knot Knots Knots Selected Model: p = 6, Cubic spline with 1 knot at 1.53 Bruce Hansen (University of Wisconsin) Threshold Regression 44 / 47

45 CV Selection: Short Rate Equation p = 0 p = 1 p = 2 p = 3 p = 4 p = 5 p = 6 Linear Quadratic Cubic Knot Knots Knots Selected Model: p = 1, Cubic spline with 1 knot at 1.53 Bruce Hansen (University of Wisconsin) Threshold Regression 45 / 47

46 Bruce Hansen (University of Wisconsin) Threshold Regression 46 / 47

47 Forecasting For h > 1, need to use forecast simulation Simulate R n+1, r n+1 forward using iid draws from residuals Create time paths Take means to estimate point forecasts Take quantiles to construct forecast intervals Bruce Hansen (University of Wisconsin) Threshold Regression 47 / 47

Time Series and Forecasting Lecture 4 NonLinear Time Series

Time Series and Forecasting Lecture 4 NonLinear Time Series Time Series and Forecasting Lecture 4 NonLinear Time Series Bruce E. Hansen Summer School in Economics and Econometrics University of Crete July 23-27, 2012 Bruce Hansen (University of Wisconsin) Foundations

More information

Central Bank of Chile October 29-31, 2013 Bruce Hansen (University of Wisconsin) Structural Breaks October 29-31, / 91. Bruce E.

Central Bank of Chile October 29-31, 2013 Bruce Hansen (University of Wisconsin) Structural Breaks October 29-31, / 91. Bruce E. Forecasting Lecture 3 Structural Breaks Central Bank of Chile October 29-31, 2013 Bruce Hansen (University of Wisconsin) Structural Breaks October 29-31, 2013 1 / 91 Bruce E. Hansen Organization Detection

More information

Forecasting Lecture 2: Forecast Combination, Multi-Step Forecasts

Forecasting Lecture 2: Forecast Combination, Multi-Step Forecasts Forecasting Lecture 2: Forecast Combination, Multi-Step Forecasts Bruce E. Hansen Central Bank of Chile October 29-31, 2013 Bruce Hansen (University of Wisconsin) Forecast Combination and Multi-Step Forecasts

More information

Time Series Econometrics For the 21st Century

Time Series Econometrics For the 21st Century 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

More information

ECON 5350 Class Notes Functional Form and Structural Change

ECON 5350 Class Notes Functional Form and Structural Change ECON 5350 Class Notes Functional Form and Structural Change 1 Introduction Although OLS is considered a linear estimator, it does not mean that the relationship between Y and X needs to be linear. In this

More information

Regime switching models

Regime switching models Regime switching models Structural change and nonlinearities Matthieu Stigler Matthieu.Stigler at gmail.com April 30, 2009 Version 1.1 This document is released under the Creative Commons Attribution-Noncommercial

More information

Econ 423 Lecture Notes: Additional Topics in Time Series 1

Econ 423 Lecture Notes: Additional Topics in Time Series 1 Econ 423 Lecture Notes: Additional Topics in Time Series 1 John C. Chao April 25, 2017 1 These notes are based in large part on Chapter 16 of Stock and Watson (2011). They are for instructional purposes

More information

Chapte The McGraw-Hill Companies, Inc. All rights reserved.

Chapte The McGraw-Hill Companies, Inc. All rights reserved. 12er12 Chapte Bivariate i Regression (Part 1) Bivariate Regression Visual Displays Begin the analysis of bivariate data (i.e., two variables) with a scatter plot. A scatter plot - displays each observed

More information

Studies in Nonlinear Dynamics and Econometrics

Studies in Nonlinear Dynamics and Econometrics Studies in Nonlinear Dynamics and Econometrics Quarterly Journal April 1997, Volume, Number 1 The MIT Press Studies in Nonlinear Dynamics and Econometrics (ISSN 1081-186) is a quarterly journal published

More information

CHAPTER 21: TIME SERIES ECONOMETRICS: SOME BASIC CONCEPTS

CHAPTER 21: TIME SERIES ECONOMETRICS: SOME BASIC CONCEPTS CHAPTER 21: TIME SERIES ECONOMETRICS: SOME BASIC CONCEPTS 21.1 A stochastic process is said to be weakly stationary if its mean and variance are constant over time and if the value of the covariance between

More information

The regression model with one fixed regressor cont d

The regression model with one fixed regressor cont d The regression model with one fixed regressor cont d 3150/4150 Lecture 4 Ragnar Nymoen 27 January 2012 The model with transformed variables Regression with transformed variables I References HGL Ch 2.8

More information

Chapter 16. Simple Linear Regression and dcorrelation

Chapter 16. Simple Linear Regression and dcorrelation Chapter 16 Simple Linear Regression and dcorrelation 16.1 Regression Analysis Our problem objective is to analyze the relationship between interval variables; regression analysis is the first tool we will

More information

Lecture 9: Structural Breaks and Threshold Model

Lecture 9: Structural Breaks and Threshold Model Lecture 9: Structural Breaks and Threshold Model 1 Structural Breaks Consider the modified AR(1) model b 0 + b 1 y t 1 + e t, (t = 1, 2,..., T b ) y t = a 0 + a 1 y t 1 + e t, (t = T b + 1, T b + 2,...,

More information

On the Power of Tests for Regime Switching

On the Power of Tests for Regime Switching On the Power of Tests for Regime Switching joint work with Drew Carter and Ben Hansen Douglas G. Steigerwald UC Santa Barbara May 2015 D. Steigerwald (UCSB) Regime Switching May 2015 1 / 42 Motivating

More information

The Bootstrap: Theory and Applications. Biing-Shen Kuo National Chengchi University

The Bootstrap: Theory and Applications. Biing-Shen Kuo National Chengchi University The Bootstrap: Theory and Applications Biing-Shen Kuo National Chengchi University Motivation: Poor Asymptotic Approximation Most of statistical inference relies on asymptotic theory. Motivation: Poor

More information

Global polynomial interpolants suffer from the Runge Phenomenon if the data sites (nodes) are not chosen correctly.

Global polynomial interpolants suffer from the Runge Phenomenon if the data sites (nodes) are not chosen correctly. Piecewise polynomial interpolation Global polynomial interpolants suffer from the Runge Phenomenon if the data sites (nodes) are not chosen correctly. In many applications, one does not have the freedom

More information

Chapter 16. Simple Linear Regression and Correlation

Chapter 16. Simple Linear Regression and Correlation Chapter 16 Simple Linear Regression and Correlation 16.1 Regression Analysis Our problem objective is to analyze the relationship between interval variables; regression analysis is the first tool we will

More information

Optimizing forecasts for inflation and interest rates by time-series model averaging

Optimizing forecasts for inflation and interest rates by time-series model averaging Optimizing forecasts for inflation and interest rates by time-series model averaging Presented at the ISF 2008, Nice 1 Introduction 2 The rival prediction models 3 Prediction horse race 4 Parametric bootstrap

More information

LECTURE 11. Introduction to Econometrics. Autocorrelation

LECTURE 11. Introduction to Econometrics. Autocorrelation 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

More information

Ch 2: Simple Linear Regression

Ch 2: Simple Linear Regression Ch 2: Simple Linear Regression 1. Simple Linear Regression Model A simple regression model with a single regressor x is y = β 0 + β 1 x + ɛ, where we assume that the error ɛ is independent random component

More information

Engineering 7: Introduction to computer programming for scientists and engineers

Engineering 7: Introduction to computer programming for scientists and engineers Engineering 7: Introduction to computer programming for scientists and engineers Interpolation Recap Polynomial interpolation Spline interpolation Regression and Interpolation: learning functions from

More information

Lecture 3: Multiple Regression

Lecture 3: Multiple Regression Lecture 3: Multiple Regression R.G. Pierse 1 The General Linear Model Suppose that we have k explanatory variables Y i = β 1 + β X i + β 3 X 3i + + β k X ki + u i, i = 1,, n (1.1) or Y i = β j X ji + u

More information

SPLINE INTERPOLATION

SPLINE INTERPOLATION Spline Background SPLINE INTERPOLATION Problem: high degree interpolating polynomials often have extra oscillations. Example: Runge function f(x = 1 1+4x 2, x [ 1, 1]. 1 1/(1+4x 2 and P 8 (x and P 16 (x

More information

The linear regression model: functional form and structural breaks

The linear regression model: functional form and structural breaks The linear regression model: functional form and structural breaks Ragnar Nymoen Department of Economics, UiO 16 January 2009 Overview Dynamic models A little bit more about dynamics Extending inference

More information

ECONOMETRICS. Bruce E. Hansen. c2000, 2001, 2002, 2003, University of Wisconsin

ECONOMETRICS. Bruce E. Hansen. c2000, 2001, 2002, 2003, University of Wisconsin ECONOMETRICS Bruce E. Hansen c2000, 200, 2002, 2003, 2004 University of Wisconsin www.ssc.wisc.edu/~bhansen Revised: January 2004 Comments Welcome This manuscript may be printed and reproduced for individual

More information

Testing Error Correction in Panel data

Testing Error Correction in Panel data University of Vienna, Dept. of Economics Master in Economics Vienna 2010 The Model (1) Westerlund (2007) consider the following DGP: y it = φ 1i + φ 2i t + z it (1) x it = x it 1 + υ it (2) where the stochastic

More information

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

LECTURE 6. Introduction to Econometrics. Hypothesis testing & Goodness of fit LECTURE 6 Introduction to Econometrics Hypothesis testing & Goodness of fit October 25, 2016 1 / 23 ON TODAY S LECTURE We will explain how multiple hypotheses are tested in a regression model We will define

More information

11. Bootstrap Methods

11. Bootstrap Methods 11. Bootstrap Methods c A. Colin Cameron & Pravin K. Trivedi 2006 These transparencies were prepared in 20043. They can be used as an adjunct to Chapter 11 of our subsequent book Microeconometrics: Methods

More information

Applied Econometrics (QEM)

Applied Econometrics (QEM) Applied Econometrics (QEM) based on Prinicples of Econometrics Jakub Mućk Department of Quantitative Economics Jakub Mućk Applied Econometrics (QEM) Meeting #3 1 / 42 Outline 1 2 3 t-test P-value Linear

More information

The linear model. Our models so far are linear. Change in Y due to change in X? See plots for: o age vs. ahe o carats vs.

The linear model. Our models so far are linear. Change in Y due to change in X? See plots for: o age vs. ahe o carats vs. 8 Nonlinear effects Lots of effects in economics are nonlinear Examples Deal with these in two (sort of three) ways: o Polynomials o Logarithms o Interaction terms (sort of) 1 The linear model Our models

More information

Inference for the Regression Coefficient

Inference for the Regression Coefficient Inference for the Regression Coefficient Recall, b 0 and b 1 are the estimates of the slope β 1 and intercept β 0 of population regression line. We can shows that b 0 and b 1 are the unbiased estimates

More information

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

G. S. Maddala Kajal Lahiri. WILEY A John Wiley and Sons, Ltd., Publication G. S. Maddala Kajal Lahiri WILEY A John Wiley and Sons, Ltd., Publication TEMT Foreword Preface to the Fourth Edition xvii xix Part I Introduction and the Linear Regression Model 1 CHAPTER 1 What is Econometrics?

More information

LECTURE 5 HYPOTHESIS TESTING

LECTURE 5 HYPOTHESIS TESTING October 25, 2016 LECTURE 5 HYPOTHESIS TESTING Basic concepts In this lecture we continue to discuss the normal classical linear regression defined by Assumptions A1-A5. Let θ Θ R d be a parameter of interest.

More information

Keller: Stats for Mgmt & Econ, 7th Ed July 17, 2006

Keller: Stats for Mgmt & Econ, 7th Ed July 17, 2006 Chapter 17 Simple Linear Regression and Correlation 17.1 Regression Analysis Our problem objective is to analyze the relationship between interval variables; regression analysis is the first tool we will

More information

Interpolation and extrapolation

Interpolation and extrapolation Interpolation and extrapolation Alexander Khanov PHYS6260: Experimental Methods is HEP Oklahoma State University October 30, 207 Interpolation/extrapolation vs fitting Formulation of the problem: there

More information

Scientific Computing: An Introductory Survey

Scientific Computing: An Introductory Survey Scientific Computing: An Introductory Survey Chapter 7 Interpolation Prof. Michael T. Heath Department of Computer Science University of Illinois at Urbana-Champaign Copyright c 2002. Reproduction permitted

More information

Cubic Splines; Bézier Curves

Cubic Splines; Bézier Curves Cubic Splines; Bézier Curves 1 Cubic Splines piecewise approximation with cubic polynomials conditions on the coefficients of the splines 2 Bézier Curves computer-aided design and manufacturing MCS 471

More information

Cross-Validation with Confidence

Cross-Validation with Confidence Cross-Validation with Confidence Jing Lei Department of Statistics, Carnegie Mellon University WHOA-PSI Workshop, St Louis, 2017 Quotes from Day 1 and Day 2 Good model or pure model? Occam s razor We really

More information

Least Squares Model Averaging. Bruce E. Hansen University of Wisconsin. January 2006 Revised: August 2006

Least Squares Model Averaging. Bruce E. Hansen University of Wisconsin. January 2006 Revised: August 2006 Least Squares Model Averaging Bruce E. Hansen University of Wisconsin January 2006 Revised: August 2006 Introduction This paper developes a model averaging estimator for linear regression. Model averaging

More information

13 Endogeneity and Nonparametric IV

13 Endogeneity and Nonparametric IV 13 Endogeneity and Nonparametric IV 13.1 Nonparametric Endogeneity A nonparametric IV equation is Y i = g (X i ) + e i (1) E (e i j i ) = 0 In this model, some elements of X i are potentially endogenous,

More information

Cross-Validation with Confidence

Cross-Validation with Confidence Cross-Validation with Confidence Jing Lei Department of Statistics, Carnegie Mellon University UMN Statistics Seminar, Mar 30, 2017 Overview Parameter est. Model selection Point est. MLE, M-est.,... Cross-validation

More information

ECON 4230 Intermediate Econometric Theory Exam

ECON 4230 Intermediate Econometric Theory Exam ECON 4230 Intermediate Econometric Theory Exam Multiple Choice (20 pts). Circle the best answer. 1. The Classical assumption of mean zero errors is satisfied if the regression model a) is linear in the

More information

On the econometrics of the Koyck model

On the econometrics of the Koyck model On the econometrics of the Koyck model Philip Hans Franses and Rutger van Oest Econometric Institute, Erasmus University Rotterdam P.O. Box 1738, NL-3000 DR, Rotterdam, The Netherlands Econometric Institute

More information

Introduction to Computer Graphics. Modeling (1) April 13, 2017 Kenshi Takayama

Introduction to Computer Graphics. Modeling (1) April 13, 2017 Kenshi Takayama Introduction to Computer Graphics Modeling (1) April 13, 2017 Kenshi Takayama Parametric curves X & Y coordinates defined by parameter t ( time) Example: Cycloid x t = t sin t y t = 1 cos t Tangent (aka.

More information

A Threshold Model of Real U.S. GDP and the Problem of Constructing Confidence. Intervals in TAR Models

A Threshold Model of Real U.S. GDP and the Problem of Constructing Confidence. Intervals in TAR Models A Threshold Model of Real U.S. GDP and the Problem of Constructing Confidence Intervals in TAR Models Walter Enders Department of Economics, Finance and Legal Studies University of Alabama Tuscalooosa,

More information

Economics 618B: Time Series Analysis Department of Economics State University of New York at Binghamton

Economics 618B: Time Series Analysis Department of Economics State University of New York at Binghamton Problem Set #1 1. Generate n =500random numbers from both the uniform 1 (U [0, 1], uniformbetween zero and one) and exponential λ exp ( λx) (set λ =2and let x U [0, 1]) b a distributions. Plot the histograms

More information

Correlation and Regression Theory 1) Multivariate Statistics

Correlation and Regression Theory 1) Multivariate Statistics Correlation and Regression Theory 1) Multivariate Statistics What is a multivariate data set? How to statistically analyze this data set? Is there any kind of relationship between different variables in

More information

Ordinary Least Squares Regression Explained: Vartanian

Ordinary Least Squares Regression Explained: Vartanian Ordinary Least Squares Regression Explained: Vartanian When to Use Ordinary Least Squares Regression Analysis A. Variable types. When you have an interval/ratio scale dependent variable.. When your independent

More information

Chapter 1. GMM: Basic Concepts

Chapter 1. GMM: Basic Concepts Chapter 1. GMM: Basic Concepts Contents 1 Motivating Examples 1 1.1 Instrumental variable estimator....................... 1 1.2 Estimating parameters in monetary policy rules.............. 2 1.3 Estimating

More information

Linear Regression Model. Badr Missaoui

Linear Regression Model. Badr Missaoui Linear Regression Model Badr Missaoui Introduction What is this course about? It is a course on applied statistics. It comprises 2 hours lectures each week and 1 hour lab sessions/tutorials. We will focus

More information

Chapter 14 Student Lecture Notes 14-1

Chapter 14 Student Lecture Notes 14-1 Chapter 14 Student Lecture Notes 14-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter 14 Multiple Regression Analysis and Model Building Chap 14-1 Chapter Goals After completing this

More information

Chapter 14 Simple Linear Regression (A)

Chapter 14 Simple Linear Regression (A) Chapter 14 Simple Linear Regression (A) 1. Characteristics Managerial decisions often are based on the relationship between two or more variables. can be used to develop an equation showing how the variables

More information

Sheffield Economic Research Paper Series. SERP Number:

Sheffield Economic Research Paper Series. SERP Number: Sheffield Economic Research Paper Series SERP Number: 2004013 Jamie Gascoigne Estimating threshold vector error-correction models with multiple cointegrating relationships. November 2004 * Corresponding

More information

Inference for Regression Simple Linear Regression

Inference for Regression Simple Linear Regression Inference for Regression Simple Linear Regression IPS Chapter 10.1 2009 W.H. Freeman and Company Objectives (IPS Chapter 10.1) Simple linear regression p Statistical model for linear regression p Estimating

More information

Nonparametric inference in hidden Markov and related models

Nonparametric inference in hidden Markov and related models Nonparametric inference in hidden Markov and related models Roland Langrock, Bielefeld University Roland Langrock Bielefeld University 1 / 47 Introduction and motivation Roland Langrock Bielefeld University

More information

Time Series Models and Inference. James L. Powell Department of Economics University of California, Berkeley

Time Series Models and Inference. James L. Powell Department of Economics University of California, Berkeley Time Series Models and Inference James L. Powell Department of Economics University of California, Berkeley Overview In contrast to the classical linear regression model, in which the components of the

More information

Final Review. Yang Feng. Yang Feng (Columbia University) Final Review 1 / 58

Final Review. Yang Feng.   Yang Feng (Columbia University) Final Review 1 / 58 Final Review Yang Feng http://www.stat.columbia.edu/~yangfeng Yang Feng (Columbia University) Final Review 1 / 58 Outline 1 Multiple Linear Regression (Estimation, Inference) 2 Special Topics for Multiple

More information

MULTIPLE REGRESSION ANALYSIS AND OTHER ISSUES. Business Statistics

MULTIPLE REGRESSION ANALYSIS AND OTHER ISSUES. Business Statistics MULTIPLE REGRESSION ANALYSIS AND OTHER ISSUES Business Statistics CONTENTS Multiple regression Dummy regressors Assumptions of regression analysis Predicting with regression analysis Old exam question

More information

Econ 623 Econometrics II Topic 2: Stationary Time Series

Econ 623 Econometrics II Topic 2: Stationary Time Series 1 Introduction Econ 623 Econometrics II Topic 2: Stationary Time Series In the regression model we can model the error term as an autoregression AR(1) process. That is, we can use the past value of the

More information

Switching Regime Estimation

Switching Regime Estimation Switching Regime Estimation Series de Tiempo BIrkbeck March 2013 Martin Sola (FE) Markov Switching models 01/13 1 / 52 The economy (the time series) often behaves very different in periods such as booms

More information

Glossary. The ISI glossary of statistical terms provides definitions in a number of different languages:

Glossary. The ISI glossary of statistical terms provides definitions in a number of different languages: Glossary The ISI glossary of statistical terms provides definitions in a number of different languages: http://isi.cbs.nl/glossary/index.htm Adjusted r 2 Adjusted R squared measures the proportion of the

More information

Cointegrated VAR s. Eduardo Rossi University of Pavia. November Rossi Cointegrated VAR s Financial Econometrics / 56

Cointegrated VAR s. Eduardo Rossi University of Pavia. November Rossi Cointegrated VAR s Financial Econometrics / 56 Cointegrated VAR s Eduardo Rossi University of Pavia November 2013 Rossi Cointegrated VAR s Financial Econometrics - 2013 1 / 56 VAR y t = (y 1t,..., y nt ) is (n 1) vector. y t VAR(p): Φ(L)y t = ɛ t The

More information

Penalty Methods for Bivariate Smoothing and Chicago Land Values

Penalty Methods for Bivariate Smoothing and Chicago Land Values Penalty Methods for Bivariate Smoothing and Chicago Land Values Roger Koenker University of Illinois, Urbana-Champaign Ivan Mizera University of Alberta, Edmonton Northwestern University: October 2001

More information

Machine Learning Linear Regression. Prof. Matteo Matteucci

Machine Learning Linear Regression. Prof. Matteo Matteucci Machine Learning Linear Regression Prof. Matteo Matteucci Outline 2 o Simple Linear Regression Model Least Squares Fit Measures of Fit Inference in Regression o Multi Variate Regession Model Least Squares

More information

Trendlines Simple Linear Regression Multiple Linear Regression Systematic Model Building Practical Issues

Trendlines Simple Linear Regression Multiple Linear Regression Systematic Model Building Practical Issues Trendlines Simple Linear Regression Multiple Linear Regression Systematic Model Building Practical Issues Overfitting Categorical Variables Interaction Terms Non-linear Terms Linear Logarithmic y = a +

More information

A Modified Fractionally Co-integrated VAR for Predicting Returns

A Modified Fractionally Co-integrated VAR for Predicting Returns A Modified Fractionally Co-integrated VAR for Predicting Returns Xingzhi Yao Marwan Izzeldin Department of Economics, Lancaster University 13 December 215 Yao & Izzeldin (Lancaster University) CFE (215)

More information

df=degrees of freedom = n - 1

df=degrees of freedom = n - 1 One sample t-test test of the mean Assumptions: Independent, random samples Approximately normal distribution (from intro class: σ is unknown, need to calculate and use s (sample standard deviation)) Hypotheses:

More information

Math 578: Assignment 2

Math 578: Assignment 2 Math 578: Assignment 2 13. Determine whether the natural cubic spline that interpolates the table is or is not the x 0 1 2 3 y 1 1 0 10 function 1 + x x 3 x [0, 1] f(x) = 1 2(x 1) 3(x 1) 2 + 4(x 1) 3 x

More information

Ch 7: Dummy (binary, indicator) variables

Ch 7: Dummy (binary, indicator) variables Ch 7: Dummy (binary, indicator) variables :Examples Dummy variable are used to indicate the presence or absence of a characteristic. For example, define female i 1 if obs i is female 0 otherwise or male

More information

Interpolation. 1. Judd, K. Numerical Methods in Economics, Cambridge: MIT Press. Chapter

Interpolation. 1. Judd, K. Numerical Methods in Economics, Cambridge: MIT Press. Chapter Key References: Interpolation 1. Judd, K. Numerical Methods in Economics, Cambridge: MIT Press. Chapter 6. 2. Press, W. et. al. Numerical Recipes in C, Cambridge: Cambridge University Press. Chapter 3

More information

Exam 2. Average: 85.6 Median: 87.0 Maximum: Minimum: 55.0 Standard Deviation: Numerical Methods Fall 2011 Lecture 20

Exam 2. Average: 85.6 Median: 87.0 Maximum: Minimum: 55.0 Standard Deviation: Numerical Methods Fall 2011 Lecture 20 Exam 2 Average: 85.6 Median: 87.0 Maximum: 100.0 Minimum: 55.0 Standard Deviation: 10.42 Fall 2011 1 Today s class Multiple Variable Linear Regression Polynomial Interpolation Lagrange Interpolation Newton

More information

Groupe de Recherche en Économie et Développement International. Cahier de recherche / Working Paper 08-17

Groupe de Recherche en Économie et Développement International. Cahier de recherche / Working Paper 08-17 Groupe de Recherche en Économie et Développement International Cahier de recherche / Working Paper 08-17 Modified Fast Double Sieve Bootstraps for ADF Tests Patrick Richard Modified Fast Double Sieve Bootstraps

More information

Unit 10: Simple Linear Regression and Correlation

Unit 10: Simple Linear Regression and Correlation Unit 10: Simple Linear Regression and Correlation Statistics 571: Statistical Methods Ramón V. León 6/28/2004 Unit 10 - Stat 571 - Ramón V. León 1 Introductory Remarks Regression analysis is a method for

More information

Econometrics Honor s Exam Review Session. Spring 2012 Eunice Han

Econometrics Honor s Exam Review Session. Spring 2012 Eunice Han Econometrics Honor s Exam Review Session Spring 2012 Eunice Han Topics 1. OLS The Assumptions Omitted Variable Bias Conditional Mean Independence Hypothesis Testing and Confidence Intervals Homoskedasticity

More information

1 Piecewise Cubic Interpolation

1 Piecewise Cubic Interpolation Piecewise Cubic Interpolation Typically the problem with piecewise linear interpolation is the interpolant is not differentiable as the interpolation points (it has a kinks at every interpolation point)

More information

Hypothesis testing Goodness of fit Multicollinearity Prediction. Applied Statistics. Lecturer: Serena Arima

Hypothesis testing Goodness of fit Multicollinearity Prediction. Applied Statistics. Lecturer: Serena Arima Applied Statistics Lecturer: Serena Arima Hypothesis testing for the linear model Under the Gauss-Markov assumptions and the normality of the error terms, we saw that β N(β, σ 2 (X X ) 1 ) and hence s

More information

Identify polynomial functions

Identify polynomial functions EXAMPLE 1 Identify polynomial functions Decide whether the function is a polynomial function. If so, write it in standard form and state its degree, type, and leading coefficient. a. h (x) = x 4 1 x 2

More information

Midterm 2 - Solutions

Midterm 2 - Solutions Ecn 102 - Analysis of Economic Data University of California - Davis February 24, 2010 Instructor: John Parman Midterm 2 - Solutions You have until 10:20am to complete this exam. Please remember to put

More information

Inferences for Regression

Inferences for Regression Inferences for Regression An Example: Body Fat and Waist Size Looking at the relationship between % body fat and waist size (in inches). Here is a scatterplot of our data set: Remembering Regression In

More information

GTVD : A RATS procedure to estimate Smooth Transition Regressions with Panel Data

GTVD : A RATS procedure to estimate Smooth Transition Regressions with Panel Data 1 1 GTVD : A RATS procedure to estimate Smooth Transition Regressions with Panel Data G. Colletaz Laboratoire d Economie d Orléans, Université d Orléans, France email: gilbert.colletaz@univ-orleans.fr

More information

MAT300/500 Programming Project Spring 2019

MAT300/500 Programming Project Spring 2019 MAT300/500 Programming Project Spring 2019 Please submit all project parts on the Moodle page for MAT300 or MAT500. Due dates are listed on the syllabus and the Moodle site. You should include all neccessary

More information

Business Statistics. Lecture 10: Correlation and Linear Regression

Business Statistics. Lecture 10: Correlation and Linear Regression Business Statistics Lecture 10: Correlation and Linear Regression Scatterplot A scatterplot shows the relationship between two quantitative variables measured on the same individuals. It displays the Form

More information

Regression: Main Ideas Setting: Quantitative outcome with a quantitative explanatory variable. Example, cont.

Regression: Main Ideas Setting: Quantitative outcome with a quantitative explanatory variable. Example, cont. TCELL 9/4/205 36-309/749 Experimental Design for Behavioral and Social Sciences Simple Regression Example Male black wheatear birds carry stones to the nest as a form of sexual display. Soler et al. wanted

More information

CAN ECONOMIC GROWTH LAST? SERIOUSLY.

CAN ECONOMIC GROWTH LAST? SERIOUSLY. THE 6TH INTERNATIONAL CONFERENCE THE CHANGING ECONOMIC LANDSCAPE: ISSUES, IMPLICATIONS AND POLICY OPTIONS ISSN1331 677X (UDK 338) May 30 th - June 1 st 2013 Saša Stjepanović a a Ph.d. Saša Stjepanović,

More information

Mathematics for Economics MA course

Mathematics for Economics MA course Mathematics for Economics MA course Simple Linear Regression Dr. Seetha Bandara Simple Regression Simple linear regression is a statistical method that allows us to summarize and study relationships between

More information

Inference with Simple Regression

Inference with Simple Regression 1 Introduction Inference with Simple Regression Alan B. Gelder 06E:071, The University of Iowa 1 Moving to infinite means: In this course we have seen one-mean problems, twomean problems, and problems

More information

In practice one often meets a situation where the function of interest, f(x), is only represented by a discrete set of tabulated points,

In practice one often meets a situation where the function of interest, f(x), is only represented by a discrete set of tabulated points, 1 Interpolation 11 Introduction In practice one often meets a situation where the function of interest, f(x), is only represented by a discrete set of tabulated points, {x i, y i = f(x i ) i = 1 n, obtained,

More information

Linear models and their mathematical foundations: Simple linear regression

Linear models and their mathematical foundations: Simple linear regression Linear models and their mathematical foundations: Simple linear regression Steffen Unkel Department of Medical Statistics University Medical Center Göttingen, Germany Winter term 2018/19 1/21 Introduction

More information

Review of Classical Least Squares. James L. Powell Department of Economics University of California, Berkeley

Review of Classical Least Squares. James L. Powell Department of Economics University of California, Berkeley Review of Classical Least Squares James L. Powell Department of Economics University of California, Berkeley The Classical Linear Model The object of least squares regression methods is to model and estimate

More information

Exam Applied Statistical Regression. Good Luck!

Exam Applied Statistical Regression. Good Luck! Dr. M. Dettling Summer 2011 Exam Applied Statistical Regression Approved: Tables: Note: Any written material, calculator (without communication facility). Attached. All tests have to be done at the 5%-level.

More information

Resampling techniques for statistical modeling

Resampling techniques for statistical modeling Resampling techniques for statistical modeling Gianluca Bontempi Département d Informatique Boulevard de Triomphe - CP 212 http://www.ulb.ac.be/di Resampling techniques p.1/33 Beyond the empirical error

More information

36-309/749 Experimental Design for Behavioral and Social Sciences. Sep. 22, 2015 Lecture 4: Linear Regression

36-309/749 Experimental Design for Behavioral and Social Sciences. Sep. 22, 2015 Lecture 4: Linear Regression 36-309/749 Experimental Design for Behavioral and Social Sciences Sep. 22, 2015 Lecture 4: Linear Regression TCELL Simple Regression Example Male black wheatear birds carry stones to the nest as a form

More information

Lecture 4a: ARMA Model

Lecture 4a: ARMA Model Lecture 4a: ARMA Model 1 2 Big Picture Most often our goal is to find a statistical model to describe real time series (estimation), and then predict the future (forecasting) One particularly popular model

More information

Chapter 4: Interpolation and Approximation. October 28, 2005

Chapter 4: Interpolation and Approximation. October 28, 2005 Chapter 4: Interpolation and Approximation October 28, 2005 Outline 1 2.4 Linear Interpolation 2 4.1 Lagrange Interpolation 3 4.2 Newton Interpolation and Divided Differences 4 4.3 Interpolation Error

More information

From Practical Data Analysis with JMP, Second Edition. Full book available for purchase here. About This Book... xiii About The Author...

From Practical Data Analysis with JMP, Second Edition. Full book available for purchase here. About This Book... xiii About The Author... From Practical Data Analysis with JMP, Second Edition. Full book available for purchase here. Contents About This Book... xiii About The Author... xxiii Chapter 1 Getting Started: Data Analysis with JMP...

More information

Linear Models 1. Isfahan University of Technology Fall Semester, 2014

Linear Models 1. Isfahan University of Technology Fall Semester, 2014 Linear Models 1 Isfahan University of Technology Fall Semester, 2014 References: [1] G. A. F., Seber and A. J. Lee (2003). Linear Regression Analysis (2nd ed.). Hoboken, NJ: Wiley. [2] A. C. Rencher and

More information

ADDITIVE COEFFICIENT MODELING VIA POLYNOMIAL SPLINE

ADDITIVE COEFFICIENT MODELING VIA POLYNOMIAL SPLINE ADDITIVE COEFFICIENT MODELING VIA POLYNOMIAL SPLINE Lan Xue and Lijian Yang Michigan State University Abstract: A flexible nonparametric regression model is considered in which the response depends linearly

More information

So far our focus has been on estimation of the parameter vector β in the. y = Xβ + u

So far our focus has been on estimation of the parameter vector β in the. y = Xβ + u Interval estimation and hypothesis tests So far our focus has been on estimation of the parameter vector β in the linear model y i = β 1 x 1i + β 2 x 2i +... + β K x Ki + u i = x iβ + u i for i = 1, 2,...,

More information

Bivariate Data: Graphical Display The scatterplot is the basic tool for graphically displaying bivariate quantitative data.

Bivariate Data: Graphical Display The scatterplot is the basic tool for graphically displaying bivariate quantitative data. Bivariate Data: Graphical Display The scatterplot is the basic tool for graphically displaying bivariate quantitative data. Example: Some investors think that the performance of the stock market in January

More information

41903: Introduction to Nonparametrics

41903: Introduction to Nonparametrics 41903: Notes 5 Introduction Nonparametrics fundamentally about fitting flexible models: want model that is flexible enough to accommodate important patterns but not so flexible it overspecializes to specific

More information