KimSmoother: Smoothing algorithm from Kim (1994) to be used following a...

Description Usage Arguments Value

Description

Smoothing algorithm from Kim (1994) to be used following a run of KimFilter function.

Usage

1
KimSmoother(xA, Pa, A, P, x, p, stateP, stateP_fut)

Arguments

xA

Filtered state vector to be smoothed

Pa

Filtered state covariance to be smoothed

A

Array with transition matrices

P

State-dependent state covariance

x

State-dependent state vector

p

Markov transition matrix

stateP

Evolving current probability matrix

stateP_fut

Predicted probability matrix

Value

Smoothed states and covariance matrices. This is the equivalent of Kalman smoother in Markov-switching case.


guilbran/dynfactoR documentation built on May 8, 2019, 1:35 a.m.