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

Size: px
Start display at page:

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

Transcription

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

2 Outline 1 Motivation 2 Introduction 3 The Kalman filter 4 Forecast errors 5 State smoothing 6 Disturbance smoothing 7 Missing observations 8 Forecasting 9 Initialization 10 Parameter estimation 11 Linear Gaussian state space model 12 Examples of S-S specifications UC models in S-S form ARIMA in S-S form 13 Kalman filter recursions Rossi State-space Model Fin. Econometrics / 53

3 Motivation Example Basic linear regression model y t = x tβ + ɛ t t = 1,..., T x t is observed. Latent factor model: y t = s tλ + u t where s t is a (K 1) vector of unobserved or latent factors, and λ is the vector of factor loadings. Rossi State-space Model Fin. Econometrics / 53

4 Motivation Latent factor models The latent factor class of model is encountered frequently in economics and finance and prominent examples include 1 multi-factor models of the term structure of interest rates, 2 dating of business cycles, 3 the identification of ex ante real interest rates, 4 real business cycle models with technology shocks, 5 the APT model 6 models of stochastic volatility. A number of advantages stem from being able to identify the existence of a latent factor structure underlying the behaviour of economic and financial time series. 1 it provides a parsimonious way of modelling dynamic multivariate systems. (the curse of dimensionality arises even in relatively small systems of unrestricted VARs). 2 it avoids the need to use ad hoc proxy variables for the unobservable variables which can result in biased and inconsistent parameters estimates. Rossi State-space Model Fin. Econometrics / 53

5 Motivation Latent factor models Despite the fact that it is latent, the factor s t can nonetheless be characterized via the time series properties of the observed dependent variables. The system of equations capturing this structure is commonly referred to as state-space (S-S) form and the technique that enables this identification and extraction of latent factors is known as the Kalman filter. An important assumption underlying the Kalman filter is that of normality of the disturbance terms impacting on the system. The assumption of normality makes it possible to summarize the entire distribution of the latent factors using conditional means and variances alone. Consequently, these moments feature prominently in the derivations of the recursions that define the Kalman filter. For the case in which the assumption of normality of the disturbance terms is inappropriate, a quasi-maximum likelihood estimator may be available. Rossi State-space Model Fin. Econometrics / 53

6 Motivation Term Structure of Interest Rates In the case of a single latent factor, K = 1, the term structure model for interest rates is r i,t = λ i s t + u i,t i = 1,..., N N maturities (e.g. three months, one year, three years, five years, seven years, and ten years). s t is a latent factor and u i,t i.i.d.n(0, σi 2 ). The disturbance term, u i,t, allows for idiosyncratic movements in the i-th yield which are not explained by movements in the factor. This set of equations can be written as a single equation in matrix form as Rossi State-space Model Fin. Econometrics / 53

7 Introduction Introduction Basic model for representing a time series is the additive model: y t = µ t + γ t + ɛ t t = 1,..., T µ t is a slowly varying component called the trend; γ t is a periodic component of fixed period called seasonal; ɛ t is the error Rossi State-space Model Fin. Econometrics / 53

8 Introduction Local level model Consider µ t = α t y t = α t + ɛ t ɛ t N(0, σ 2 ɛ ) α t = α t 1 + η t η t N(0, σ 2 η) where ɛ t and η t are all mutually independent and are independent of α 1. The purpose The object of the methodology is to infer relevant properties of the α t s from a knowledge of the observations y 1,..., y T. Rossi State-space Model Fin. Econometrics / 53

9 Introduction Local level model We assume initially that where a 1, P 1, σ 2 ɛ and σ 2 η are known. The model for y t is non-stationary. α 1 N (a 1, P 1 ) The local level model is an example of a linear Gaussian state space model The variable α t is called the state and is unobserved. Rossi State-space Model Fin. Econometrics / 53

10 The Kalman filter The Kalman filter The object of filtering is to update the knowledge of the system each time a new observation y t is brought in. Let and assume that Y t 1 = {y 1,..., y t 1 } α t Y t 1 N (a t, P t ) If a t and P t are known we can calculate a t+1 and P t+1 when y t is brought in. Since a t+1 = E[α t+1 Y t ] = E[α t + η t Y t ] = E[α t Y t ] P t+1 = Var[α t+1 Y t ] = Var[α t + η t Y t ] = Var[α t Y t ] + σ 2 η Rossi State-space Model Fin. Econometrics / 53

11 The Kalman filter The Kalman filter Define v t = y t a t = y t E[α t Y t 1 ] and F t = Var(v t ). Then E[v t Y t 1 ] = E[α t + ɛ t a t Y t 1 ] = a t a t = 0 thus E[v t ] = E[E[v t Y t 1 ]] = 0 and Cov[v t, y j ] = E[v t y j ] = E[E[v t Y t 1 ]y j ] = 0 so v t and y j are independent for j = 1, 2,..., t 1. When Y t is fixed Y t 1, y t are fixed v t and Y t 1 are fixed, and viceversa. Rossi State-space Model Fin. Econometrics / 53

12 The Kalman filter The Kalman filter Consequently, E[α t Y t ] = E[α t Y t 1, v t ] Var[α t Y t ] = Var[α t Y t 1, v t ] Since all variables are normally distributed, the E[α t Y t ] and Var[α t Y t ] are given by standard formulae from multivariate normal regression theory. Rossi State-space Model Fin. Econometrics / 53

13 The Kalman filter The Kalman filter Suppose that x, y and z are random vectors of arbitrary orders that are jointly normally distributed where Σ = with Σ yz = Σ zy = 0 x y z Σ xx Σ xy Σ xz Σ yx Σ yy Σ yz Σ zx Σ zy Σ zz N (µ p, Σ) = Σ xx Σ xy Σ xz Σ yx Σ yy 0 Σ zx 0 Σ zz Rossi State-space Model Fin. Econometrics / 53

14 The Kalman filter The Kalman filter Multivariate normal regression E[x y, z] = E[x y] + Σ xy Σ 1 yy z Var[x y, z] = Var[x y] Σ xy Σ 1 yy Σ xy Rossi State-space Model Fin. Econometrics / 53

