BootstrapEstimate

open class BootstrapEstimate(val name: String, val originalDataSampleSize: Int, val originalDataEstimate: Double, val bootstrapEstimates: DoubleArray) : BootstrapEstimateIfc

Constructors

Link copied to clipboard
constructor(name: String, originalDataSampleSize: Int, originalDataEstimate: Double, bootstrapEstimates: DoubleArray)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

This is acrossBootstrapAverage - originalDataEstimate

Link copied to clipboard

Each element is the bootstrap estimate for sample i minus originalDataEstimate

Link copied to clipboard
Link copied to clipboard

This is the standard deviation of the across bootstrap observations of the estimator for each bootstrap generated

Link copied to clipboard
open override var defaultCILevel: Double

the default confidence interval level

Link copied to clipboard
open override var label: String?
Link copied to clipboard
override val name: String

A name for the estimate

Link copied to clipboard

The number of bootstrap samples that were used to produce the bootstrap estimate

Link copied to clipboard
Link copied to clipboard

The sample size of the original data set

Link copied to clipboard

Each element is the bootstrap estimate for sample i minus getOriginalDataEstimate() divided by getBootstrapStdErrEstimate()

Functions

Link copied to clipboard
open fun asString(): String
Link copied to clipboard
open fun basicBootstrapCI(level: Double = defaultCILevel): Interval

The "basic" method, but with no bias correction. This is the so-called centered percentile method (2θ − Bu , 2θ − Bl ) where θ is the bootstrap estimator and Bu is the 1 - alpha/2 percentile and Bl is the lower (alpha/2) percentile, where level = 1-alpha of the bootstrap replicates.

Link copied to clipboard
open fun percentileBootstrapCI(level: Double = defaultCILevel): Interval

The "percentile" method, but with no bias correction. This is the percentile method (Bl , Bu ) where Bu is the 1 - alpha/2 percentile and Bl is the lower (alpha/2) percentile, where level = 1-alpha of the bootstrap replicates

Link copied to clipboard
open fun stdNormalBootstrapCI(level: Double = defaultCILevel): Interval

Gets the standard normal based bootstrap confidence interval. Not recommended.

Link copied to clipboard
open override fun toString(): String