confidenceIntervalForMaximum

fun confidenceIntervalForMaximum(data: DoubleArray, numBootstrapSamples: Int = 399, level: Double = 0.95, streamNumber: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider): Interval(source)

Uses bootstrapping to estimate a confidence interval for the maximum

Parameters

streamNumber

the stream the bootstrap draws from; 0 takes the provider's next stream

streamProvider

the provider the bootstrap draws from