15 The Kalman filter The Kalman filter Proof. By standard multivariate regression theory E[x w] = µ x + Σ xw Σ 1 ww (w µ w ) Var[x w] = Σ xx Σ xw Σ 1 wwσ xw But with w = (y, z ) : Σ ww = because Σ yz = 0, and Σ xw = [Σ xy Σ xz ] [ ] Σyy 0 0 Σ zz [ Σ 1 ] [ yy 0 y µy E[x y, z] = µ x + [Σ xy Σ xz ] 0 Σ 1 zz z = µ x + Σ xy Σ 1 yy (y µ y ) + Σ xz Σ 1 zz z ] since µ z = 0. Rossi State-space Model Fin. Econometrics / 53

16 The Kalman filter The Kalman filter Since Var[x w] = Σ xx Σ xw Σ 1 wwσ xw [ Σ 1 Var[x y, z] = Σ xx [Σ xy Σ xz ] yy 0 0 Σ 1 zz ] [ Σ xy = ( Σ xx Σ xy Σ 1 yy Σ ) xy Σxz Σzz 1 Σ xz = Var[x y] Σ xz Σ 1 zz Σ xz Σ xz ] Rossi State-space Model Fin. Econometrics / 53

17 The Kalman filter The Kalman filter It follows that E[α t Y t ] = E[α t Y t 1, v t ] = E[α t Y t 1 ] + Cov[α t, v t ] Var[v t ] 1 v t Now, Cov[α t, v t ] = E [α t (y t a t )] = E[α t (α t + ɛ t a t )] = E[αt 2 + α t ɛ t α t a t ] = E[E[αt 2 Y t 1 ]] + E[α t ɛ t ] E[E[α t Y t 1 ]a t ] = E[E[αt 2 Y t 1 ]] E[E[α t Y t 1 ] 2 ] = E [Var[α t Y t 1 ]] = P t and F t Var[v t ] = Var[α t + ɛ t a t ] = Var[α t a t ] + Var[ɛ t ] = E[(α t a t ) 2 ] + Var[ɛ t ] = E[E[(α t a t ) 2 Y t 1 ]] + Var[ɛ t ] = E [Var[α t Y t 1 ]] + Var[ɛ t ] = P t + σɛ 2 Rossi State-space Model Fin. Econometrics / 53

18 The Kalman filter The Kalman filter Thus, since a t = E[α t Y t 1 ] or E[α t Y t ] = E[α t Y t 1, v t ] = a t + P t F t v t E[α t Y t ] = E[α t Y t 1, v t ] = a t + K t v t where K t P t F t is the regression coefficient of α t on v t. We have Var[α t Y t ] = Var[α t Y t 1, v t ] = Var[α t Y t 1 ] Cov[α t, v t ] 2 Var[v t ] 1 = P t P 2 t F t = P t (1 K t ) Rossi State-space Model Fin. Econometrics / 53

19 The Kalman filter The Kalman filter The full set of relations for updating from time t to time t + 1: v t = y t a t F t = P t + σ 2 ɛ a 1 and P 1 are assumed to be known. K t = P t F t a t+1 = a t + K t v t P t+1 = P t (1 K t ) + ση 2 t = 1,..., T Rossi State-space Model Fin. Econometrics / 53

20 Forecast errors Forecast errors The Kalman Filter (KF) residual v t = Y t a t and its variance F t are the one-step-ahead forecast error and the one-step-ahead forecast variance of y t Y t 1. The joint density of {y 1,..., y T } is p(y 1,..., y T ) = p(y 1 ) T p(y t Y t 1 ) the density of {v 1,..., v T }, provided that v t = y t a t is given by p(v 1,..., v T ) = p(y 1,..., y T ) y t v t T = p(v t ) t=1 t=2 Consequently, {v 1,..., v T } are mutually independent. Rossi State-space Model Fin. Econometrics / 53

21 Forecast errors Error recursions Define the state estimation error as with x t = α t a t Var(x t ) = P t the state estimation errors and the forecast errors are linear functions of the initial state error x 1 and the disturbances ɛ t and η t. v t = x t + ɛ t where x t+1 = α t+1 a t+1 = α t + η t a t K t v t = x t + η t K t (x t + ɛ t ) = L t x t + η t K t ɛ t L t = 1 K t = σ 2 ɛ /F t Rossi State-space Model Fin. Econometrics / 53

22 State smoothing Smoothed state Smoothing Estimation of α 1,..., α n given the entire sample Y n = (y 1,..., y n ). The conditional density α t Y n N ( α t, V t ) where the smoothed state α t = E(α t Y n ) and the smoothed state variance V t = Var[α t Y n ]. The operation of calculating α 1, α 2,..., α n is called state smoothing. Rossi State-space Model Fin. Econometrics / 53

23 State smoothing Smoothed state The forecast errors v 1,..., v n are mutually independent and are a linear transformation of y 1,..., y n the errors (v t,..., v n ) are independent of (y 1,..., y t 1 ) with zero means. when y 1,..., y n are fixed Y t 1, v t,..., v n are fixed and vice versa. E[x y, z] = E[x y] + Σ xz Σ 1 zz z α t = E[α t Y n ] = E[α t Y t 1, v t,..., v n ] = E[α t Y t 1 ] + Cov[α t, (v t,..., v n ) ] Var[(v t,..., v n ) ] 1 (v t,..., v n ) 1 Cov(α t, v t ) F t 0 v t = a t Cov(α t, v n ) 0 F n v n n = a t + Cov(α t, v j )F 1 j v j j=t Rossi State-space Model Fin. Econometrics / 53

24 State smoothing Smoothed state Cov(α t, v j ) = Cov(x t, v j ) for j = t,..., n and Cov(x t, v t ) = E[x t (x t + ɛ t )] = Var(x t ) = P t Cov(x t, v t+1 ) = E[x t (x t+1 + ɛ t+1 )] = E[x t (L t x t + η t K t ɛ t )] = P t L t Similarly, Cov(x t, v t+2 ) = P t L t L t+1. Cov(x t, v n ) = P t L t L t+1... L n 1 Rossi State-space Model Fin. Econometrics / 53

