PHP.nl

stats_dens_pmf_hypergeometric

stats_dens_pmf_hypergeometric

Probability mass function of the hypergeometric distribution

float **stats_dens_pmf_hypergeometric** float $n1 float $n2 float $N1 float $N2

Returns the probability mass at , where the random variable follows the hypergeometric distribution of which the number of failure is , the number of success samples is , and the number of failure samples is . n1``n2``N1``N2

n1The number of success, at which the probability mass is calculated

n2The number of failure of the distribution

N1The number of success samples of the distribution

N2The number of failure samples of the distribution

The probability mass at or false for failure. n1