CaseBootEstimatorIfc

Given some data, produce multiple estimated statistics from the data and stores the estimated quantities in the returned array. It is up to the user to interpret the array values appropriately.

The data is assumed to be from some population represented by a set of cases (e.g. items, objects, elements, rows, exemplars, etc.). Each case is assumed to be identified with a unique integer.

Inheritors

Properties

Link copied to clipboard
abstract val caseIdentifiers: List<Int>

The set of case identifiers. This set must hold unique integers that serve as the sampling population. Elements (cases) are sampled with replacement from this set to specify the data that will be used in the estimation process.

Link copied to clipboard
abstract val names: List<String>

The name to associate with each dimension of the array that is returned by estimate(). The names should be unique. The order of the list of names should match the order of elements in the returned array. This list is used to label the elements that are estimated.

Link copied to clipboard

The estimates from the estimator based on the original (not resampled) data.

Functions

Link copied to clipboard
abstract fun estimate(caseIndices: IntArray): DoubleArray

The caseIndices array contains the case identifiers that should be used to select the data on which the estimation process should be executed. The function produces an array of estimates during the estimation process, which are associated with the labels in the names list. The case indices array may have repeated case identifiers due to sampling with replacement.