Expand description
The bootstrap (ISL ch 5.2) — resample-with-replacement to estimate the sampling distribution (standard error / spread) of an arbitrary statistic.
Structs§
- Bootstrap
Ci - An earned confidence interval — derived by resampling the data, not assumed from a Gaussian.
- Bootstrap
Result - Bootstrap estimate of a scalar statistic’s sampling distribution.
Enums§
- CiMethod
- Which bootstrap confidence-interval to compute.
Functions§
- bootstrap_
ci - Bootstrap confidence interval for
statisticat confidence1 − alpha(alphain(0,1), e.g.0.05→ 95%).Noneifdatais empty,b < 2, oralphais out of range. - bootstrap_
estimate - Estimate the standard error (and bias) of
statisticapplied todata, overbbootstrap resamples.statisticmaps a sample slice to a scalar.Noneifdatais empty orb < 2. - bootstrap_
indices - One bootstrap resample of
nrow indices, drawn with replacement.