create

fun create(sampleSize: Int, sampler: SampleIfc, estimator: BSEstimatorIfc, streamNumber: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null): Bootstrap(source)

Return

an instance of Bootstrap based on the sample

Parameters

name

an optional name

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

streamNumber

the random number stream number, defaults to 0, which means the next stream

streamProvider

the provider of random number streams, defaults to KSLRandom.DefaultRNStreamProvider