Time-Varying Parameters

Size: px
Start display at page:

Download "Time-Varying Parameters"

Transcription

1 Kalman Filter and state-space models: time-varying parameter models; models with unobservable variables; basic tool: Kalman filter; implementation is task-specific. y t = x t β t + e t (1) β t = µ + Fβ t 1 + v t, (2) e t i.i.d. N(0, R); v t i.i.d. N(0, Q); E(e t v t ) = 0. (3) Possible expected values of time-t-beta: β t t 1, β t t, β t T. Notation: P t t 1 =E[(β t β t t 1 )(β t β t t 1 ) ], P t t =E[(β t β t t )(β t β t t ) ], P t T =E[(β t β t T )(β t β t T ) ], y t t 1 =x t β t t 1, η t t 1 =y t y t t 1, f t t 1 =E(η 2 t t 1 ).

2 and Kalman Filter Prediction Updating β t t 1 = µ + Fβ t 1 t 1, P t t 1 = FP t 1 t 1 F + Q, η t t 1 = y t x t β t t 1, f t t 1 = x t P t t 1 x t + R. β t t = β t t 1 + K t η t t 1, P t t = P t t 1 K t x t P t t 1, where K t = P t t 1 x t f 1 is the Kalman gain. It is a weight, that t t 1 depends on the prediction uncertainty and the variance of the error. This process can be depicted graphically. and Kalman Filter (continued) If we are given the following: values of the parameters µ, F, R, Q, and the starting values, β 0 0 and P 0 0, then we can iterate the Prediciton and Updating equations (in the order listed on the previous slide) over all observations, t [0, T ], so as to compute the estimates of the time-varying parameters, β t t. If we are not given the starting values, but the time-varying parameters are known to be stationary, then we can calculate them: β 0 0 = (I F) 1 µ, and vec(p 0 0 ) = (I F F) 1 vec(q).

3 and Kalman Filter (continued) If we are not given the statring values, and the time-varying parameters may not be stationary, then: set β 0 0 to any arbitrary values and set diagonal elements of P 0 0 to large values, or set P 0 0 = 0 and estimate β 0 0 using maximum likelihood method, then calculate P 0 0 = cov(β MLE 0 0 ) and then rerun the Kalman filter with these estimates as the starting values. If we are not given the values of the parameters µ, F, R, Q, then estimate them using the maximum likelihood method. and Kalman Filter: ML estimation Given the normality assumptions in equation (3), the log-likelihood function for the model is: L = 1 T ln(2πf 2 t t 1 ) 1 T η t=1 2 t t 1 f 1 t t 1 η t t 1. (4) t=1 If the initial values, β 0 0 and P 0 0 are known or at least the time-varying parameters are stationary, then maximize the function in equation (4) with respect to the unknown parameters.

4 and Kalman Filter: ML estimation If the initial values, β 0 0 and P 0 0 are unknown and the time-varying parameters are not stationary, then proceed in one of two ways: estimate the initial values: maximize the function in equation (4) with respect to both the unknown parameters and the initial values by setting P 0 0 = 0, calculate P 0 0 = cov(β MLE 0 0 ), then rerun the Kalman filter (i.e., the Prediction and Updating equations) with these estimates as the starting values; or use random initial values: set β 0 0 to any arbitrary values; set the diagonal elements of P 0 0 to very large values; maximize the following log-likelihood funciton: L = 1 T ln(2πf 2 t t 1 ) 1 T η t=τ 2 t t 1 f 1 t t 1 η t t 1, (5) t=τ where τ is large enough as to dampen the effect of the random initial values (i.e., the period [0, τ 1] is the burn-in period). and Kalman Filter: Smoothing The forecast values of time-varying parameters, β t t 1, and their updated values, β t t are used in the basic Kalman filter. Using more information provides more accurate estimates of the timevarying parameters. How about calculating β t T? After running the basic Kalman filter (Prediction + Updating equations), run backwards (i.e., from time T to time 0) the following equations: Smoothing β t T = β t t + P t t F P 1 t+1 t (β t+1 T Fβ t t µ), and P t T = P t t + P t t F P 1 t+1 t (P t+1 T P t+1 t )(P 1 t+1 t ) FP t t. The starting values for the smoothing equations, β T T and P T T, come from where?

5 Smoothed Kalman Filter Prediction Updating β t t 1 = µ + Fβ t 1 t 1, P t t 1 = FP t 1 t 1 F + Q, η t t 1 = y t x t β t t 1, f t t 1 = x t P t t 1 x t + R. Smoothing β t t = β t t 1 + K t η t t 1, P t t = P t t 1 K t x t P t t 1, β t T = β t t + P t t F P 1 t+1 t (β t+1 T Fβ t t µ), and P t T = P t t + P t t F P 1 t+1 t (P t+1 T P t+1 t )(P 1 t+1 t ) FP t t. Unobservable State Variables Measurement Equation Transition Equation y t = B t x t + Az t + e t ; (6) x t = µ + Fx t 1 + v t, (7) e t i.i.d. N(0, R); v t i.i.d. N(0, Q); E(e t v t) = 0. (8) This model, including the parameters and the unobservable components, can be estimated using the Kalman filter. Notation: P t t 1 =E[(x t x t t 1 )(x t x t t 1 ) ], P t t =E[(x t x t t )(x t x t t ) ], P t T =E[(x t x t T )(x t x t T ) ], y t t 1 =B t x t t 1 + Az t, η t t 1 =y t y t t 1, f t t 1 =E(η t t 1 η t t 1 ).