25 State smoothing Smoothed state Substituting in α t : where α t = v t v t+1 v t+2 a t + P t + P t L t + P t L t L t F t F t+1 F t+2 = a t + P t r t 1 r t 1 = v t F t + L t v t+1 F t+1 + L t L t+1 v t+2 F t L t L t+1... L n 1 v n F n is a weighted sum of innovations after t 1. r n = 0 since no observations are available after time n. Rossi State-space Model Fin. Econometrics / 53

26 State smoothing Smoothed state The value of r t 1 can be evaluated using the backward recursion r t 1 = v t F t + L t r t t = n, n 1,..., 1 The smoothed stare can be calculated by the backwards recursion (smoothing state recursion) with r n = 0. r t 1 = v t F t + L t r t α t = a t + P t r t 1 t = n, n 1,..., 1 Rossi State-space Model Fin. Econometrics / 53

27 State smoothing Smoothed state variance The error variance of the smoothed state V t = Var[α t Y n ] = Var[α t Y t 1, v t,..., v n ] = Var[α t Y t 1 ] Cov[α t, (v t,..., v n ) ] Var[(v t,..., v n ) ] 1 Cov[α t, (v t,..., v n ) ] 1 Cov(α t, v t ) F t 0 Cov(α t, v t ) = P t Cov(α t, v n ) 0 F n Cov(α t, v n ) n = P t Cov[(α t, v j )] 2 F 1 j j=1 Given that Cov(α t, v j ) = Cov(x t, v j ) for j = t,..., n and Cov(x t, v t ) = P t Cov(x t, v t+1 ) = P t L t Rossi State-space Model Fin. Econometrics / 53

28 State smoothing Smoothed state variance We can obtain V t = P t Pt 2 N t 1 where N t 1 = 1 + L 2 1 t + L 2 t L 2 1 t L 2 t L 2 t+1... L 2 1 n 1 F t F t+1 F t+2 N t = 1 + L 2 1 t+1 + L 2 F t+1 F t+1l 2 1 t L 2 t+2 F t+1l 2 t+2... L 2 1 n 1 t+3 N n = 0. N t 1 can be calculated using the backward recursion F n F n N t 1 = 1 F t + L 2 t N t N t = Var(r t ) since the forecast errors v t are independent. Rossi State-space Model Fin. Econometrics / 53

29 State smoothing Smoothed state variance The error variance of the smoothed state can be calculated by the backwards recursion N t 1 = 1 F t + L 2 t N t V t = P t P 2 t N t 1 t = n,..., 1 From the standard error V t of α t we can construct confidence intervals for α t for t = 1,..., n. It is also possible to derive the smoothed covariances between the states Cov(α s, α t Y n ), t s. Rossi State-space Model Fin. Econometrics / 53

30 Disturbance smoothing Disturbance smoothing Smoothed observation disturbance smoothed state disturbance ɛ t = E[ɛ t Y n ] = y t α t η t = E[η t Y n ] = α t+1 α t the estimates of ɛ t and η t are useful for detecting outliers and structural breaks. Rossi State-space Model Fin. Econometrics / 53

31 Missing observations Missing observations Missing observations are very easy to handle in Kalman filtering. Suppose the observations y j, j = τ,..., τ 1 are missing for 1 < τ < τ n. The most ideal way to deal with it is to define a new series y t = y t t = 1,..., τ 1 y t = y t+τ τ t = τ,..., n n = n (τ τ) The model is the same local level model with y t = y t except that α τ = α τ 1 + η τ 1 where η τ 1 N (0, (τ τ)σ 2 η) Rossi State-space Model Fin. Econometrics / 53

32 Missing observations Missing observations Filtering at time t = τ,..., τ 1 t 1 E[α t Y t 1 ] = E[α t Y τ 1 ] = E α τ + η j Y τ 1 = a τ and t 1 Var[α t Y t 1 ] = Var[α t Y τ 1 ] = Var α τ + η j Y τ 1 = P τ + (t τ)ση 2 giving j=τ j=τ a t+1 = a t P t+1 = P t + σ 2 η t = τ,..., τ 1 We can use the original KF for all t, by taking v t = 0 and K t = 0 at the missing time points. Rossi State-space Model Fin. Econometrics / 53

33 Forecasting Forecasting Let y n+j be the minimum MSE forecast given the time series {y 1,..., y n }, j = 1, 2,..., J, with J > 0. Then y n+j = E[y n+j Y n ] The theory of forecasting for the local level model: we regard forecasting as filtering the observations (y 1,..., y n, y n+1,..., y n+j ) using KF and treating the last J observations y n+1,..., y n+j as missing. Letting a n+j = E[α n+j Y n ] P n+j+1 = P n+j + σ 2 η j = 1,..., J 1 with a n+1 = a n+1 and P n+1 = P n+1 obtained from the KF. Rossi State-space Model Fin. Econometrics / 53

34 Forecasting Forecasting The forecast of y: for j = 1,..., J. y n+j = E[y n+j Y n ] = E[α n+j Y n ] + E[ɛ n+j Y n ] = a n+j F n+j = Var[y n+j Y n ] + Var[ɛ n+j Y n ] = P n+j + σ 2 ɛ The KF can be applied for t = 1,..., n + J where the observations at times n + 1,..., n + J are treated as missing. Rossi State-space Model Fin. Econometrics / 53

35 Initialization Initialization How to start up the filter when nothing is known about the distribution of α 1. Diffuse prior: α 1 N(a 1, P 1 ) where a 1 is set at an arbitrary value and P 1. v 1 = y 1 a 1 substituting into the equations for a 2 and P 2 : F 1 = P 1 + σ 2 ɛ a 2 = a 1 + P 1 P 1 + σɛ 2 (y 1 a 1 ) ( P 2 = P P 1 P 1 + σɛ 2 = P 1 P 1 + σɛ 2 σɛ 2 + ση 2 ) + σ 2 η letting P 1, we obtain a 2 = y 1, P 2 = σ 2 ɛ + σ 2 η, then we proceed with the KF (diffuse KF). Rossi State-space Model Fin. Econometrics / 53

