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

Size: px
Start display at page:

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

Transcription

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

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

3 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 Financial Econometrics / 49

4 Introduction 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 Financial Econometrics / 49

5 Introduction 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 Financial Econometrics / 49

6 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 Financial Econometrics / 49

7 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 Financial Econometrics / 49

8 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 Financial Econometrics / 49

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

10 The Kalman filter Multivariate normal regression E[x y, z] = µ x + Σ xy Σ 1 yy z Var[x y, z] = Var[x y] Σ xy Σ 1 yy Σ xy Rossi State-space Model Financial Econometrics / 49

11 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 Financial Econometrics / 49

12 The Kalman filter [ Σ 1 Var[x y, z] = Σ xx [Σ xy Σ xz ] yy 0 0 Σ 1 = ( Σ xx Σ xy Σ 1 yy Σ ) xy Σxz Σ 1 zz Σ xz = Var[x y] Σ xz Σ 1 zz Σ xz zz ] [ Σ xy Σ xz ] Rossi State-space Model Financial Econometrics / 49

13 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[E[α t + ɛ t a t Y t 1 ]] + E[Var[α t + ɛ t a t Y t 1 ]] = E [Var[α t Y t 1 ]] + Var[ɛ t ] = P t + σɛ 2 Rossi State-space Model Financial Econometrics / 49

14 The Kalman filter Thus, since a t = E[α t Y t 1 ] E[α t Y t ] = E[α t Y t 1, v t ] = a t + P t F t v t or where is the regression coefficient of α t on v t. We have E[α t Y t ] = E[α t Y t 1, v t ] = a t + K t v t K t P t F t 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 P2 t F t = P t (1 K t ) Rossi State-space Model Financial Econometrics / 49

15 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 Financial Econometrics / 49

16 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 Financial Econometrics / 49

17 Forecast errors 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 Financial Econometrics / 49

18 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 Financial Econometrics / 49

19 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 Financial Econometrics / 49

20 State smoothing Smoothed state Cov(α t, v j ) = Cov(x t, v j ) for j = t,..., n and Similarly, 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 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 Financial Econometrics / 49

21 State smoothing Smoothed state Substituting in α t : α 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 where 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 Financial Econometrics / 49

22 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 Financial Econometrics / 49

23 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 Financial Econometrics / 49

24 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 Financial Econometrics / 49

25 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 Financial Econometrics / 49

26 Disturbance smoothing Smoothed observation disturbance ɛ t = E[ɛ t Y n ] = y t α t smoothed state disturbance η 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 Financial Econometrics / 49

27 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 Financial Econometrics / 49

28 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 Financial Econometrics / 49

29 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 Financial Econometrics / 49

30 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 Financial Econometrics / 49

31 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 P 1 + σ 2 ɛ 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 Financial Econometrics / 49

32 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 + v t 2 ) 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 Financial Econometrics / 49

33 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 + v 2 1 n t=2 F 1 ( log F t + v 2 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 Financial Econometrics / 49

34 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 Financial Econometrics / 49

35 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 Financial Econometrics / 49

36 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 Financial Econometrics / 49

37 Examples of S-S representations 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 Financial Econometrics / 49

38 Examples of S-S representations UC models in S-S form 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 Financial Econometrics / 49

39 Examples of S-S representations 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 Financial Econometrics / 49

40 Examples of S-S representations UC models in S-S form State equation: α t = α t+1 = T t α t + R t ζ t ζ t i.i.d.n (0, Q t ) ] [ ] [ ] [ ] σ 2 T ν t = R t 0 1 t = Q 0 1 t = η 0 0 σξ 2 [ µt Observation equation: 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 Financial Econometrics / 49

41 Examples of S-S representations ARIMA in S-S form 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 = φ(l)y t = θ(l)η t r r 1 φ j y t j + η t + θ j η t j j=1 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 Financial Econometrics / 49

42 Examples of S-S representations ARIMA in S-S form 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 Financial Econometrics / 49

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

44 Examples of S-S representations ARIMA in S-S form ARMA(2,1), r = 2, y t = φ 1 y t 1 + φ 2 y t 2 + η t + θ 1 η t 1 Observation equation: State equation: [ ] [ y t+1 φ1 1 = φ 2 y t + θ 1 η t+1 φ 2 0 y t = Z t α t Z t = [ 1 0 ] H t = 0 ] [ ] [ y t 1 + φ 2 y t 1 + θ 1 η t θ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 Financial Econometrics / 49

45 Examples of S-S representations ARIMA in S-S form ARIMA(2,1,1): Observation equation: State equation: State vector: 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 = α t θ 1 y t 1 y t φ 2 y t 1 + θ 1 η t η t+1 Rossi State-space Model Financial Econometrics / 49

46 Examples of S-S representations ARIMA in S-S form 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 Financial Econometrics / 49

47 Examples of S-S representations ARIMA in S-S form 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 Financial Econometrics / 49

48 Kalman filter recursions The unobserved state α t can be estimated from the observations with the Kalman filter: v t = y t z T α T F t = Z t P t Z t + H t K t = T t P t Z t F 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 Financial Econometrics / 49

49 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 : 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 Financial Econometrics / 49

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

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

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

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

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

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 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

A DARK GREY P O N T, with a Switch Tail, and a small Star on the Forehead. Any

A DARK GREY P O N T, with a Switch Tail, and a small Star on the Forehead. Any Y Y Y X X «/ YY Y Y ««Y x ) & \ & & } # Y \#$& / Y Y X» \\ / X X X x & Y Y X «q «z \x» = q Y # % \ & [ & Z \ & { + % ) / / «q zy» / & / / / & x x X / % % ) Y x X Y $ Z % Y Y x x } / % «] «] # z» & Y X»

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

