kfMSD | R Documentation |
Performs marginal smoothiong i.e. computation of means and variances for
p(x_t|y_{1:T})\forall t=1,\ldots,TT
, as described in the corresponding
"Marginal smoothing - implemented recursions" subsection of the
Details
section in kfLGSSM
.
kfMSD(dimX, TT, xtt, Ptt, xtt1, Ptt1, A, Q)
dimX |
integer giving the dimension of the latent state process |
TT |
integer giving the length of the time series |
xtt |
forward filtering means as produced by |
Ptt |
forward filtering variances as produced by |
xtt1 |
predictive means as produced by |
Ptt1 |
predictive variances as produced by |
A |
Parameter (or system) matrix of dimension |
Q |
Error VCM of state process of dimension |
a named list of two:
msdEXP:
predicitve means x_{t+1|t}
(see "Marginal smoothing - implemented recursions" in
kfLGSSM
)
msdEXP:
predicitve variances P_{t+1|t}
(see "Marginal smoothing - implemented recursions" in
kfLGSSM
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.