6 Prediction Updating and Kalman Filter x t t 1 = µ + Fx t 1 t 1, P t t 1 = FP t 1 t 1 F + Q, η t t 1 = y t B t x t t 1 Az t, f t t 1 = B t P t t 1 B t + R. where K t = P t t 1 B t f 1 t t 1. Smoothing x t t = x t t 1 + K t η t t 1, P t t = P t t 1 K t B t P t t 1, x t T = x t t + P t t F P 1 t+1 t (x t+1 T Fx t t µ), and P t T = P t t + P t t F P 1 t+1 t (P t+1 T P t+1 t )(P 1 t+1 t ) FP t t. Examples Many familiar models can be cast in the form of the State-Space Model. Some examples. AR(2) Model: y t = δ + φ 1 y t 1 + φ 2 y t 2 + w t, w t i.i.d.n(0, σ 2 ); [ ] y t = δ xt + [1 0] ; x t 1 [ ] [ ] [ ] [ ] xt φ1 φ = 2 xt 1 wt +, x t x t 2 0 where δ = δ/(1 φ 1 φ 2 ).

7 ARMA(2,1) Model: y t = φ 1 y t 1 + φ 2 y t 2 + w t + θw t 1, w t i.i.d.n(0, σ 2 ); [ ] x1,t y t = [1 θ] ; x 2,t [ ] [ ] [ ] [ ] x1,t φ1 φ = 2 x1,t 1 wt +. x 2,t 1 0 x 2,t 1 0 Time-varying Parameter Model: discussed above; measurement equation is equation (1) above; transition equation is equation (2) above. Kim and Nelson s (1989) model for money supply growth: M t = x t 1 β t + e t, x t = [ 1 i t INF t SURP t M t ]. (9) generates ARCH-like effects via f t t 1 = x t P t t 1 x t + R.

8 Unobserved-Components Model: y t = y 1t + y 2t, y 1t = δ + y 1,t 1 + e 1t, y 2t = φ 1 y 2,t 1 + φ 2 y 2,t 2 + e 2t, e it i.i.d.n(0, σ 2 i ), i = 1, 2, E(e 1t, e 2s ) = 0 for all t and s. y 1t y t = [1 1 0] y 2t ; y 2,t 1 y 1t δ y 2t = 0 + y 2,t φ 1 φ y 1,t 1 y 2,t 1 y 2,t 2 + e 1t e 2t. 0 Unobserved-Components Model (continued): A model for log-real GDP: y t = n t + x t, n t = g t 1 + n t 1 + v t, v t i.i.d.n(0, σ 2 v ), g t = g t 1 + w t, w t i.i.d.n(0, σ 2 w), x t = φ 1 x t 1 + φ 2 x t 2 + e t, e t i.i.d.n(0, σ 2 e ), U t = L t + C t, L t = L t 1 + ψ t, ψ t i.i.d.n(0, σ 2 ψ ), C t = α 0 x t + α 1 x t 1 + α 2 x t 2 + ε t, ε t i.i.d.n(0, σ 2 ε ), where all errors are independent.

9 Unobserved-Components Model (continued): A model for log-real GDP (continued): [ yt U t ] = [ α 0 α 1 α ] n t x t x t 1 x t 2 g t L t n t n t 1 x t 0 φ 1 φ x t 1 x t 1 x = x t 2 t x t 3 g t g t 1 L t L t 1 [ ] 0 + ; ε t + v t e t 0 0 w t ψ t. Dynamic Factor Model: y 1t = γ 1 c t + z 1t, y 2t = γ 2 c t + z 2t, c t = φ 1 c t 1 + v t, v t i.i.d.n(0, 1), z it = α i z i,t 1 + e it, e it i.i.d.n(0, σi 2 ), and E(e 1t, e 2t ) = E(e 1t, v t ) = E(e 2t, v t ) = 0. c t z 1t z 2t [ ] y1t = y 2t = φ α α 2 [ ] c γ1 1 0 t z γ t ; z 2t c t 1 z 1,t 1 z 2,t 1 + v t e 1t. e 2t

10 Dynamic Factor Model (continued): A model for coincident economic indicators (see Stock and Watson (1991)): y it = γ i c t + e it, i = 1, 2, 3, 4, c t = φ 1 c t 1 + φ 2 c t 2 + w t, w t i.i.d.n(0, 1), e it = ψ i1 e i,t 1 + ψ i2 e i,t 2 + ɛ it, ɛ it i.i.d.n(0, σi 2 ), i = 1, 2, 3, 4 Dynamic Factor Model (continued): A model for coincident economic indicators (continued): y 1t y 2t y 3t y 4t = γ γ γ γ c t c t 1 e 1t e 1,t 1 e 2t e 2,t 1 e 3t e 3,t 1 e 4t e 4,t 1 ;

11 Dynamic Factor Model (continued): A model for coincident economic indicators (continued): c t c t 1 e 1t e 1,t 1 e 2t e 2,t 1 e 3t e 3,t 1 e 4t e 4,t 1 = φ 1 φ ψ 11 ψ ψ 21 ψ ψ 31 ψ ψ 41 ψ [ w t 0 ɛ it 0 ɛ 2t 0 ɛ 3t 0 ɛ 4t 0 ]. c t 1 c t 2 e 1,t 1 e 1,t 2 e 2,t 1 e 2,t 2 e 3,t 1 e 3,t 2 e 4,t 1 e 4,t 2 Common Stochastic Trend Model: y 1t = z t + x 1t, y 2t = z t + x 2t, z t = z t 1 + ɛ t, ɛ t i.i.d.n(0, σ 2 ɛ ), x 1t = µ 1 + φ 11 x 1,t 1 + φ 12 x 2,t 1 + e 1t + θ 11 e 1,t 1 + θ 12 e 2,t 1, x 2t = µ 2 + φ 21 x 1,t 1 + φ 22 x 2,t 1 + e 2t + θ 21 e 1,t 1 + θ 22 e 2,t 1, [ ] ([ ] [ ]) e1t 0 σ 2 i.i.d.n, 1 σ 12 e 2t 0 σ 12 σ2 2. [ ] y1t = y 2t [ ] z t x 1t x 2t e 1t e 2t ;

