Description Usage Arguments Value See Also
This SMC estimate of the variance can be used to scale the bandwidth of adaptive, Gaussian random walk Metropolis-Hastings proposals.
1 | weightedVariance(particles, log_weights, mean)
|
particles |
|
log_weights |
logarithms of the importance weights of each particle. |
mean |
Vector of weighted means of each particle. |
A vector of variances, one for each row.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.