MKF.Full.RB | R Documentation |
This function implements the full information propagation step under mixture Kalman filter with full information proposal distribution and Rao-Blackwellization, no delay.
MKF.Full.RB(
MKFstep.Full.RB,
nobs,
yy,
mm,
par,
II.init,
mu.init,
SS.init,
xdim,
ydim,
resample.sch
)
MKFstep.Full.RB |
a function that performs one step propagation under mixture Kalman filter, with full information proposal distribution.
Its input includes |
nobs |
the number of observations |
yy |
the observations with |
mm |
the Monte Carlo sample size |
par |
a list of parameter values to pass to |
II.init |
the initial indicators. |
mu.init |
the initial mean. |
SS.init |
the initial variance. |
xdim |
the dimension of the state varible |
ydim |
the dimension of the observation |
resample.sch |
a binary vector of length |
The function returns a list with components:
xhat |
the fitted value. |
xhatRB |
the fitted value using Rao-Blackwellization. |
Iphat |
the estimated indicators. |
IphatRB |
the estimated indicators using Rao-Blackwellization. |
Tsay, R. and Chen, R. (2018). Nonlinear Time Series Analysis. John Wiley & Sons, New Jersey.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.