CBSPF | R Documentation |
Runs a conditional particle filter with backward sampling (Whiteley, 2010).
CBSPF(
model,
theta,
discretization,
observations,
nparticles,
resampling_threshold = 1,
ref_trajectory
)
model |
a list representing a hidden Markov model, e.g. |
theta |
a vector of parameters as input to model functions |
discretization |
list containing stepsize, nsteps, statelength and obstimes |
observations |
a matrix of observations, of size nobservations x ydimension |
nparticles |
number of particles |
resampling_threshold |
ESS proportion below which resampling is triggered (always resample at observation times by default) |
ref_trajectory |
a matrix of reference trajectory, of size xdimension x statelength |
a matrix containing a new trajectory of size xdimension x statelength.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.