MatrixBootEstimator

class MatrixBootEstimator(matrix: Array<DoubleArray>, matrixEstimator: MatrixEstimatorIfc, estimatorNames: List<String> = emptyList()) : CaseBootEstimatorIfc

Constructors

Link copied to clipboard
constructor(matrix: Array<DoubleArray>, matrixEstimator: MatrixEstimatorIfc, estimatorNames: List<String> = emptyList())

Properties

Link copied to clipboard
open override 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
open override 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
open override val originalEstimates: DoubleArray

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

Functions

Link copied to clipboard
open override 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.