View source: R/util_variance_reduction.R
(SMC version) Generates additional particles given current ones, in order to reduce the variance of the associated particle estimators. Nc is the desired total number of particles to be used in the computation / estimation (so about Nc - Ntheta new particles are generated, used in the estimation, and then discarded). The generated particles are equally weigthed.
1 2 | get_additional_particles_smc(Nc, thetas, normw, byproducts, t, observations,
model, logtargetdensities, algorithmic_parameters)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.