Compute the lag 1 autocorrelation of the batch means.
Compute the lag 1 autocorrelation of the batch means. Be sure to run 'computeMeans' first.
Allocate additional batches for this batched vector.
Allocate additional batches for this batched vector.
the number of additional batches to allocate
Get the batch size.
Compute means for each batch and store them in the 'yb' stat vector.
Get the total length of the batched vector.
Get the number of batches.
Determine whether the Confidence Interval (CI) on the mean is tight enough.
Compute the relative precision, i.
Compute the relative precision, i.e., the ratio of the confidence interval half-width and the mean.
the confidence level
Add the given value in the next index position in the batched vector.
Add the given value in the next index position in the batched vector.
the given value to add
Convert the batched vector into a string showing each of the batches.
Convert the batched vector into a string showing each of the batches.
Determine whether the batches are sufficiently uncorrelated.
Determine whether the batches are sufficiently uncorrelated.
the cut-off value to be considered uncorrelated
The
BatchVector
class contains aStatVector
for maintaining experimental data in multiple batches and methods for computing statistics on these data. Ex: It can be used to support the Method of Batch Means (MBM).