aesara.tensor.random.geometric

Contents

aesara.tensor.random.geometric#

aesara.tensor.random.geometric = <aesara.tensor.random.basic.GeometricRV object>[source]#

A geometric discrete random variable.

The probability mass function for geometric for the number of successes k before the first failure in terms of the probability of success p of a single trial is:

f(k; p) = p^{k-1}(1-p)

for 0 \geq p \geq 1.