Hypergeometric Distribution

Similar to the Binomial Distribution but samples without replacement

Probability Distribution Function

A random variable X has a hypergeometric distribution X∼ hypergeometric(n,N,M) if and only if its probability distribution is

P(X=x)=f(x;n,N,M)=(Mx)(N−Mn−x)(Nn)

for x=0,1,2,…,n, x≤n,x≤M and n−x≤N−M

E(X)=∑x=0nx(Mx)(N−Mn−x)(Nn)=1(Nn)∑x=0nxM!x!(M−x)!(N−Mn−x)=1(Nn)∑x=1nxM(M−1)!x(x−1)!(M−1−(x−1))!(N−Mn−x)=M(Nn)∑x=0n−1(M−1)!x!(M−1−x)!(N−Mn−(x+1))=M(Nn)∑x=0n−1(M−1x)(N−Mn−1−x)=M(Nn)(N−1n−1)vandermondesE(X)=nMN

Counting Theorems#Vandermonde's (Zhu Shijie's) Identity

σ2=nM(N−M)(N−n)N2(N−1)

examples

P(X=2)=(42)(61)(103)=0.3 P(X=2)=(32)420.61=0.288