36 Parameter estimation Parameter estimation Since p(y 1,..., y n ) = p(y t 1 )p(y t Y t 1 ) the joint density of y 1,..., y n can be expressed as t = 2,..., n n p(y) = p(y t Y t 1 ) t=1 where p(y 1 Y 0 ) = p(y 1 ). p(y t Y t 1 ) = N (a t, F t ) v t = y t a t the log-likelihood is given by log L = log p(y) = n 2 log (2π) 1 2 n t=1 ( ) log F t + v2 t F t with v t and F t from the KF. This the prediction error decomposition of the likelihood. Estimation proceeds by numerically maximizing log L. Rossi State-space Model Fin. Econometrics / 53

37 Parameter estimation Parameter estimation The log-likelihood in the diffuse case. All terms in the log-lik expression remain finite as P 1 with y fixed except the term for t = 1. To remove the influence of P 1 define the diffuse log-likelihood as: ( log L d = lim log L + 1 ) P 1 2 log P 1 ) = 1 2 lim P 1 n 2 log (2π) 1 2 ( log F 1 P 1 + v2 1 n t=2 F 1 ( ) log F t + v2 t F t since F 1 /P 1 1 and v 2 1/F 1 0 as P 1. P 1 does not depend on σ 2 ɛ and σ 2 η, the values of σ 2 ɛ and σ 2 η that maximize log L are identical to the values that maximize log L log P 1. Rossi State-space Model Fin. Econometrics / 53

38 Linear Gaussian state space model Linear Gaussian state space model Linear Gaussian state space model is defined in three parts: State equation: Observation equation: Initial state distribution: α t+1 = T t α t + R t ζ t η t i.i.d.n (0, Q t ) y t = Z t α t + ɛ t ɛ t i.i.d.n (0, H t ) α 1 N (a 1, P 1 ) The matrices Z t, T t, R t, H t, Q t are independent of {ɛ 1,..., ɛ n } and {η 1,..., η n }. In many applications R t = I m, the theory remains valid if R t (m r). Rossi State-space Model Fin. Econometrics / 53

39 Linear Gaussian state space model Linear Gaussian state space model The idea underlying the model is that the development of the system over time is determined by α t according to the state equation. Because α t cannot be observed directly we must base the analysis on observations y t. The matrices Z t, T t, R t, H t and Q t are initially assumed to be known and the error terms ɛ t and η t are assumed to be serially independent and independent of each other at all time points. Matrices Z t, and T t 1, are permitted to depend on y 1,..., y t 1 The initial state vector is assumed to be N (a 1, P 1 ) independently of ɛ 1,..., ɛ n and η 1,..., η n. a 1 and P 1 are assumed to be known. Rossi State-space Model Fin. Econometrics / 53

40 Linear Gaussian state space model Linear Gaussian state space model State space model is linear and Gaussian: therefore properties and results of multivariate normal distribution apply; State vector α t evolves as a VAR(1) process; System matrices usually contain unknown parameters; Estimation has therefore two aspects: 1 measuring the unobservable state (prediction, filtering and smoothing); 2 estimation of unknown parameters (maximum likelihood estimation); State space methods offer a unified approach to a wide range of models and techniques: dynamic regression, ARIMA, UC models, latent variable models, spline-fitting and many ad-hoc filters; Rossi State-space Model Fin. Econometrics / 53

41 Examples of S-S specifications Regression with Time Varying Coefficients Regressors in Z t = X t T t = I R t = I regression model with coefficient α t following a random walk. Rossi State-space Model Fin. Econometrics / 53

42 Examples of S-S specifications UC models in S-S form Unobserved Component models Local level model: y t = µ t + ɛ t ɛ t N(0, σ 2 ɛ ) µ t+1 = µ t + η t η t N(0, σ 2 η) State equation: α t+1 = T t α t + R t ζ t ζ t i.i.d.n (0, Q t ) Observation equation: α t = µ t T t = 1 R t = 1 Q t = σ 2 η y t = Z t α t + ɛ t ɛ t i.i.d.n (0, H t ) Z t = 1 H t = σ 2 ɛ Rossi State-space Model Fin. Econometrics / 53

43 Examples of S-S specifications UC models in S-S form Local linear trend model y t = µ t + ɛ t ɛ t N(0, σ 2 ɛ ) µ t+1 = µ t + ν t + η t η t N(0, σ 2 η) ν t+1 = ν t + ξ t ξ t N(0, σ 2 ξ) If ξ t = η t = 0 this entails ν t+1 = ν t = ν µ t+1 = µ t + ν y t = µ t + ɛ t µ t+1 = µ t + ν deterministic trend plus noise. Rossi State-space Model Fin. Econometrics / 53

44 Examples of S-S specifications UC models in S-S form Local linear trend model State equation: α t = [ µt ν t Observation equation: α t+1 = T t α t + R t ζ t ζ t i.i.d.n (0, Q t ) ] [ ] [ ] [ ] σ 2 T t = R 0 1 t = Q 0 1 t = η 0 0 σξ 2 y t = Z t α t + ɛ t ɛ t i.i.d.n (0, H t ) Z t = [ 1 0 ] H t = σ 2 ɛ Rossi State-space Model Fin. Econometrics / 53

45 Examples of S-S specifications ARIMA in S-S form ARIMA ARIMA(p,d,q): All ARIMA(p,d,q) models have a (non-unique) state space representation. y t = d x t α t = r = max (p, q + 1) y t = r j=1 φ(l)y t = θ(l)η t r 1 φ j y t j + η t + θ j η t j j=1 Z t = [1, 0, 0,..., 0] y t φ 2 y t φ r y t r+1 + θ 1 η t θ r 1 η t r+2 φ 3 y t φ r y t r+2 + θ 1 η t θ r 1 η t r+3. φ r y t 1 + θ r 1 η t Rossi State-space Model Fin. Econometrics / 53

46 Examples of S-S specifications ARIMA in S-S form ARIMA T t = φ φ r φ r R t = R = 1 θ 1. θ r 1 Observation equation: H t = 0 ɛ t = 0. ζ t = η t+1 y t = Z t α t Rossi State-space Model Fin. Econometrics / 53

47 Examples of S-S specifications ARIMA in S-S form ARIMA MA(1) model: Observation equation: y t = η t + θ 1 η t 1 y t = Z t α t Z t = [ 1 0 ] H t = 0 State equation: [ yt+1 ] = θ 1 η t+1 [ ] [ ] [ yt 1 + θ 1 η t θ1 ] η t+1 Q t = σ 2 η Rossi State-space Model Fin. Econometrics / 53

48 Examples of S-S specifications ARIMA in S-S form ARIMA ARMA(2,1), r = 2, Observation equation: State equation: [ y t+1 φ 2 y t + θ 1 η t+1 y t = φ 1 y t 1 + φ 2 y t 2 + η t + θ 1 η t 1 y t = Z t α t Z t = [ 1 0 ] H t = 0 ] = [ φ1 1 φ 2 0 ] [ y t φ 2 y t 1 + θ 1 η t ] [ 1 + θ 1 ] η t+1 y t+1 = φ 1 y t + φ 2 y t 1 + θ 1 η t + η t+1 φ 2 y t + θ 1 η t+1 = φ 2 y t + θ 1 η t+1 Rossi State-space Model Fin. Econometrics / 53

49 Examples of S-S specifications ARIMA in S-S form ARIMA ARIMA(2,1,1): Observation equation: State equation: y t = φ 1 y t 1 + φ 2 y t 2 + η t + θ 1 η t 1 α t+1 = y t = [1, 1, 0] α t φ φ 2 0 α t θ 1 η t+1 State vector: α t = y t 1 y t φ 2 y t 1 + θ 1 η t Rossi State-space Model Fin. Econometrics / 53

50 Examples of S-S specifications ARIMA in S-S form ARIMA 1st equation 2nd equation 3rd equation y t = y t 1 + y t y t+1 = φ 1 y t + φ 2 y t 1 + η t+1 + θ 1 η t φ 2 y t + θ 1 η t+1 = φ 2 y t + θ 1 η t+1 Rossi State-space Model Fin. Econometrics / 53

51 Examples of S-S specifications ARIMA in S-S form ARIMA ARIMA(2,2,1): 3rd equation 2 y t = φ 1 2 y t 1 + φ 2 2 y t 2 + η t + θ 1 η t α t+1 = φ 1 1 α t η t φ 2 0 α t = y t 1 y t 1 2 y t φ 2 2 y t 1 + θ 1 η t θ 1 2 y t+1 = φ 1 2 y t + φ 2 2 y t 1 + η t+1 + θ 1 η t The need to facilitate the initialization explains why the S-S model is set in this form. The elements y 0 and y 0 are treated as diffuse random elements while the other elements, including 2 y t are stationary which have proper unconditional means and variances. Rossi State-space Model Fin. Econometrics / 53

52 Kalman filter recursions Kalman filter recursions The unobserved state α t can be estimated from the observations with the Kalman filter: v t = y t Z t E[y t Y t 1 ] = y t Z t a t F t = Z t P t Z t + H t K t = T t P t Z tf 1 t a t+1 = T t a t + K t v t L t = T t K t Z t P t+1 = T t P t L t + R t Q t R t for t = 1,..., n and starting with given values for a 1 and P 1. Rossi State-space Model Fin. Econometrics / 53

53 Kalman filter recursions Kalman filter recursions The contemporaneous filtering equations incorporate the computation of the state vector estimator a t t E[α t Y t ] and its variance P t t These equations are just a re-formulation of the Kalman filter and me given by M t = P t Z t a t t = a t + M t Ft 1 v t P t t = P t M t Ft 1 M t a t+1 = T t a t t P t+1 = T t P t t T t + R t Q t R t Rossi State-space Model Fin. Econometrics / 53

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

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

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

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

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

Time-Varying Parameters

Time-Varying Parameters 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β

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

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

Week 5 Quantitative Analysis of Financial Markets Characterizing Cycles

Week 5 Quantitative Analysis of Financial Markets Characterizing Cycles Week 5 Quantitative Analysis of Financial Markets Characterizing Cycles Christopher Ting http://www.mysmu.edu/faculty/christophert/ Christopher Ting : christopherting@smu.edu.sg : 6828 0364 : LKCSB 5036

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

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

State-Space Model in Linear Case

State-Space Model in Linear Case State-Space Model in Linear Case Hisashi Tanizaki Faculty of Economics, Kobe University Chapter 1 of Nonlinear Filters: Estimation and Applications Springer-Verlag, 1996 1 Introduction There is a great

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

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

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

Lecture 4: Least Squares (LS) Estimation

Lecture 4: Least Squares (LS) Estimation ME 233, UC Berkeley, Spring 2014 Xu Chen Lecture 4: Least Squares (LS) Estimation Background and general solution Solution in the Gaussian case Properties Example Big picture general least squares estimation:

More information

Prof. Dr. Roland Füss Lecture Series in Applied Econometrics Summer Term Introduction to Time Series Analysis

Prof. Dr. Roland Füss Lecture Series in Applied Econometrics Summer Term Introduction to Time Series Analysis Introduction to Time Series Analysis 1 Contents: I. Basics of Time Series Analysis... 4 I.1 Stationarity... 5 I.2 Autocorrelation Function... 9 I.3 Partial Autocorrelation Function (PACF)... 14 I.4 Transformation

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

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

Università di Pavia. Forecasting. Eduardo Rossi

Università di Pavia. Forecasting. Eduardo Rossi Università di Pavia Forecasting Eduardo Rossi Mean Squared Error Forecast of Y t+1 based on a set of variables observed at date t, X t : Yt+1 t. The loss function MSE(Y t+1 t ) = E[Y t+1 Y t+1 t ]2 The

More information

Exogeneity and Causality

Exogeneity and Causality Università di Pavia Exogeneity and Causality Eduardo Rossi University of Pavia Factorization of the density DGP: D t (x t χ t 1, d t ; Ψ) x t represent all the variables in the economy. The econometric

More information

Measurement Errors and the Kalman Filter: A Unified Exposition

Measurement Errors and the Kalman Filter: A Unified Exposition Luiss Lab of European Economics LLEE Working Document no. 45 Measurement Errors and the Kalman Filter: A Unified Exposition Salvatore Nisticò February 2007 Outputs from LLEE research in progress, as well

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

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

Lecture 2: Univariate Time Series

Lecture 2: Univariate Time Series Lecture 2: Univariate Time Series Analysis: Conditional and Unconditional Densities, Stationarity, ARMA Processes Prof. Massimo Guidolin 20192 Financial Econometrics Spring/Winter 2017 Overview Motivation:

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

at least 50 and preferably 100 observations should be available to build a proper model

at least 50 and preferably 100 observations should be available to build a proper model III Box-Jenkins Methods 1. Pros and Cons of ARIMA Forecasting a) need for data at least 50 and preferably 100 observations should be available to build a proper model used most frequently for hourly or

