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

Description Usage Arguments Value

View source: R/deprecated.R

Description

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

Usage

1
KimSmoother2(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.


SebKrantz/dynfacto_R documentation built on Dec. 31, 2020, 4:30 p.m.