vector of sampled values from an MCMC run (univariate only)
tol
ESS is returned as zero if the estimated spectrum at frequency zero is less than this value
BIC
if TRUE (default), spec0 is obtained using BIC;
otherwise, AIC is used. See the details.
digits
integer indicating the approximate number of decimal places to be used
Author
D.S. Stoffer
Details
Uses spec.ic to estimate the spectrum of the input at frequency zero (spec0). Then, ESS is estimated as ESS = length(trace)*var(trace)/spec0. See Examples for multivariate case.