More information

Multivariate probability distributions and linear regression

Multivariate probability distributions and linear regression Multivariate probability distributions and linear regression Patrik Hoyer 1 Contents: Random variable, probability distribution Joint distribution Marginal distribution Conditional distribution Independence,

More information

Introduction to Stochastic processes

Introduction to Stochastic processes Università di Pavia Introduction to Stochastic processes Eduardo Rossi Stochastic Process Stochastic Process: A stochastic process is an ordered sequence of random variables defined on a probability space

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

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

Estimation of Dynamic Regression Models

Estimation of Dynamic Regression Models University of Pavia 2007 Estimation of Dynamic Regression Models Eduardo Rossi University of Pavia Factorization of the density DGP: D t (x t χ t 1, d t ; Ψ) x t represent all the variables in the economy.

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

Discrete time processes

Discrete time processes Discrete time processes Predictions are difficult. Especially about the future Mark Twain. Florian Herzog 2013 Modeling observed data When we model observed (realized) data, we encounter usually the following

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

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

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

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

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

Chapter 6. Maximum Likelihood Analysis of Dynamic Stochastic General Equilibrium (DSGE) Models

Chapter 6. Maximum Likelihood Analysis of Dynamic Stochastic General Equilibrium (DSGE) Models Chapter 6. Maximum Likelihood Analysis of Dynamic Stochastic General Equilibrium (DSGE) Models Fall 22 Contents Introduction 2. An illustrative example........................... 2.2 Discussion...................................

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

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

