running_ess {diagis} | R Documentation |
Running effective sample size
Description
Computes and returns the running estimate of effective sample size (ESS) of importance sampling estimator.
Usage
running_ess(w, f, x)
Arguments
w |
A numeric vector of non-negative weights. |
f |
A function used in computing |
x |
A numeric vector of samples used to generate |
Value
An effective sample size estimate.
[Package diagis version 0.2.3 Index]