particle_ESS | R Documentation |
Calculates the ESS and the normalised weights from the logarithm of weihgts
particle_ESS(log_weights)
log_weights |
the logarithm of the particle weights |
A list with components
the logarithm of the particle weights
the normalised particle weights
the effective sample size of particles (the inverse of the sum of the weights squared)
particle_ESS(log_weights = c(1000.01, 1000.02, 1000.03))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.