12 Common Stochastic Trend Model (continued): z t x 1t µ 1 0 φ 11 φ 12 θ 11 θ 12 x 2t = µ φ21 φ 22 θ 21 θ 22 e 1t e 2t ɛ t e 1t. e 2t z t 1 x 1,t 1 x 2,t 1 e 1,t 1 e 2,t 1 +

State-space Model. Eduardo Rossi University of Pavia. November Rossi State-space Model Fin. Econometrics / 53

State-space Model. Eduardo Rossi University of Pavia. November Rossi State-space Model Fin. Econometrics / 53 State-space Model Eduardo Rossi University of Pavia November 2014 Rossi State-space Model Fin. Econometrics - 2014 1 / 53 Outline 1 Motivation 2 Introduction 3 The Kalman filter 4 Forecast errors 5 State

More information

State-space Model. Eduardo Rossi University of Pavia. November Rossi State-space Model Financial Econometrics / 49

State-space Model. Eduardo Rossi University of Pavia. November Rossi State-space Model Financial Econometrics / 49 State-space Model Eduardo Rossi University of Pavia November 2013 Rossi State-space Model Financial Econometrics - 2013 1 / 49 Outline 1 Introduction 2 The Kalman filter 3 Forecast errors 4 State smoothing

More information

Open Economy Macroeconomics: Theory, methods and applications

Open Economy Macroeconomics: Theory, methods and applications Open Economy Macroeconomics: Theory, methods and applications Lecture 4: The state space representation and the Kalman Filter Hernán D. Seoane UC3M January, 2016 Today s lecture State space representation

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

Univariate Nonstationary Time Series 1

Univariate Nonstationary Time Series 1 Univariate Nonstationary Time Series 1 Sebastian Fossati University of Alberta 1 These slides are based on Eric Zivot s time series notes available at: http://faculty.washington.edu/ezivot Introduction

More information

Kalman Filter. Lawrence J. Christiano

Kalman Filter. Lawrence J. Christiano Kalman Filter Lawrence J. Christiano Background The Kalman filter is a powerful tool, which can be used in a variety of contexts. can be used for filtering and smoothing. To help make it concrete, we will

More information

Class: Trend-Cycle Decomposition

Class: Trend-Cycle Decomposition Class: Trend-Cycle Decomposition Macroeconometrics - Spring 2011 Jacek Suda, BdF and PSE June 1, 2011 Outline Outline: 1 Unobserved Component Approach 2 Beveridge-Nelson Decomposition 3 Spectral Analysis

More information

X t = a t + r t, (7.1)

X t = a t + r t, (7.1) Chapter 7 State Space Models 71 Introduction State Space models, developed over the past 10 20 years, are alternative models for time series They include both the ARIMA models of Chapters 3 6 and the Classical

More information

July 31, 2009 / Ben Kedem Symposium

July 31, 2009 / Ben Kedem Symposium ing The s ing The Department of Statistics North Carolina State University July 31, 2009 / Ben Kedem Symposium Outline ing The s 1 2 s 3 4 5 Ben Kedem ing The s Ben has made many contributions to time

More information

Lecture 4: Dynamic models

Lecture 4: Dynamic models linear s Lecture 4: s Hedibert Freitas Lopes The University of Chicago Booth School of Business 5807 South Woodlawn Avenue, Chicago, IL 60637 http://faculty.chicagobooth.edu/hedibert.lopes hlopes@chicagobooth.edu

More information

Chapter 9: Forecasting

Chapter 9: Forecasting Chapter 9: Forecasting One of the critical goals of time series analysis is to forecast (predict) the values of the time series at times in the future. When forecasting, we ideally should evaluate the

More information

Chapter 3 - Temporal processes

Chapter 3 - Temporal processes STK4150 - Intro 1 Chapter 3 - Temporal processes Odd Kolbjørnsen and Geir Storvik January 23 2017 STK4150 - Intro 2 Temporal processes Data collected over time Past, present, future, change Temporal aspect

More information

Multivariate State Space Models: Applications

Multivariate State Space Models: Applications Multivariate State Space Models: Applications Sebastian Fossati University of Alberta Application I: Clark (1989) Clark (1987) considered the UC-ARMA(2,0) model y t = µ t + C t µ t = d t 1 + µ t 1 + ε

More information

Lecture 16: State Space Model and Kalman Filter Bus 41910, Time Series Analysis, Mr. R. Tsay

Lecture 16: State Space Model and Kalman Filter Bus 41910, Time Series Analysis, Mr. R. Tsay Lecture 6: State Space Model and Kalman Filter Bus 490, Time Series Analysis, Mr R Tsay A state space model consists of two equations: S t+ F S t + Ge t+, () Z t HS t + ɛ t (2) where S t is a state vector

More information

ECO 513 Fall 2008 C.Sims KALMAN FILTER. s t = As t 1 + ε t Measurement equation : y t = Hs t + ν t. u t = r t. u 0 0 t 1 + y t = [ H I ] u t.

