cdf

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

Returns the cumulative distribution function value at k for this beta-binomial distribution.

Gives the probability of observing k or fewer successes. Computed by summing PMF values from 0 to k using the log-sum-exp technique for numerical stability, then exponentiating the result.

Return

the probability of k or fewer successes, in the range [0, 1].

Parameters

k

the number of successes at which to evaluate the cumulative probability.