Follow us on Twitter and LinkedIn to get the latest updates from the dev team!
This function returns a random integer from the logarithmic distribution. The probability distribution for logarithmic random variates is,
for \(k \geq 1\).
This function computes the probability \(p(k)\) of obtaining \(k\) from a logarithmic distribution with probability parameter p, using the formula given above.
p
previous
The Hypergeometric Distribution
next
References and Further Reading