sf

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

Returns the survival function value at k.

Computed directly by summing PMF values above k using the log-sum-exp technique, rather than 1 - cdf(k), for better numerical accuracy.

Return

the probability of drawing strictly more than k success items.

Parameters

k

the integer point at which to evaluate the survival probability.