Description Usage Arguments Value
approximates marginal likelihood of the SIS model using bootstrap particle filter NOTE: this cannot do predictions yet.
1 | sis_bpf(y, model_config, particle_config)
|
y |
a vector of length (T+1) |
model_config |
a list containing:
|
particle_config |
a list containing:
|
A list containing
'log_incremental_likelihood' :
'log_marginal_likelihood' :
'log_final_likelihood' :
'particles': [N, (T+1), num_particles] array storing the particles:
'eves' : the unique ancesters of each particle in the genealogy structure, if save_genealogy = TRUE;
'ess' : effective sample size at each step
'runtime' : elapse time at each step, if clock = TRUE;
'totaltime' : elapse time of running the whole particle filter, if clock = TRUE;
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.