MACROECONOMETRICS LAB 3 – DYNAMIC MODELS.

Slides:



Advertisements
Similar presentations
Functional Form and Dynamic Models
Advertisements

Dynamic panels and unit roots
Economics 20 - Prof. Anderson
Multiple Regression Analysis
Multiple Regression W&W, Chapter 13, 15(3-4). Introduction Multiple regression is an extension of bivariate regression to take into account more than.
Multivariate Regression
The Simple Regression Model
Structural Equation Modeling
There are at least three generally recognized sources of endogeneity. (1) Model misspecification or Omitted Variables. (2) Measurement Error.
The Multiple Regression Model.
Econ 488 Lecture 5 – Hypothesis Testing Cameron Kaplan.
3.2 OLS Fitted Values and Residuals -after obtaining OLS estimates, we can then obtain fitted or predicted values for y: -given our actual and predicted.
1 MF-852 Financial Econometrics Lecture 11 Distributed Lags and Unit Roots Roy J. Epstein Fall 2003.
How should these data be modelled?. Identification step: Look at the SAC and SPAC Looks like an AR(1)- process. (Spikes are clearly decreasing in SAC.
Adaptive expectations and partial adjustment Presented by: Monika Tarsalewska Piotrek Jeżak Justyna Koper Magdalena Prędota.
Economics Prof. Buckles1 Time Series Data y t =  0 +  1 x t  k x tk + u t 1. Basic Analysis.
Slide 18.1 Time Structured Data MathematicalMarketing Chapter 18 Econometrics This series of slides will cover a subset of Chapter 18  Data and Operators.
Prof. Dr. Rainer Stachuletz
Adaptive expectations & partial adjustment models 1 Adaptive Expectations & Partial Adjustment Models Presented & prepared by Marta Stępień and.
Time Series Model Estimation Materials for this lecture Read Chapter 15 pages 30 to 37 Lecture 7 Time Series.XLS Lecture 7 Vector Autoregression.XLS.
Lecture 27 Distributed Lag Models
CHAPTER 4 ECONOMETRICS x x x x x Multiple Regression = more than one explanatory variable Independent variables are X 2 and X 3. Y i = B 1 + B 2 X 2i +
Multiple Regression Applications
Chapter 11 Multiple Regression.
Topic 3: Regression.
Econ 140 Lecture 191 Autocorrelation Lecture 19. Econ 140 Lecture 192 Today’s plan Durbin’s h-statistic Autoregressive Distributed Lag model & Finite.
1Prof. Dr. Rainer Stachuletz Time Series Data y t =  0 +  1 x t  k x tk + u t 1. Basic Analysis.
Linear Regression Models Powerful modeling technique Tease out relationships between “independent” variables and 1 “dependent” variable Models not perfect…need.
Ordinary Least Squares
Multiple Linear Regression Analysis
12 Autocorrelation Serial Correlation exists when errors are correlated across periods -One source of serial correlation is misspecification of the model.
Hypothesis Tests and Confidence Intervals in Multiple Regressors
Single and Multiple Spell Discrete Time Hazards Models with Parametric and Non-Parametric Corrections for Unobserved Heterogeneity David K. Guilkey.
Objectives of Multiple Regression
Inference for regression - Simple linear regression
Hypothesis Testing in Linear Regression Analysis
Regression Method.
Time Series Model Estimation Materials for lecture 6 Read Chapter 15 pages 30 to 37 Lecture 6 Time Series.XLSX Lecture 6 Vector Autoregression.XLSX.
Lecture 14 Multiple Regression Model
2-1 MGMG 522 : Session #2 Learning to Use Regression Analysis & The Classical Model (Ch. 3 & 4)
How do Lawyers Set fees?. Learning Objectives 1.Model i.e. “Story” or question 2.Multiple regression review 3.Omitted variables (our first failure of.
MultiCollinearity. The Nature of the Problem OLS requires that the explanatory variables are independent of error term But they may not always be independent.
Estimating Demand Functions Chapter Objectives of Demand Estimation to determine the relative influence of demand factors to forecast future demand.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 15 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
Pure Serial Correlation
Random Regressors and Moment Based Estimation Prepared by Vera Tabakova, East Carolina University.
1 Multiple Regression Analysis y =  0 +  1 x 1 +  2 x  k x k + u.
1Spring 02 Problems in Regression Analysis Heteroscedasticity Violation of the constancy of the variance of the errors. Cross-sectional data Serial Correlation.
Lecture 12 Time Series Model Estimation
Time Series Analysis Lecture 11
1 Prof. Dr. Rainer Stachuletz Multiple Regression Analysis y =  0 +  1 x 1 +  2 x  k x k + u 1. Estimation.
Dynamic Models, Autocorrelation and Forecasting ECON 6002 Econometrics Memorial University of Newfoundland Adapted from Vera Tabakova’s notes.
10-1 MGMG 522 : Session #10 Simultaneous Equations (Ch. 14 & the Appendix 14.6)
Economics 20 - Prof. Anderson1 Time Series Data y t =  0 +  1 x t  k x tk + u t 1. Basic Analysis.
4-1 MGMG 522 : Session #4 Choosing the Independent Variables and a Functional Form (Ch. 6 & 7)
Lecture 12 Time Series Model Estimation Materials for lecture 12 Read Chapter 15 pages 30 to 37 Lecture 12 Time Series.XLSX Lecture 12 Vector Autoregression.XLSX.
Time Series Econometrics
Lecture 6 Feb. 2, 2015 ANNOUNCEMENT: Lab session will go from 4:20-5:20 based on the poll. (The majority indicated that it would not be a problem to chance,
Chapter 4 Basic Estimation Techniques
How regression works The Right Questions about Statistics:
Kakhramon Yusupov June 15th, :30pm – 3:00pm Session 3
ECO 400-Time Series Econometrics VAR MODELS
Fundamentals of regression analysis
Fundamentals of regression analysis 2
STOCHASTIC REGRESSORS AND THE METHOD OF INSTRUMENTAL VARIABLES
Pure Serial Correlation
DYNAMIC ECONOMETRIC MODELS
REGRESSION DIAGNOSTIC I: MULTICOLLINEARITY
Linear Algebra Lecture 3.
Tutorial 1: Misspecification
Presentation transcript:

MACROECONOMETRICS LAB 3 – DYNAMIC MODELS

ROADMAP What if we know that the effect lasts in time? Distributed lags ALMON KOYCK ADAPTIVE EXPECTATIONS PARTIAL ADJUSTMENT STATA not really too complicated here 

How to do lags? Infinite? Unrestricted? how many lags do we take? how to know? Unrestricted? do we impose any structure on the lags? this structure might be untrue? but there is also cost to unrestricted approach...

Unrestricted lags (no structure) It is always finite! N lags and no structure in parameters OLS works BUT n observations lost high multicollinearity imprecise, large s.e., low t, lots of d.f. Lost STRUCTURE COULD HELP yt =  + 0 xt + 1 xt-1 + 2 xt-2 + . . . +n xt-n + et

Arithmetic lag The effect of X eventually zero Linearly! The coefficients not independent of each other effect of each lag less than previous exactly like arithmetic series: un=u1+d(n-1)

Arithmetic lag - structure 0 = (n+1) 1 = n Linear lag structure 2 = (n-1) . n =  0 1 2 . . . . . n n+1 i

Arithmetic lag - maths X (log of) money supply and Y (log of) GDP, n=12 and g is estimated to be 0.1 the effect of a change in x on GDP in the current period is b0=(n+1)g=1.3 the impact of monetary policy one period later has declined to b1=ng=1.2 n periods later, the impact is bn= g=0.1 n+1 periods later the impact is zero

Arithmetic lag - estimation OLS, only need to estimate one parameter: g STEP 1: impose restriction STEP 2: factor out the parameter STEP 3: define z STEP 4: decide n (no. of lags) yt =  + 0 xt + 1 xt-1 + 2 xt-2 + . . . +n xt-n + et yt =  +  [(n+1)xt + nxt-1 + (n-1)xt-2 + . . . + xt-n] + et zt = [(n+1)xt + nxt-1 + (n-1)xt-2 + . . . + xt-n] ??? For n = 4: zt = [ 5xt + 4xt-1 + 3xt-2 + 2xt-3 + xt-4]

Arithmetic lag – pros & cons Advantages: Only one parameter to be estimated! t-statistics ok., better s.e., results more reliable Straightforward interpretation Disadvantages: If restriction untrue, estimators biased and inconsistent Solution? F-test! (see: end of the notes)

Polynomial lag (ALMON) If we want a different shape of IRF... It’s just a different shape Still finite: the effect eventually goes to zero (by DEFINITION and not by nature!) The coefficients still related to each other BUT not a uniform pattern (decline)

Polynomial lag - structure i = 0 + 1i + 2i 2 i . 2 1 3 0 4 0 1 2 3 4 i

Polynomial lag - maths n – the lenght of the lag p – degree of the polynomial For example a quadratic polynomial i = 0 + 1i + 2i2 +...+ pip, where i=1, . . . , n i = 0 + 1i + 2i2 , where p=2 and n=4 0 = 0 1 = 0 + 1 + 2 2 = 0 + 21 + 42 3 = 0 + 31 + 92 4 = 0 + 41 + 162

Polynomial lags - estimation OLS, only need to estimate p parameters: g0,..., gp STEP 1: impose restriction STEP 2: factor out the unknown coefficients STEP 3: define z STEP 4: do OLS on yt =  + 0 z t0 + 1 z t1 + 2 z t2 + et yt =  +0xt + 0 + 1 + 2xt-1+(0 +21 +42)xt-2+(0+31 +92)xt-3+ (0 +41 + 162)xt-4 + et yt =  +0 [xt +xt-1+xt-2+xt-3 +xt-4]+1[xt+xt-1+2xt-2+3xt-3 +4xt-4] + 2 [xt + xt-1 + 4xt-2 + 9xt-3 + 16xt-4] + et z t0 = [xt + xt-1 + xt-2 + xt-3 + xt-4] z t1 = [xt + xt-1 + 2xt-2 + 3xt-3 + 4xt- 4 ] z t2 = [xt + xt-1 + 4xt-2 + 9xt-3 + 16xt- 4]

Polynomial lag – pros & cons Advantages: Fewer parameters to be estimated than in the unrestricted lag structure More precise than unrestricted If the polynomial restriction likely to be true: More flexible than arithmetic DL Disadvantages If the restriction untrue, biased and inconsistent (see F-test in the end of the notes)

Arithmetic vs. Polynomial vs. ??? Conclusion no. 1 Data should decide about the assumed pattern of impulse-response function Conclusion no. 2 We still do not know, how many lags! Conclusion no. 3 We still have a finite no. of lags.

Geometric lag (KOYCK) Distributed lag is infinite  infinite lag length (no time limits) BUT cannot estimate an infinite number of parameters!  Restrict the lag coefficients to follow a pattern For the geometric lag the pattern is one of continuous decline at decreasing rate (we are still stuck with the problem of imposing fading out instead of observing it – gladly, it is not really painful, as most processes behave like that anyway )

Geometric lag - structure . 0 1 2 3 4 i 1 =  2 = 2 3 = 3 4 = 4 0 =  Geometrically declining weights

Geometric lag - maths Infinite distributed lag model yt =  + 0 xt + 1 xt-1 + 2 xt-2 + . . . + et yt =  + i xt-i + et Geometric lag structure i = i where || < 1 and i Infinite unstructured geometric lag model yt =  + 0 xt + 1 xt-1 + 2 xt-2 + 3 xt-3 + . . . + et AND:0=, 1=, 2=2, 3=3 ... Substitute i = i => infinite geometric lag yt =  + xt +  xt-1 +  xt-2 +  xt-3 + . . .) + et

Geometric lag - estimation Cannot estimate using OLS yt-1 is dependent on et-1  cannot alow that (need to instrument) Apply Koyck transformation Then use 2SLS Only need to estimate two parameters: f,b Have to do some algebra to rewrite the model in form that can be estimated.

Geometric lag – Koyck transformation Original equation: yt =  + xt +  xt-1 +  xt-2 +  xt-3 + . . .) + et Koyck rule: lag everything once, multiply by  and substract from the original yt-1 is dependent on et-1 so yt-1 is correlated with vt-1 OLS will be consistent (it cannot distinguish between change in yt caused by yt-1 that caused by vt) yt =  + xt +  xt-1 +  xt-2 +  xt-3 + . . .) + et  yt-1 =  +  xt-1 +  xt-2 +  xt-3 + . . .) +  et-1 yt   yt-1 =  + xt + (et  et-1) yt =  +  yt-1 + xt + (et  et-1) so yt = +  yt-1 + xt + t

Geometric lag - estimation Regress yt-1 on xt-1 and calculate the fitted value Use the fitted value in place of yt-1 in the Koyck regression and that is it! Why does this work? from the first stage fitted value is not correlated with et-1 but yt-1 is so fitted value is uncorrelated with vt =(et -et-1 ) 2SLS will produce consistent estimates of the Geometric Lag Model

Geometric lag – pros & cons Advantages You only estimate two parameters! Disadvantages We allow neither for heterogenous nor for unsmooth declining It has many well specified versions, among which two have particular importance: ADAPTIVE EXPECTATIONS PARTIAL ADJUSTMENT MODEL (for both: see next student presentation)

F-tests of restrictions Estimate the unrestricted model Estimate the restricted (any lag) model Calculate the test statistic Compare with critical value F(df1,df2) df1 = number of restrictions df2 = number of observations-number of variables in the unrestricted model (incl. constant) H0: residuals are ‘the same’, restricted model OK