ECO 513 Fall 2008 C.Sims KALMAN FILTER. s t = As t 1 + ε t Measurement equation : y t = Hs t + ν t. u t = r t. u 0 0 t 1 + y t = [ H I ] u t. ECO 513 Fall 2008 C.Sims KALMAN FILTER Model in the form 1. THE KALMAN FILTER Plant equation : s t = As t 1 + ε t Measurement equation : y t = Hs t + ν t. Var(ε t ) = Ω, Var(ν t ) = Ξ. ε t ν t and (ε t,

More information

State Space Model, Official Statistics, Bayesian Statistics Introduction to Durbin s paper and related topics

State Space Model, Official Statistics, Bayesian Statistics Introduction to Durbin s paper and related topics State Space Model, Official Statistics, Bayesian Statistics Introduction to Durbin s paper and related topics Yasuto Yoshizoe Aoyama Gakuin University yoshizoe@econ.aoyama.ac.jp yasuto yoshizoe@post.harvard.edu

More information

Principles of forecasting

Principles of forecasting 2.5 Forecasting Principles of forecasting Forecast based on conditional expectations Suppose we are interested in forecasting the value of y t+1 based on a set of variables X t (m 1 vector). Let y t+1

More information

A Practical Guide to State Space Modeling

A Practical Guide to State Space Modeling A Practical Guide to State Space Modeling Jin-Lung Lin Institute of Economics, Academia Sinica Department of Economics, National Chengchi University March 006 1 1 Introduction State Space Model (SSM) has

More information

Trend-Cycle Decompositions

Trend-Cycle Decompositions Trend-Cycle Decompositions Eric Zivot April 22, 2005 1 Introduction A convenient way of representing an economic time series y t is through the so-called trend-cycle decomposition y t = TD t + Z t (1)

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

Timevarying VARs. Wouter J. Den Haan London School of Economics. c Wouter J. Den Haan

Timevarying VARs. Wouter J. Den Haan London School of Economics. c Wouter J. Den Haan Timevarying VARs Wouter J. Den Haan London School of Economics c Wouter J. Den Haan Time-Varying VARs Gibbs-Sampler general idea probit regression application (Inverted Wishart distribution Drawing from

More information

CENTRE FOR APPLIED MACROECONOMIC ANALYSIS

CENTRE FOR APPLIED MACROECONOMIC ANALYSIS CENTRE FOR APPLIED MACROECONOMIC ANALYSIS The Australian National University CAMA Working Paper Series May, 2005 SINGLE SOURCE OF ERROR STATE SPACE APPROACH TO THE BEVERIDGE NELSON DECOMPOSITION Heather

More information

Approximate Bayesian Computation and Particle Filters

Approximate Bayesian Computation and Particle Filters Approximate Bayesian Computation and Particle Filters Dennis Prangle Reading University 5th February 2014 Introduction Talk is mostly a literature review A few comments on my own ongoing research See Jasra

More information

Model Specification Testing in Nonparametric and Semiparametric Time Series Econometrics. Jiti Gao

Model Specification Testing in Nonparametric and Semiparametric Time Series Econometrics. Jiti Gao Model Specification Testing in Nonparametric and Semiparametric Time Series Econometrics Jiti Gao Department of Statistics School of Mathematics and Statistics The University of Western Australia Crawley

More information

Parameter Estimation for ARCH(1) Models Based on Kalman Filter

Parameter Estimation for ARCH(1) Models Based on Kalman Filter Applied Mathematical Sciences, Vol. 8, 2014, no. 56, 2783-2791 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/10.12988/ams.2014.43164 Parameter Estimation for ARCH(1) Models Based on Kalman Filter Jelloul

More information

Kalman Filter and its Economic Applications

Kalman Filter and its Economic Applications MPRA Munich Personal RePEc Archive Kalman Filter and its Economic Applications Gurnain Kaur Pasricha University of California, Santa Cruz 15. October 2006 Online at http://mpra.ub.uni-muenchen.de/22734/

More information

Forecasting with ARMA

Forecasting with ARMA Forecasting with ARMA Eduardo Rossi University of Pavia October 2013 Rossi Forecasting Financial Econometrics - 2013 1 / 32 Mean Squared Error Linear Projection Forecast of Y t+1 based on a set of variables

More information

TIME SERIES ANALYSIS. Forecasting and Control. Wiley. Fifth Edition GWILYM M. JENKINS GEORGE E. P. BOX GREGORY C. REINSEL GRETA M.

TIME SERIES ANALYSIS. Forecasting and Control. Wiley. Fifth Edition GWILYM M. JENKINS GEORGE E. P. BOX GREGORY C. REINSEL GRETA M. TIME SERIES ANALYSIS Forecasting and Control Fifth Edition GEORGE E. P. BOX GWILYM M. JENKINS GREGORY C. REINSEL GRETA M. LJUNG Wiley CONTENTS PREFACE TO THE FIFTH EDITION PREFACE TO THE FOURTH EDITION

More information

Ph.D. Qualifying Exam Monday Tuesday, January 4 5, 2016

Ph.D. Qualifying Exam Monday Tuesday, January 4 5, 2016 Ph.D. Qualifying Exam Monday Tuesday, January 4 5, 2016 Put your solution to each problem on a separate sheet of paper. Problem 1. (5106) Find the maximum likelihood estimate of θ where θ is a parameter

More information

Computer Intensive Methods in Mathematical Statistics

Computer Intensive Methods in Mathematical Statistics Computer Intensive Methods in Mathematical Statistics Department of mathematics johawes@kth.se Lecture 16 Advanced topics in computational statistics 18 May 2017 Computer Intensive Methods (1) Plan of

More information

Online appendix to On the stability of the excess sensitivity of aggregate consumption growth in the US

Online appendix to On the stability of the excess sensitivity of aggregate consumption growth in the US Online appendix to On the stability of the excess sensitivity of aggregate consumption growth in the US Gerdie Everaert 1, Lorenzo Pozzi 2, and Ruben Schoonackers 3 1 Ghent University & SHERPPA 2 Erasmus

More information

The Functional Central Limit Theorem and Testing for Time Varying Parameters

The Functional Central Limit Theorem and Testing for Time Varying Parameters NBER Summer Institute Minicourse What s New in Econometrics: ime Series Lecture : July 4, 008 he Functional Central Limit heorem and esting for ime Varying Parameters Lecture -, July, 008 Outline. FCL.

More information

MGR-815. Notes for the MGR-815 course. 12 June School of Superior Technology. Professor Zbigniew Dziong

MGR-815. Notes for the MGR-815 course. 12 June School of Superior Technology. Professor Zbigniew Dziong Modeling, Estimation and Control, for Telecommunication Networks Notes for the MGR-815 course 12 June 2010 School of Superior Technology Professor Zbigniew Dziong 1 Table of Contents Preface 5 1. Example

More information

MAT 3379 (Winter 2016) FINAL EXAM (PRACTICE)

MAT 3379 (Winter 2016) FINAL EXAM (PRACTICE) MAT 3379 (Winter 2016) FINAL EXAM (PRACTICE) 15 April 2016 (180 minutes) Professor: R. Kulik Student Number: Name: This is closed book exam. You are allowed to use one double-sided A4 sheet of notes. Only

More information

Core Inflation and Trend Inflation. Appendix

Core Inflation and Trend Inflation. Appendix Core Inflation and Trend Inflation Appendix June 2015 (Revised November 2015) James H. Stock Department of Economics, Harvard University and the National Bureau of Economic Research and Mark W. Watson

More information

Parameter Estimation in the Spatio-Temporal Mixed Effects Model Analysis of Massive Spatio-Temporal Data Sets

Parameter Estimation in the Spatio-Temporal Mixed Effects Model Analysis of Massive Spatio-Temporal Data Sets Parameter Estimation in the Spatio-Temporal Mixed Effects Model Analysis of Massive Spatio-Temporal Data Sets Matthias Katzfuß Advisor: Dr. Noel Cressie Department of Statistics The Ohio State University

More information

Vector Auto-Regressive Models

Vector Auto-Regressive Models Vector Auto-Regressive Models Laurent Ferrara 1 1 University of Paris Nanterre M2 Oct. 2018 Overview of the presentation 1. Vector Auto-Regressions Definition Estimation Testing 2. Impulse responses functions

More information

ARMA Estimation Recipes

ARMA Estimation Recipes Econ. 1B D. McFadden, Fall 000 1. Preliminaries ARMA Estimation Recipes hese notes summarize procedures for estimating the lag coefficients in the stationary ARMA(p,q) model (1) y t = µ +a 1 (y t-1 -µ)

More information

VAR Models and Applications

VAR Models and Applications VAR Models and Applications Laurent Ferrara 1 1 University of Paris West M2 EIPMC Oct. 2016 Overview of the presentation 1. Vector Auto-Regressions Definition Estimation Testing 2. Impulse responses functions

More information

Statistics 910, #15 1. Kalman Filter

Statistics 910, #15 1. Kalman Filter Statistics 910, #15 1 Overview 1. Summary of Kalman filter 2. Derivations 3. ARMA likelihoods 4. Recursions for the variance Kalman Filter Summary of Kalman filter Simplifications To make the derivations

More information

Time Series Examples Sheet

Time Series Examples Sheet Lent Term 2001 Richard Weber Time Series Examples Sheet This is the examples sheet for the M. Phil. course in Time Series. A copy can be found at: http://www.statslab.cam.ac.uk/~rrw1/timeseries/ Throughout,

More information

Financial Econometrics and Volatility Models Estimation of Stochastic Volatility Models

Financial Econometrics and Volatility Models Estimation of Stochastic Volatility Models Financial Econometrics and Volatility Models Estimation of Stochastic Volatility Models Eric Zivot April 26, 2010 Outline Likehood of SV Models Survey of Estimation Techniques for SV Models GMM Estimation

More information

Factor Analysis and Kalman Filtering (11/2/04)

Factor Analysis and Kalman Filtering (11/2/04) CS281A/Stat241A: Statistical Learning Theory Factor Analysis and Kalman Filtering (11/2/04) Lecturer: Michael I. Jordan Scribes: Byung-Gon Chun and Sunghoon Kim 1 Factor Analysis Factor analysis is used

More information

The Kalman filter, Nonlinear filtering, and Markov Chain Monte Carlo

The Kalman filter, Nonlinear filtering, and Markov Chain Monte Carlo NBER Summer Institute Minicourse What s New in Econometrics: Time Series Lecture 5 July 5, 2008 The Kalman filter, Nonlinear filtering, and Markov Chain Monte Carlo Lecture 5, July 2, 2008 Outline. Models

More information

1 Linear Difference Equations

1 Linear Difference Equations ARMA Handout Jialin Yu 1 Linear Difference Equations First order systems Let {ε t } t=1 denote an input sequence and {y t} t=1 sequence generated by denote an output y t = φy t 1 + ε t t = 1, 2,... with

More information

Markov Switching Models

Markov Switching Models Applications with R Tsarouchas Nikolaos-Marios Supervisor Professor Sophia Dimelis A thesis presented for the MSc degree in Business Mathematics Department of Informatics Athens University of Economics

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

TMA4285 December 2015 Time series models, solution.

TMA4285 December 2015 Time series models, solution. Norwegian University of Science and Technology Department of Mathematical Sciences Page of 5 TMA4285 December 205 Time series models, solution. Problem a) (i) The slow decay of the ACF of z t suggest that

More information

Bayesian Inference for DSGE Models. Lawrence J. Christiano

Bayesian Inference for DSGE Models. Lawrence J. Christiano Bayesian Inference for DSGE Models Lawrence J. Christiano Outline State space-observer form. convenient for model estimation and many other things. Bayesian inference Bayes rule. Monte Carlo integation.

More information

MID-TERM EXAM ANSWERS. p t + δ t = Rp t 1 + η t (1.1)

MID-TERM EXAM ANSWERS. p t + δ t = Rp t 1 + η t (1.1) ECO 513 Fall 2005 C.Sims MID-TERM EXAM ANSWERS (1) Suppose a stock price p t and the stock dividend δ t satisfy these equations: p t + δ t = Rp t 1 + η t (1.1) δ t = γδ t 1 + φp t 1 + ε t, (1.2) where

More information

6.3 Forecasting ARMA processes

6.3 Forecasting ARMA processes 6.3. FORECASTING ARMA PROCESSES 123 6.3 Forecasting ARMA processes The purpose of forecasting is to predict future values of a TS based on the data collected to the present. In this section we will discuss

More information

Bayesian Inference for DSGE Models. Lawrence J. Christiano

Bayesian Inference for DSGE Models. Lawrence J. Christiano Bayesian Inference for DSGE Models Lawrence J. Christiano Outline State space-observer form. convenient for model estimation and many other things. Bayesian inference Bayes rule. Monte Carlo integation.

More information

Non-Stationary Time Series and Unit Root Testing

Non-Stationary Time Series and Unit Root Testing Econometrics II Non-Stationary Time Series and Unit Root Testing Morten Nyboe Tabor Course Outline: Non-Stationary Time Series and Unit Root Testing 1 Stationarity and Deviation from Stationarity Trend-Stationarity

More information

... Econometric Methods for the Analysis of Dynamic General Equilibrium Models

... Econometric Methods for the Analysis of Dynamic General Equilibrium Models ... Econometric Methods for the Analysis of Dynamic General Equilibrium Models 1 Overview Multiple Equation Methods State space-observer form Three Examples of Versatility of state space-observer form:

More information

Model-based trend-cycle decompositions. with time-varying parameters

Model-based trend-cycle decompositions. with time-varying parameters Model-based trend-cycle decompositions with time-varying parameters Siem Jan Koopman Kai Ming Lee Soon Yip Wong s.j.koopman@ klee@ s.wong@ feweb.vu.nl Department of Econometrics Vrije Universiteit Amsterdam

More information

Class 1: Stationary Time Series Analysis

Class 1: Stationary Time Series Analysis Class 1: Stationary Time Series Analysis Macroeconometrics - Fall 2009 Jacek Suda, BdF and PSE February 28, 2011 Outline Outline: 1 Covariance-Stationary Processes 2 Wold Decomposition Theorem 3 ARMA Models

More information

Technical appendices: Business cycle accounting for the Japanese economy using the parameterized expectations algorithm

Technical appendices: Business cycle accounting for the Japanese economy using the parameterized expectations algorithm Technical appendices: Business cycle accounting for the Japanese economy using the parameterized expectations algorithm Masaru Inaba November 26, 2007 Introduction. Inaba (2007a) apply the parameterized

More information

Some functional (Hölderian) limit theorems and their applications (II)

Some functional (Hölderian) limit theorems and their applications (II) Some functional (Hölderian) limit theorems and their applications (II) Alfredas Račkauskas Vilnius University Outils Statistiques et Probabilistes pour la Finance Université de Rouen June 1 5, Rouen (Rouen

More information

Computer Intensive Methods in Mathematical Statistics

Computer Intensive Methods in Mathematical Statistics Computer Intensive Methods in Mathematical Statistics Department of mathematics johawes@kth.se Lecture 5 Sequential Monte Carlo methods I 31 March 2017 Computer Intensive Methods (1) Plan of today s lecture

More information

Estimating Macroeconomic Models: A Likelihood Approach

Estimating Macroeconomic Models: A Likelihood Approach Estimating Macroeconomic Models: A Likelihood Approach Jesús Fernández-Villaverde University of Pennsylvania, NBER, and CEPR Juan Rubio-Ramírez Federal Reserve Bank of Atlanta Estimating Dynamic Macroeconomic

More information

7 Day 3: Time Varying Parameter Models

7 Day 3: Time Varying Parameter Models 7 Day 3: Time Varying Parameter Models References: 1. Durbin, J. and S.-J. Koopman (2001). Time Series Analysis by State Space Methods. Oxford University Press, Oxford 2. Koopman, S.-J., N. Shephard, and

More information

Probabilistic Graphical Models

Probabilistic Graphical Models Probabilistic Graphical Models Brown University CSCI 2950-P, Spring 2013 Prof. Erik Sudderth Lecture 12: Gaussian Belief Propagation, State Space Models and Kalman Filters Guest Kalman Filter Lecture by

More information

Estimation and Inference on Dynamic Panel Data Models with Stochastic Volatility

Estimation and Inference on Dynamic Panel Data Models with Stochastic Volatility Estimation and Inference on Dynamic Panel Data Models with Stochastic Volatility Wen Xu Department of Economics & Oxford-Man Institute University of Oxford (Preliminary, Comments Welcome) Theme y it =

More information

2.5 Forecasting and Impulse Response Functions

2.5 Forecasting and Impulse Response Functions 2.5 Forecasting and Impulse Response Functions Principles of forecasting Forecast based on conditional expectations Suppose we are interested in forecasting the value of y t+1 based on a set of variables

More information

Dynamic linear models (aka state-space models) 1

Dynamic linear models (aka state-space models) 1 Dynamic linear models (aka state-space models) 1 Advanced Econometris: Time Series Hedibert Freitas Lopes INSPER 1 Part of this lecture is based on Gamerman and Lopes (2006) Markov Chain Monte Carlo: Stochastic

More information

Kalman Filter and its Economic Applications

Kalman Filter and its Economic Applications Kalman Filter and its Economic Applications Gurnain Kaur Pasricha University of California Santa Cruz, CA 95060 E-mail: gpasrich@ucsc.edu October 15, 2006 Abstract. The paper is an eclectic study of the

More information

Factor Models for Asset Returns. Prof. Daniel P. Palomar

Factor Models for Asset Returns. Prof. Daniel P. Palomar Factor Models for Asset Returns Prof. Daniel P. Palomar The Hong Kong University of Science and Technology (HKUST) MAFS6010R- Portfolio Optimization with R MSc in Financial Mathematics Fall 2018-19, HKUST,

More information

Multivariate GARCH models.

Multivariate GARCH models. Multivariate GARCH models. Financial market volatility moves together over time across assets and markets. Recognizing this commonality through a multivariate modeling framework leads to obvious gains

More information

Multivariate ARMA Processes

Multivariate ARMA Processes LECTURE 8 Multivariate ARMA Processes A vector y(t) of n elements is said to follow an n-variate ARMA process of orders p and q if it satisfies the equation (1) A 0 y(t) + A 1 y(t 1) + + A p y(t p) = M

More information

ARIMA Modelling and Forecasting

ARIMA Modelling and Forecasting ARIMA Modelling and Forecasting Economic time series often appear nonstationary, because of trends, seasonal patterns, cycles, etc. However, the differences may appear stationary. Δx t x t x t 1 (first

More information

Estimating Missing Observations in Economic Time Series

Estimating Missing Observations in Economic Time Series Estimating Missing Observations in Economic Time Series A. C. Harvey London School of Economics, Houghton Street, London, WC2A 2AE, UK R. G. Pierse Department of Applied Economics, Cambridge University,

More information

ECON 616: Lecture 1: Time Series Basics

ECON 616: Lecture 1: Time Series Basics ECON 616: Lecture 1: Time Series Basics ED HERBST August 30, 2017 References Overview: Chapters 1-3 from Hamilton (1994). Technical Details: Chapters 2-3 from Brockwell and Davis (1987). Intuition: Chapters

More information

Lecture 2: From Linear Regression to Kalman Filter and Beyond

Lecture 2: From Linear Regression to Kalman Filter and Beyond Lecture 2: From Linear Regression to Kalman Filter and Beyond January 18, 2017 Contents 1 Batch and Recursive Estimation 2 Towards Bayesian Filtering 3 Kalman Filter and Bayesian Filtering and Smoothing

More information

Ch. 15 Forecasting. 1.1 Forecasts Based on Conditional Expectations

Ch. 15 Forecasting. 1.1 Forecasts Based on Conditional Expectations Ch 15 Forecasting Having considered in Chapter 14 some of the properties of ARMA models, we now show how they may be used to forecast future values of an observed time series For the present we proceed

More information

Consider the trend-cycle decomposition of a time series y t

Consider the trend-cycle decomposition of a time series y t 1 Unit Root Tests Consider the trend-cycle decomposition of a time series y t y t = TD t + TS t + C t = TD t + Z t The basic issue in unit root testing is to determine if TS t = 0. Two classes of tests,

More information

STA 4273H: Statistical Machine Learning

STA 4273H: Statistical Machine Learning STA 4273H: Statistical Machine Learning Russ Salakhutdinov Department of Statistics! rsalakhu@utstat.toronto.edu! http://www.utstat.utoronto.ca/~rsalakhu/ Sidney Smith Hall, Room 6002 Lecture 11 Project

More information

Bayesian Inference for DSGE Models. Lawrence J. Christiano

Bayesian Inference for DSGE Models. Lawrence J. Christiano Bayesian Inference for DSGE Models Lawrence J. Christiano Outline State space-observer form. convenient for model estimation and many other things. Preliminaries. Probabilities. Maximum Likelihood. Bayesian

More information

Elements of Multivariate Time Series Analysis

Elements of Multivariate Time Series Analysis Gregory C. Reinsel Elements of Multivariate Time Series Analysis Second Edition With 14 Figures Springer Contents Preface to the Second Edition Preface to the First Edition vii ix 1. Vector Time Series

More information

GARCH Models Estimation and Inference

GARCH Models Estimation and Inference GARCH Models Estimation and Inference Eduardo Rossi University of Pavia December 013 Rossi GARCH Financial Econometrics - 013 1 / 1 Likelihood function The procedure most often used in estimating θ 0 in

More information

Lecture 2: ARMA(p,q) models (part 2)

Lecture 2: ARMA(p,q) models (part 2) Lecture 2: ARMA(p,q) models (part 2) Florian Pelgrin University of Lausanne, École des HEC Department of mathematics (IMEA-Nice) Sept. 2011 - Jan. 2012 Florian Pelgrin (HEC) Univariate time series Sept.

More information

Introduction to Signal Processing

Introduction to Signal Processing to Signal Processing Davide Bacciu Dipartimento di Informatica Università di Pisa bacciu@di.unipi.it Intelligent Systems for Pattern Recognition Signals = Time series Definitions Motivations A sequence

More information

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

Econometría 2: Análisis de series de Tiempo Econometría 2: Análisis de series de Tiempo Karoll GOMEZ kgomezp@unal.edu.co http://karollgomez.wordpress.com Segundo semestre 2016 IX. Vector Time Series Models VARMA Models A. 1. Motivation: The vector

More information

ECON 4160: Econometrics-Modelling and Systems Estimation Lecture 7: Single equation models

ECON 4160: Econometrics-Modelling and Systems Estimation Lecture 7: Single equation models ECON 4160: Econometrics-Modelling and Systems Estimation Lecture 7: Single equation models Ragnar Nymoen Department of Economics University of Oslo 25 September 2018 The reference to this lecture is: Chapter

More information

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY Time Series Analysis James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY & Contents PREFACE xiii 1 1.1. 1.2. Difference Equations First-Order Difference Equations 1 /?th-order Difference

More information

Research Division Federal Reserve Bank of St. Louis Working Paper Series

Research Division Federal Reserve Bank of St. Louis Working Paper Series Research Division Federal Reserve Bank of St Louis Working Paper Series Kalman Filtering with Truncated Normal State Variables for Bayesian Estimation of Macroeconomic Models Michael Dueker Working Paper

More information

A Data-Driven Model for Software Reliability Prediction

A Data-Driven Model for Software Reliability Prediction A Data-Driven Model for Software Reliability Prediction Author: Jung-Hua Lo IEEE International Conference on Granular Computing (2012) Young Taek Kim KAIST SE Lab. 9/4/2013 Contents Introduction Background

More information

Maximum Likelihood (ML), Expectation Maximization (EM) Pieter Abbeel UC Berkeley EECS

Maximum Likelihood (ML), Expectation Maximization (EM) Pieter Abbeel UC Berkeley EECS Maximum Likelihood (ML), Expectation Maximization (EM) Pieter Abbeel UC Berkeley EECS Many slides adapted from Thrun, Burgard and Fox, Probabilistic Robotics Outline Maximum likelihood (ML) Priors, and

More information

State-Space Methods for Inferring Spike Trains from Calcium Imaging

State-Space Methods for Inferring Spike Trains from Calcium Imaging State-Space Methods for Inferring Spike Trains from Calcium Imaging Joshua Vogelstein Johns Hopkins April 23, 2009 Joshua Vogelstein (Johns Hopkins) State-Space Calcium Imaging April 23, 2009 1 / 78 Outline

More information

Miscellaneous. Regarding reading materials. Again, ask questions (if you have) and ask them earlier

Miscellaneous. Regarding reading materials. Again, ask questions (if you have) and ask them earlier Miscellaneous Regarding reading materials Reading materials will be provided as needed If no assigned reading, it means I think the material from class is sufficient Should be enough for you to do your

More information

Non-Stationary Time Series, Cointegration, and Spurious Regression

Non-Stationary Time Series, Cointegration, and Spurious Regression Econometrics II Non-Stationary Time Series, Cointegration, and Spurious Regression Econometrics II Course Outline: Non-Stationary Time Series, Cointegration and Spurious Regression 1 Regression with Non-Stationarity

More information

Information geometry for bivariate distribution control

Information geometry for bivariate distribution control Information geometry for bivariate distribution control C.T.J.Dodson + Hong Wang Mathematics + Control Systems Centre, University of Manchester Institute of Science and Technology Optimal control of stochastic

More information

Generalized Autoregressive Score Smoothers

Generalized Autoregressive Score Smoothers Generalized Autoregressive Score Smoothers Giuseppe Buccheri 1, Giacomo Bormetti 2, Fulvio Corsi 3,4, and Fabrizio Lillo 2 1 Scuola Normale Superiore, Italy 2 University of Bologna, Italy 3 University

More information

State Space and Hidden Markov Models

State Space and Hidden Markov Models State Space and Hidden Markov Models Kunsch H.R. State Space and Hidden Markov Models. ETH- Zurich Zurich; Aliaksandr Hubin Oslo 2014 Contents 1. Introduction 2. Markov Chains 3. Hidden Markov and State

More information

B y t = γ 0 + Γ 1 y t + ε t B(L) y t = γ 0 + ε t ε t iid (0, D) D is diagonal

B y t = γ 0 + Γ 1 y t + ε t B(L) y t = γ 0 + ε t ε t iid (0, D) D is diagonal Structural VAR Modeling for I(1) Data that is Not Cointegrated Assume y t =(y 1t,y 2t ) 0 be I(1) and not cointegrated. That is, y 1t and y 2t are both I(1) and there is no linear combination of y 1t and

More information

Multivariate Time Series: VAR(p) Processes and Models

Multivariate Time Series: VAR(p) Processes and Models Multivariate Time Series: VAR(p) Processes and Models A VAR(p) model, for p > 0 is X t = φ 0 + Φ 1 X t 1 + + Φ p X t p + A t, where X t, φ 0, and X t i are k-vectors, Φ 1,..., Φ p are k k matrices, with

More information

MEI Exam Review. June 7, 2002

MEI Exam Review. June 7, 2002 MEI Exam Review June 7, 2002 1 Final Exam Revision Notes 1.1 Random Rules and Formulas Linear transformations of random variables. f y (Y ) = f x (X) dx. dg Inverse Proof. (AB)(AB) 1 = I. (B 1 A 1 )(AB)(AB)

More information

Final Exam Financial Data Analysis at the University of Freiburg (Winter Semester 2008/2009) Friday, November 14, 2008,

Final Exam Financial Data Analysis at the University of Freiburg (Winter Semester 2008/2009) Friday, November 14, 2008, Professor Dr. Roman Liesenfeld Final Exam Financial Data Analysis at the University of Freiburg (Winter Semester 2008/2009) Friday, November 14, 2008, 10.00 11.30am 1 Part 1 (38 Points) Consider the following

More information

Part I State space models

Part I State space models Part I State space models 1 Introduction to state space time series analysis James Durbin Department of Statistics, London School of Economics and Political Science Abstract The paper presents a broad

More information

Estimating AR/MA models

Estimating AR/MA models September 17, 2009 Goals The likelihood estimation of AR/MA models AR(1) MA(1) Inference Model specification for a given dataset Why MLE? Traditional linear statistics is one methodology of estimating

More information

PILCO: A Model-Based and Data-Efficient Approach to Policy Search

PILCO: A Model-Based and Data-Efficient Approach to Policy Search PILCO: A Model-Based and Data-Efficient Approach to Policy Search (M.P. Deisenroth and C.E. Rasmussen) CSC2541 November 4, 2016 PILCO Graphical Model PILCO Probabilistic Inference for Learning COntrol

More information