STRUCTURAL TIME-SERIES MODELLING

STRUCTURAL TIME-SERIES MODELLING 1: Structural Time-Series Modelling STRUCTURAL TIME-SERIES MODELLING Prajneshu Indian Agricultural Statistics Research Institute, New Delhi-11001 1. Introduction. ARIMA time-series methodology is widely

More information

Linear Models and Estimation by Least Squares

Linear Models and Estimation by Least Squares Linear Models and Estimation by Least Squares Jin-Lung Lin 1 Introduction Causal relation investigation lies in the heart of economics. Effect (Dependent variable) cause (Independent variable) Example:

More information

Appendix A: The time series behavior of employment growth

Appendix A: The time series behavior of employment growth Unpublished appendices from The Relationship between Firm Size and Firm Growth in the U.S. Manufacturing Sector Bronwyn H. Hall Journal of Industrial Economics 35 (June 987): 583-606. Appendix A: The time

More information

Empirical Market Microstructure Analysis (EMMA)

Empirical Market Microstructure Analysis (EMMA) Empirical Market Microstructure Analysis (EMMA) Lecture 3: Statistical Building Blocks and Econometric Basics Prof. Dr. Michael Stein michael.stein@vwl.uni-freiburg.de Albert-Ludwigs-University of Freiburg

More information

Identifying Aggregate Liquidity Shocks with Monetary Policy Shocks: An Application using UK Data

Identifying Aggregate Liquidity Shocks with Monetary Policy Shocks: An Application using UK Data Identifying Aggregate Liquidity Shocks with Monetary Policy Shocks: An Application using UK Data Michael Ellington and Costas Milas Financial Services, Liquidity and Economic Activity Bank of England May

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

Vector autoregressions, VAR

Vector autoregressions, VAR 1 / 45 Vector autoregressions, VAR Chapter 2 Financial Econometrics Michael Hauser WS17/18 2 / 45 Content Cross-correlations VAR model in standard/reduced form Properties of VAR(1), VAR(p) Structural VAR,

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

Siem Jan Koopman Marius Ooms

Siem Jan Koopman Marius Ooms TI 2004-135/4 Tinbergen Institute Discussion Paper Forecasting Daily Time Series using Periodic Unobserved Components Time Series Models Siem Jan Koopman Marius Ooms Faculty of Economics and Business Administration,

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

Title. Description. var intro Introduction to vector autoregressive models

Title. Description. var intro Introduction to vector autoregressive models Title var intro Introduction to vector autoregressive models Description Stata has a suite of commands for fitting, forecasting, interpreting, and performing inference on vector autoregressive (VAR) models

More information

GARCH Models Estimation and Inference

GARCH Models Estimation and Inference Università di Pavia GARCH Models Estimation and Inference Eduardo Rossi Likelihood function The procedure most often used in estimating θ 0 in ARCH models involves the maximization of a likelihood function

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

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

ECON 3150/4150, Spring term Lecture 6

ECON 3150/4150, Spring term Lecture 6 ECON 3150/4150, Spring term 2013. Lecture 6 Review of theoretical statistics for econometric modelling (II) Ragnar Nymoen University of Oslo 31 January 2013 1 / 25 References to Lecture 3 and 6 Lecture

More information

Some Time-Series Models

Some Time-Series Models Some Time-Series Models Outline 1. Stochastic processes and their properties 2. Stationary processes 3. Some properties of the autocorrelation function 4. Some useful models Purely random processes, random

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 PREFACE xiii 1 Difference Equations 1.1. First-Order Difference Equations 1 1.2. pth-order Difference Equations 7

