This SMC estimate of the means can be used to centre independent Metropolis-Hastings proposals.
weightedMean(particles, log_weights)
particles |
|
---|---|
log_weights | logarithms of the importance weights of each particle. |
A vector of means, one for each row.