ConfidenceInterval

data class ConfidenceInterval(val lower: Double, val upper: Double)(source)

A confidence interval with a lower and upper bound.

A confidence interval gives a range of plausible values for a population parameter. If you compute a 95% confidence interval from many independent samples, approximately 95% of those intervals will contain the true parameter value.

Supports destructuring into (lower, upper):

val (lo, hi) = confidenceInterval

Constructors

Link copied to clipboard
constructor(lower: Double, upper: Double)

Properties

Link copied to clipboard

the lower bound of the interval.

Link copied to clipboard

the upper bound of the interval. Typically greater than or equal to lower, but may be inverted for small samples or highly skewed bootstrap distributions.