BootstrapConfig

@Serializable
data class BootstrapConfig(val sampleSize: Int = 399, val level: Double = 0.95, val streamNumber: Int = 0)(source)

Opt-in request for engine-side bootstrap of the fitted parameters. When a FitConfiguration carries a non-null BootstrapConfig, the engine performs the resampling and returns summary results only (estimate, bias, MSE, standard error, and confidence intervals) — never the raw replicate arrays. A null bootstrap config skips bootstrapping entirely.

Every field surfaces a parameter of the engine's PDFModeler.bootStrapParameterEstimates call, with the engine's own defaults. Fixing streamNumber makes the bootstrap reproducible.

Parameters

sampleSize

number of bootstrap resamples; must be > 0

level

confidence level for the reported intervals; in (0, 1)

streamNumber

random-number stream number for reproducibility

Constructors

Link copied to clipboard
constructor(sampleSize: Int = 399, level: Double = 0.95, streamNumber: Int = 0)

Properties

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