Learn R Programming

ernm (version 1.0.0)

mcmcEss: MCMC Effective Sample Size

Description

Computes the effective sample size from a statistic vector.

Usage

mcmcEss(x)

Value

A numeric value representing the effective sample size.

Arguments

x

A numeric vector.

References

Kass, R. E., Carlin, B. P., Gelman, A., & Neal, R. M. (1998). "Markov Chain Monte Carlo in Practice: A Roundtable Discussion." *The American Statistician*, 52(2), 93-100. DOI: tools:::Rd_expr_doi("10.2307/2685466")