BatchStatisticIfc

Properties

Link copied to clipboard
Link copied to clipboard
abstract val batchMeans: DoubleArray

Returns a copy of the batch means array. Zero index is the first batch mean

Link copied to clipboard
abstract val currentBatchSize: Int

the size of the current batch

Link copied to clipboard

Returns a copy of the StatisticIfc that is tabulating the current batch

Link copied to clipboard
abstract val maxNumBatches: Int

The maximum number of batches as determined by the max num batches multiple

Link copied to clipboard
abstract val minBatchSize: Int

The minimum number of observations per batch

Link copied to clipboard
abstract val minNumBatches: Int

The minimum number of batches required

Link copied to clipboard

The multiple of the minimum number of batches that determines the maximum number of batches e.g. if the min. number of batches is 20 and the max number batches multiple is 2, then we can have at most 40 batches

Link copied to clipboard
abstract val numBatches: Int

the number of batches

Link copied to clipboard
abstract val numRebatches: Int

the number of times re-batching has occurred

Link copied to clipboard

Gets the total number of observations observed

Functions

Link copied to clipboard
abstract fun checkMean(mean: Double): Boolean

Checks if the supplied value falls within getAverage() +/- getHalfWidth()

Link copied to clipboard
abstract fun instance(): BatchStatistic

Returns a copy of the BatchStatistic

Link copied to clipboard
abstract fun reformBatches(numBatches: Int): DoubleArray

Takes the current batch means and batches them into the specified number of batches. This does not change the current batch means