adapt_BS_PF | R Documentation |
Adapts the number of particles used in a given bootstrap particle filter to give adequate performance.
adapt_BS_PF(K0 = 10, particleFilter, theta, alpha)
particleFilter |
A function which carries out Particle Filter sampling. |
theta |
Epidemic parameters to be passed on to |
alpha |
Observational parameters to be passed on to |
K_0 |
Initial number of particles. |
Returns number of particles which gives adequate variance of the log-estimate.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.