pmf

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

Returns the probability mass at k.

Returns 1 / (max - min + 1) for values within the support and zero otherwise.

Return

the probability that the random variable equals k.

Parameters

k

the integer outcome at which to evaluate the mass.