Companion

object Companion

Properties

Link copied to clipboard
const val Z_95: Double = 1.959964

The two-sided 95% normal quantile, which is the confidence level every report here uses.

Functions

Link copied to clipboard
fun trialsToSeparate(points: Double, around: Double = 0.68): Int

The number of trials at which a difference of points percentage points around around stops overlapping, at 95%.

Link copied to clipboard
fun wilson(successes: Int, trials: Int, z: Double): ScoreInterval

wilson95 at an arbitrary normal quantile z.

Link copied to clipboard
fun wilson95(successes: Int, trials: Int): ScoreInterval

The Wilson score interval for successes out of trials at 95%.