kfMFPD | R Documentation |
Runs (Marginal) filtering and prediction recursions, as described in the
corresponding "(Marginal) Filtering and prediction - implemented
recursions" subsection of the Details
section in
kfLGSSM
.
kfMFPD(
yObs,
uReg,
wReg,
dimX,
dimY,
TT,
x00,
P00,
u00,
A,
B,
C,
D,
Q,
R,
PDSTORE = FALSE
)
yObs |
A matrix or vector of measurements (observations):
If |
uReg |
Matrix (vector) of regressors for the latent state process of
dimension |
wReg |
Matrix (vector) of regressors for the measurement process of
dimension |
dimX |
integer giving the dimension of the latent state process |
dimY |
integer giving the dimension of the measurement process |
TT |
integer giving the length of the time series |
x00 |
see |
P00 |
see |
u00 |
see |
A |
Parameter (or system) matrix of dimension |
B |
Parameter (or system) matrix of dimension |
C |
Parameter (or system) matrix of dimension |
D |
Parameter (or system) matrix of dimension |
Q |
Error VCM of state process of dimension |
R |
Error VCM of measurement process of dimension |
PDSTORE |
logical; if |
if PDSTORE = FALSE
a named list of two
mfdEXP
a matrix of dimension dimX x TT
with each
column being the corresponding \hat{x}_{t|t}
(see the
Details
section in kfLGSSM
).
mfdVAR
an array of dimension dimX x dimX x TT
with
matrices \hat{P}_{t|t}
of dimension dimX x dimX
\forall
t = 1,\ldots,TT
(see the Details
section in kfLGSSM
).
if PDSTORE = TRUE
a named list of four:
mfdEXP
as above
mfdVAR
as above
pddEXP
a matrix of dimension dimX x (TT + 1)
with each
column being the corresponding \hat{x}_{t+1|t}
, starting from
\hat{x}_{1|0}
and running to \hat{x}_{T+1|T}
(see the
Details
section in kfLGSSM
).
pddVAR
an array of dimension dimX x dimX x (TT + 1)
with matrices \hat{P}_{t+1|t}
of dimension dimX x dimX
,
\forall t = 1, \ldots,TT + 1
, starting with \hat{P}_{1|0}
and
running to \hat{P}_{T+1|T}
(see the Details
section in
kfLGSSM
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.