Skip to content
EvalSuite
Documentation menu

Confidence intervals

BCa bootstrap

Implementedconfidence.bootstrap_bca

Definition

Bias-corrected and accelerated bootstrap interval.

Formula

Percentiles adjusted by bias correction z₀ and acceleration a (jackknife)

Inputs and outputs

  • data
  • statistic
  • n_resamples
  • random_state

Returns: BootstrapResult

Assumptions

No assumptions beyond valid, aligned inputs of the documented types.

Limitations

  • Requires a jackknife pass, which adds N extra evaluations of the statistic.

Python API

PythonSince v0.1.0
import evalsuite as es

es.bootstrap_ci("f1", y_true, y_pred, method="bca", random_state=0)

References

  1. Efron, B. (1987). Better bootstrap confidence intervals. Journal of the American Statistical Association, 82(397), 171–185.

Implementation status