kfJSD | R Documentation |
Performs joint smoothiong via backward simulation i.e. generating
nSimJS
realizations from p(x_{1:T}|y_{1:T})
, as described in
the corresponding "Joint smoothing density- implemented backward
simulation recursions" subsection of the Details
section in
kfLGSSM
.
kfJSD(uReg, xtt, Ptt, A, B, Q, dimX, TT, nSimJS = 1)
uReg |
Matrix (vector) of regressors for the latent state process of
dimension |
xtt |
forward filtering means as produced by |
Ptt |
forward filtering variances as produced by |
A |
Parameter (or system) matrix of dimension |
B |
Parameter (or system) matrix of dimension |
Q |
Error VCM of state process of dimension |
dimX |
integer giving the dimension of the latent state process |
TT |
integer giving the length of the time series |
nSimJS |
Number of joint smoothing (backward simulation) runs; defaults
to |
a named list of three:
jsdEXP:
an array of dimension dimX x TT x nSimJS
giving
the smoothing means \mu_t
of dimension dimX
for all
t=TT,\ldots,1
per 1,\ldots,
nSimJS
simulation run
jsdVAR:
an array of dimension dimX x dimX TT
giving
the smoothing variances L_t
of dimension dimX x dimX
for
all t=TT,\ldots,1
(note: these do not change with the number of
simulation runs nSimJS
, in contrast to previous means)
jsdTRJ:
an array of dimension dimX x TT x nSimJS
giving
the sampled trajectories \tilde{x}_{1:T}
(dimX x TT
) from
p(x_{1:T}|y_{1:T})
for each simulation nSimJS
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.