esr_terms: Effective Sampling Rate for Terms

View source: R/esr-terms.R

esr_termsR Documentation

Effective Sampling Rate for Terms

Description

Calculates the effective sampling rate (esr) for each term.

Usage

esr_terms(x, ...)

Arguments

x

An object.

...

Other arguments passed to methods.

Details

By default

\frac{1}{1 + 2 ∑_{k = 1}^∞ρ_k(θ)}

from Brooks et al. (2011) where the infinite sum is truncated at lag k when ρ_{k+1}(θ) < 0.

Value

A list of uniquely named numeric objects with values between 0 and 1 indicating the effectively sampling rate for each term.

References

Brooks, S., Gelman, A., Jones, G.L., and Meng, X.-L. (Editors). 2011. Handbook for Markov Chain Monte Carlo. Taylor & Francis, Boca Raton.

See Also

Other convergence: converged_pars(), converged_terms(), converged(), esr_pars(), esr(), rhat_pars(), rhat_terms(), rhat()


universals documentation built on Sept. 22, 2022, 5:07 p.m.