Estimates the integrated autocorrelation time (IACT) based on Sokal (1997).
Note that the estimator is not particularly good for very short series x
(say < 100), but that is not very practical for MCMC applications anyway.
Usage
iact(x)
Value
A single numeric value of IACT estimate.
Arguments
x
A numeric vector.
References
Sokal A. (1997) Monte Carlo Methods in Statistical Mechanics: Foundations
and New Algorithms.
In: DeWitt-Morette C., Cartier P., Folacci A. (eds) Functional Integration.
NATO ASI Series (Series B: Physics), vol 361. Springer, Boston, MA.
https://doi.org/10.1007/978-1-4899-0319-8_6