More information

Discussion of Bootstrap prediction intervals for linear, nonlinear, and nonparametric autoregressions, by Li Pan and Dimitris Politis

Discussion of Bootstrap prediction intervals for linear, nonlinear, and nonparametric autoregressions, by Li Pan and Dimitris Politis Discussion of Bootstrap prediction intervals for linear, nonlinear, and nonparametric autoregressions, by Li Pan and Dimitris Politis Sílvia Gonçalves and Benoit Perron Département de sciences économiques,

More information

Labor-Supply Shifts and Economic Fluctuations. Technical Appendix

Labor-Supply Shifts and Economic Fluctuations. Technical Appendix Labor-Supply Shifts and Economic Fluctuations Technical Appendix Yongsung Chang Department of Economics University of Pennsylvania Frank Schorfheide Department of Economics University of Pennsylvania January

More information

Time Series I Time Domain Methods

Time Series I Time Domain Methods Astrostatistics Summer School Penn State University University Park, PA 16802 May 21, 2007 Overview Filtering and the Likelihood Function Time series is the study of data consisting of a sequence of DEPENDENT

More information

Statistics Homework #4

Statistics Homework #4 Statistics 910 1 Homework #4 Chapter 6, Shumway and Stoffer These are outlines of the solutions. If you would like to fill in other details, please come see me during office hours. 6.1 State-space representation

More information

4 Derivations of the Discrete-Time Kalman Filter

4 Derivations of the Discrete-Time Kalman Filter Technion Israel Institute of Technology, Department of Electrical Engineering Estimation and Identification in Dynamical Systems (048825) Lecture Notes, Fall 2009, Prof N Shimkin 4 Derivations of the Discrete-Time

More information

Linear Dynamical Systems

Linear Dynamical Systems Linear Dynamical Systems Sargur N. srihari@cedar.buffalo.edu Machine Learning Course: http://www.cedar.buffalo.edu/~srihari/cse574/index.html Two Models Described by Same Graph Latent variables Observations

More information

Time Series: Theory and Methods

Time Series: Theory and Methods Peter J. Brockwell Richard A. Davis Time Series: Theory and Methods Second Edition With 124 Illustrations Springer Contents Preface to the Second Edition Preface to the First Edition vn ix CHAPTER 1 Stationary

More information

Economics Department LSE. Econometrics: Timeseries EXERCISE 1: SERIAL CORRELATION (ANALYTICAL)

Economics Department LSE. Econometrics: Timeseries EXERCISE 1: SERIAL CORRELATION (ANALYTICAL) Economics Department LSE EC402 Lent 2015 Danny Quah TW1.10.01A x7535 : Timeseries EXERCISE 1: SERIAL CORRELATION (ANALYTICAL) 1. Suppose ɛ is w.n. (0, σ 2 ), ρ < 1, and W t = ρw t 1 + ɛ t, for t = 1, 2,....

More information

ENGR352 Problem Set 02

ENGR352 Problem Set 02 engr352/engr352p02 September 13, 2018) ENGR352 Problem Set 02 Transfer function of an estimator 1. Using Eq. (1.1.4-27) from the text, find the correct value of r ss (the result given in the text is incorrect).

More information

Dynamic Regression Models

Dynamic Regression Models Università di Pavia 2007 Dynamic Regression Models Eduardo Rossi University of Pavia Data Generating Process & Models Setup y t denote an (n 1) vector of economic variables generated at time t. The collection

More information

ECE 541 Stochastic Signals and Systems Problem Set 9 Solutions

ECE 541 Stochastic Signals and Systems Problem Set 9 Solutions ECE 541 Stochastic Signals and Systems Problem Set 9 Solutions Problem Solutions : Yates and Goodman, 9.5.3 9.1.4 9.2.2 9.2.6 9.3.2 9.4.2 9.4.6 9.4.7 and Problem 9.1.4 Solution The joint PDF of X and Y

More information

The Kalman Filter. An Algorithm for Dealing with Uncertainty. Steven Janke. May Steven Janke (Seminar) The Kalman Filter May / 29

The Kalman Filter. An Algorithm for Dealing with Uncertainty. Steven Janke. May Steven Janke (Seminar) The Kalman Filter May / 29 The Kalman Filter An Algorithm for Dealing with Uncertainty Steven Janke May 2011 Steven Janke (Seminar) The Kalman Filter May 2011 1 / 29 Autonomous Robots Steven Janke (Seminar) The Kalman Filter May

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

FaMIDAS: A Mixed Frequency Factor Model with MIDAS structure

FaMIDAS: A Mixed Frequency Factor Model with MIDAS structure FaMIDAS: A Mixed Frequency Factor Model with MIDAS structure Frale C., Monteforte L. Computational and Financial Econometrics Limassol, October 2009 Introduction After the recent financial and economic

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

Machine learning - HT Maximum Likelihood

Machine learning - HT Maximum Likelihood Machine learning - HT 2016 3. Maximum Likelihood Varun Kanade University of Oxford January 27, 2016 Outline Probabilistic Framework Formulate linear regression in the language of probability Introduce

More information

Forecasting economic time series using unobserved components time series models

Forecasting economic time series using unobserved components time series models Forecasting economic time series using unobserved components time series models Siem Jan Koopman and Marius Ooms VU University Amsterdam, Department of Econometrics FEWEB, De Boelelaan 1105, 1081 HV Amsterdam

More information

Functional time series

Functional time series Rob J Hyndman Functional time series with applications in demography 4. Connections, extensions and applications Outline 1 Yield curves 2 Electricity prices 3 Dynamic updating with partially observed functions

More information

Instrumental Variables

Instrumental Variables Università di Pavia 2010 Instrumental Variables Eduardo Rossi Exogeneity Exogeneity Assumption: the explanatory variables which form the columns of X are exogenous. It implies that any randomness in the

More information

Introduction to Estimation Methods for Time Series models. Lecture 1

Introduction to Estimation Methods for Time Series models. Lecture 1 Introduction to Estimation Methods for Time Series models Lecture 1 Fulvio Corsi SNS Pisa Fulvio Corsi Introduction to Estimation () Methods for Time Series models Lecture 1 SNS Pisa 1 / 19 Estimation

