sf

open override fun sf(k: Int): Double(source)

Returns the survival function value at k using the regularized incomplete beta function.

Computed directly via the beta function rather than 1 - cdf(k), which avoids catastrophic cancellation in the upper tail.

Return

the probability of strictly more than k failures before the successes-th success.

Parameters

k

the integer point at which to evaluate the survival probability.