Classic Time Series Analysis

Classic Time Series Analysis Classic Time Series Analysis Concepts and Definitions Let Y be a random number with PDF f Y t ~f,t Define t =E[Y t ] m(t) is known as the trend Define the autocovariance t, s =COV [Y t,y s ] =E[ Y t t

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

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

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

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

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

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

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

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

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

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

ECE531 Lecture 11: Dynamic Parameter Estimation: Kalman-Bucy Filter

ECE531 Lecture 11: Dynamic Parameter Estimation: Kalman-Bucy Filter ECE531 Lecture 11: Dynamic Parameter Estimation: Kalman-Bucy Filter D. Richard Brown III Worcester Polytechnic Institute 09-Apr-2009 Worcester Polytechnic Institute D. Richard Brown III 09-Apr-2009 1 /

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

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

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

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

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

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

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

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

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

Introduction to the regression problem. Luca Martino

Introduction to the regression problem. Luca Martino Introduction to the regression problem Luca Martino 2017 2018 1 / 30 Approximated outline of the course 1. Very basic introduction to regression 2. Gaussian Processes (GPs) and Relevant Vector Machines

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

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

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

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

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

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

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

STA 2201/442 Assignment 2

STA 2201/442 Assignment 2 STA 2201/442 Assignment 2 1. This is about how to simulate from a continuous univariate distribution. Let the random variable X have a continuous distribution with density f X (x) and cumulative distribution

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

Module 9: Stationary Processes

Module 9: Stationary Processes Module 9: Stationary Processes Lecture 1 Stationary Processes 1 Introduction A stationary process is a stochastic process whose joint probability distribution does not change when shifted in time or space.

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

A time series is called strictly stationary if the joint distribution of every collection (Y t

A time series is called strictly stationary if the joint distribution of every collection (Y t 5 Time series A time series is a set of observations recorded over time. You can think for example at the GDP of a country over the years (or quarters) or the hourly measurements of temperature over a

More information

Introduction to Simple Linear Regression

Introduction to Simple Linear Regression Introduction to Simple Linear Regression Yang Feng http://www.stat.columbia.edu/~yangfeng Yang Feng (Columbia University) Introduction to Simple Linear Regression 1 / 68 About me Faculty in the Department

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

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

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

Reliability and Risk Analysis. Time Series, Types of Trend Functions and Estimates of Trends

Reliability and Risk Analysis. Time Series, Types of Trend Functions and Estimates of Trends Reliability and Risk Analysis Stochastic process The sequence of random variables {Y t, t = 0, ±1, ±2 } is called the stochastic process The mean function of a stochastic process {Y t} is the function

More information

Lecture 6: April 19, 2002

Lecture 6: April 19, 2002 EE596 Pat. Recog. II: Introduction to Graphical Models Spring 2002 Lecturer: Jeff Bilmes Lecture 6: April 19, 2002 University of Washington Dept. of Electrical Engineering Scribe: Huaning Niu,Özgür Çetin

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

Gaussian Process Regression

Gaussian Process Regression Gaussian Process Regression 4F1 Pattern Recognition, 21 Carl Edward Rasmussen Department of Engineering, University of Cambridge November 11th - 16th, 21 Rasmussen (Engineering, Cambridge) Gaussian Process

More information

Exercises - Time series analysis

Exercises - Time series analysis Descriptive analysis of a time series (1) Estimate the trend of the series of gasoline consumption in Spain using a straight line in the period from 1945 to 1995 and generate forecasts for 24 months. Compare

More information

BOOTSTRAP PREDICTION INTERVALS IN STATE SPACE MODELS. Alejandro Rodriguez 1 and Esther Ruiz 2

BOOTSTRAP PREDICTION INTERVALS IN STATE SPACE MODELS. Alejandro Rodriguez 1 and Esther Ruiz 2 Working Paper 08-11 Departamento de Estadística Statistic and Econometric Series 04 Universidad Carlos III de Madrid March 2008 Calle Madrid, 126 28903 Getafe (Spain) Fax (34-91) 6249849 BOOTSTRAP PREDICTION

More information

1 Bayesian Linear Regression (BLR)

1 Bayesian Linear Regression (BLR) Statistical Techniques in Robotics (STR, S15) Lecture#10 (Wednesday, February 11) Lecturer: Byron Boots Gaussian Properties, Bayesian Linear Regression 1 Bayesian Linear Regression (BLR) In linear regression,

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

Seasonal Adjustment of an Aggregate Series using Univariate and Multivariate Basic Structural Models

Seasonal Adjustment of an Aggregate Series using Univariate and Multivariate Basic Structural Models University of Wollongong Research Online Centre for Statistical & Survey Methodology Working Paper Series Faculty of Engineering and Information Sciences 2010 Seasonal Adjustment of an Aggregate Series

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

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

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

5: MULTIVARATE STATIONARY PROCESSES

5: MULTIVARATE STATIONARY PROCESSES 5: MULTIVARATE STATIONARY PROCESSES 1 1 Some Preliminary Definitions and Concepts Random Vector: A vector X = (X 1,..., X n ) whose components are scalarvalued random variables on the same probability

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

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

Data assimilation with and without a model

Data assimilation with and without a model Data assimilation with and without a model Tim Sauer George Mason University Parameter estimation and UQ U. Pittsburgh Mar. 5, 2017 Partially supported by NSF Most of this work is due to: Tyrus Berry,

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