More information

ECON/FIN 250: Forecasting in Finance and Economics: Section 6: Standard Univariate Models

ECON/FIN 250: Forecasting in Finance and Economics: Section 6: Standard Univariate Models ECON/FIN 250: Forecasting in Finance and Economics: Section 6: Standard Univariate Models Patrick Herb Brandeis University Spring 2016 Patrick Herb (Brandeis University) Standard Univariate Models ECON/FIN

More information

1 Motivation for Instrumental Variable (IV) Regression

1 Motivation for Instrumental Variable (IV) Regression ECON 370: IV & 2SLS 1 Instrumental Variables Estimation and Two Stage Least Squares Econometric Methods, ECON 370 Let s get back to the thiking in terms of cross sectional (or pooled cross sectional) data

More information

Adaptive State Estimation Robert Stengel Optimal Control and Estimation MAE 546 Princeton University, 2018

Adaptive State Estimation Robert Stengel Optimal Control and Estimation MAE 546 Princeton University, 2018 Adaptive State Estimation Robert Stengel Optimal Control and Estimation MAE 546 Princeton University, 218! Nonlinearity of adaptation! Parameter-adaptive filtering! Test for whiteness of the residual!

More information

ECON/FIN 250: Forecasting in Finance and Economics: Section 7: Unit Roots & Dickey-Fuller Tests

ECON/FIN 250: Forecasting in Finance and Economics: Section 7: Unit Roots & Dickey-Fuller Tests ECON/FIN 250: Forecasting in Finance and Economics: Section 7: Unit Roots & Dickey-Fuller Tests Patrick Herb Brandeis University Spring 2016 Patrick Herb (Brandeis University) Unit Root Tests ECON/FIN

More information

Sample Exam Questions for Econometrics

Sample Exam Questions for Econometrics Sample Exam Questions for Econometrics 1 a) What is meant by marginalisation and conditioning in the process of model reduction within the dynamic modelling tradition? (30%) b) Having derived a model for

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

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

Generalized Autoregressive Score Models

Generalized Autoregressive Score Models Generalized Autoregressive Score Models by: Drew Creal, Siem Jan Koopman, André Lucas To capture the dynamic behavior of univariate and multivariate time series processes, we can allow parameters to be

More information

Volatility. Gerald P. Dwyer. February Clemson University

Volatility. Gerald P. Dwyer. February Clemson University Volatility Gerald P. Dwyer Clemson University February 2016 Outline 1 Volatility Characteristics of Time Series Heteroskedasticity Simpler Estimation Strategies Exponentially Weighted Moving Average Use

More information

GARCH Models Estimation and Inference. Eduardo Rossi University of Pavia

GARCH Models Estimation and Inference. Eduardo Rossi University of Pavia GARCH Models Estimation and Inference Eduardo Rossi University of Pavia Likelihood function The procedure most often used in estimating θ 0 in ARCH models involves the maximization of a likelihood function

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

TAKEHOME FINAL EXAM e iω e 2iω e iω e 2iω

TAKEHOME FINAL EXAM e iω e 2iω e iω e 2iω ECO 513 Spring 2015 TAKEHOME FINAL EXAM (1) Suppose the univariate stochastic process y is ARMA(2,2) of the following form: y t = 1.6974y t 1.9604y t 2 + ε t 1.6628ε t 1 +.9216ε t 2, (1) where ε is i.i.d.

More information

The Slow Convergence of OLS Estimators of α, β and Portfolio. β and Portfolio Weights under Long Memory Stochastic Volatility

The Slow Convergence of OLS Estimators of α, β and Portfolio. β and Portfolio Weights under Long Memory Stochastic Volatility The Slow Convergence of OLS Estimators of α, β and Portfolio Weights under Long Memory Stochastic Volatility New York University Stern School of Business June 21, 2018 Introduction Bivariate long memory

More information

A new unscented Kalman filter with higher order moment-matching

A new unscented Kalman filter with higher order moment-matching A new unscented Kalman filter with higher order moment-matching KSENIA PONOMAREVA, PARESH DATE AND ZIDONG WANG Department of Mathematical Sciences, Brunel University, Uxbridge, UB8 3PH, UK. Abstract This

More information

TREND ESTIMATION AND THE HODRICK-PRESCOTT FILTER

TREND ESTIMATION AND THE HODRICK-PRESCOTT FILTER J. Japan Statist. Soc. Vol. 38 No. 1 2008 41 49 TREND ESTIMATION AND THE HODRICK-PRESCOTT FILTER Andrew Harvey* and Thomas Trimbur** The article analyses the relationship between unobserved component trend-cycle

More information

Estimating the term structure of mortality

Estimating the term structure of mortality Insurance: Mathematics and Economics 42 (2008) 492 504 www.elsevier.com/locate/ime Estimating the term structure of mortality Norbert Hári a, Anja De Waegenaere b,, Bertrand Melenberg b,a, Theo E. Nijman

More information

Nonlinear Parameter Estimation for State-Space ARCH Models with Missing Observations

Nonlinear Parameter Estimation for State-Space ARCH Models with Missing Observations Nonlinear Parameter Estimation for State-Space ARCH Models with Missing Observations SEBASTIÁN OSSANDÓN Pontificia Universidad Católica de Valparaíso Instituto de Matemáticas Blanco Viel 596, Cerro Barón,

More information

If we want to analyze experimental or simulated data we might encounter the following tasks:

If we want to analyze experimental or simulated data we might encounter the following tasks: Chapter 1 Introduction If we want to analyze experimental or simulated data we might encounter the following tasks: Characterization of the source of the signal and diagnosis Studying dependencies Prediction

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

Univariate Time Series Analysis; ARIMA Models

Univariate Time Series Analysis; ARIMA Models Econometrics 2 Fall 24 Univariate Time Series Analysis; ARIMA Models Heino Bohn Nielsen of4 Outline of the Lecture () Introduction to univariate time series analysis. (2) Stationarity. (3) Characterizing

More information