wilsonLowerBound
wilsonLowerBound(
helpful,n,z?):number
Defined in: src/learnings-lifecycle.ts:61
Wilson score interval lower bound on the success proportion.
p̂ = helpful / n w⁻ = ( p̂ + z²/(2n) − z·√( p̂(1−p̂)/n + z²/(4n²) ) ) / ( 1 + z²/n )
n ≤ 0 → 0 (no evidence ⇒ lowest confidence). Result clamped to [0, 1].
Parameters
Section titled “Parameters”helpful
Section titled “helpful”number
number
number = WILSON_Z
Returns
Section titled “Returns”number