bootstrap
fun ReportBuilder.bootstrap(bs: Bootstrap, caption: String? = null, confidenceLevel: Double = 0.95, showDensityPlot: Boolean = false)(source)
Appends a self-contained section that first reports the Bootstrap configuration and then delegates to bootstrapEstimate for the statistical results.
Produces (inside a section titled caption or "Bootstrap — <name>"):
Bootstrap Configuration
DataTable— estimator type, original sample size n, number of bootstrap samples requested B, RNG stream number, antithetic flagFull bootstrapEstimate sub-section (statistics, bias, SE, MSE, all CIs including BCa and Bootstrap-t, optional density plot)
Parameters
bs
the Bootstrap instance to report
caption
optional section title
confidence Level
confidence level for all CI computations; must be in (0, 1)
show Density Plot
when true, appends a histogram of the bootstrap replicates