Module Distributions.Hypergeometric

module Hypergeometric: sig .. end
The Hypergeometric distribution.

The probability distribution of obtaining k elements of "type 1" in t samples from a population without replacement, if the population contains m elements of "type 1" and t - m elements of "type 2".


type t = {
   hyper_m :int;
   hyper_t :int;
   hyper_k :int;
}
include Distributions.DiscreteDistribution
include Distributions.Features.S
val create : m:int -> t:int -> k:int -> t
Creates Hypergeometric distribution.