create

fun create(sampleSize: Int, sampler: SampleIfc, estimator: BSEstimatorIfc, stream: RNStreamIfc = KSLRandom.nextRNStream(), name: String? = null): Bootstrap

Return

an instance of Bootstrap based on the sample

Parameters

name

the name of bootstrap instance

sampleSize

the size of the original sample, must be greater than 1

estimator

a function to be applied to the data

sampler

something to generate the original sample of the provided size

stream

the random number stream for forming the bootstraps