Discrete Probability Dist_Hypergeo

Netica

                

Hypergeometric Distribution

(discrete probability dist. for equations)

 

Usage:

HypergeometricDist (k, n, s, N)

Definition:

binomial (s,k) binomial (N-s, n-k) / binomial (N,n)

Definition of = 4 && typeof(BSPSPopupOnMouseOver) == 'function') BSPSPopupOnMouseOver(event);" class="BSSCPopup" onclick="BSSCPopup('X_PU_binomial_coefficient.htm');return false;">binomial

Required:

N ³ 0    0 £ n £ N     0 £ s £ N

k, N, n and s are integers

Support:

0 £ k £ n

Moments:

m = n s / N

s^2 = n s (1-s/N) (N-n) / [N (N-1)]

g1 = (N-2s) (N-2n) sqrt (N-1) / [(N-2) sqrt (n s (N-s) (N-n))]

b2 = N^2 (N-1)/[(N-2)(N-3) n s (N-s)(N-n)] [N (N+1) - 6n (N-n) + 3s (N-s)/N^2 [N^2 (n-2) - N n^2 + 6n (N-n)]]

 

This provides the probability that there are k "successes" in a random sample of size n, selected (without replacement) from N items of which s are labeled "success" and N-s labeled "failure".

It is used in place of the binomial distribution for situations which sample without replacement.