powered by
Computes and returns the running estimate of effective sample size (ESS) of importance sampling estimator.
running_ess(w, f, x)
An effective sample size estimate.
A numeric vector of non-negative weights.
A function used in computing f-specific ESS.
f
A numeric vector of samples used to generate w. Used for computing f(x).
w
f(x)