If the binomial distribution can be treated as from random sampling with replacement from a population of size N, S of which are successes and S/N=p, then the hypergeometric distribution models the number of successes from random sampling without replacement.
P(x∣n,N,S)=(nN)(xS)(n−xN−S),x=max(0,n−N+S),…,min(n,S)
记为 X∼Hypergeometric(n,N,S).令 p=NS,其期望和方差为
μX=np,σX2=np(1−p)N−1N−n
Joint Distributed Discrete Random Variables
假设两个变量 X,Y,Marginal Probability Distribution of X 定义为
P(X)=Y∈SY∑P(X,Y)