cdf

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

Returns the cumulative distribution function value at k.

Computed by accumulating PMF values from k=1 using the recurrence PMF(k) = PMF(k-1) * p * (k-1) / k.

Return

the probability of observing a value less than or equal to k.

Parameters

k

the integer point at which to evaluate the cumulative probability.