Description Usage Arguments Value
Runs a particle filter, storing all the generated variables
1 | particle_filter_storeall(nparticles, model, theta, observations, randomness)
|
nparticles |
number of particles |
model |
a list representing a model, for instance as given by |
theta |
a parameter to give to the model functions |
observations |
a matrix of observations of size datalength x dimension(observation) |
randomness |
an object storing all the variables useful to initialize and propagate the particles, as generated by a model$generate_randomness function |
A list with entries ll (loglikelihood estimator), xhistory, ahistory, whistory (lists containing all the generated x-locations, ancestors and weights)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.