Description Usage Arguments Value
Smoothing algorithm from Kim (1994) to be used following a run of KimFilter function.
1 | KimSmoother2(xA, Pa, A, P, x, p, stateP, stateP_fut)
|
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 |
Smoothed states and covariance matrices. This is the equivalent of Kalman smoother in Markov-switching case.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.