Download The boa Package

Transcript
boa.acf
boa.acf
3
Autocorrelation Function
Description
Computes lag autocorrelations for the parameters in an MCMC sequence.
Usage
boa.acf(link, lags)
Arguments
link
lags
Matrix whose columns and rows contain the monitored parameters and the MCMC
iterations, respectively. The iteration numbers and parameter names must be assigned to dimnames(link)
Vector of lags at which to estimate the autocorrelation function.
Value
A matrix whose columns and rows contain the estimated autocorrelation functions at the specified
lags and the monitored parameters, respectively.
Author(s)
Brian J. Smith
See Also
boa.plot, boa.plot.acf, boa.print.acf
boa.batchMeans
Batch Means
Description
Computes batch means for the parameters in an MCMC sequence.
Usage
boa.batchMeans(link, size)
Arguments
link
size
Matrix whose columns and rows contain the monitored parameters and the MCMC
iterations, respectively. The iteration numbers and parameter names must be assigned to dimnames(link).
Number of iterations to include in each batch.