Module Distributions.Geometric

module Geometric: sig .. end
The Geometric distribution.

The probability distribution of the number of failures before the first success, supported on the set [0, 1, ...].


type t = {
   geometric_p :float;
}
include Distributions.DiscreteDistribution
include Distributions.Features.S
val create : p:float -> t
Creates Geometric distribution with a given probability of success.
val mme : int array -> t
Creates Geometric distribution with parameters, estimated with method of moments.