Module Distributions.Binomial

module Binomial: sig .. end
The binomial distribution.

The probability distribution of the number of successes in a sequence of independent Bernoulli trials.


type t = {
   binomial_trials :int;
   binomial_p :float;
}
include Distributions.DiscreteDistribution
include Distributions.Features.S
val create : trials:int -> p:float -> t
Creates binomial distribution. Number of trials must be non-negative.
val mme : int array -> t
Creates binomial distribution with parameters, estimated with method of moments.