How negative hypergeometric distribution calculator works?
The negative hypergeometric distribution calculator takes N, K and the wanted number of successes r, then returns the probability that the r-th success arrives on draw t, along with the expected number of draws, the standard deviation and the most likely draw.
- Population NTotal items, for example 52 cards.
- Successes KItems that count as a success, for example 4 aces.
- Successes wanted rStop at the r-th success, for example the first ace (r = 1).
- Draw number tAsk about T = t, T ≤ t, T < t, T ≥ t or T > t.
- ResultsProbability, mean, deck map and the distribution of T.
Negative hypergeometric distribution formula
The negative hypergeometric distribution formula is P(T = t) = C(t − 1, r − 1) · C(N − t, K − r) / C(N, K), for t from r to N − K + r.
- C(t − 1, r − 1)Ways to place r − 1 successes in the first t − 1 draws
- C(N − t, K − r)Ways to place the other K − r successes after draw t
- C(N, K)Ways to place all K successes among the N positions
Negative hypergeometric distribution calculator FAQ
What is a negative hypergeometric distribution?
The negative hypergeometric distribution gives the probability that the r-th success appears on draw t, drawing without replacement from N items that hold K successes. It counts draws, where the hypergeometric distribution counts successes in a fixed number of draws.
What is the formula for the negative hypergeometric distribution?
P(T = t) = C(t − 1, r − 1) · C(N − t, K − r) / C(N, K), for t from r to N − K + r. The mean is r(N + 1)/(K + 1).
On average, which card is the first ace in a shuffled deck?
The first ace in a 52-card deck appears on card 10.6 on average, from 1 · 53 / 5. The standard deviation is 8.24 cards, the top card is an ace with probability 0.0769, and the first ace shows up within 10 cards 58.7% of the time.
What is the difference between negative hypergeometric and negative binomial distribution?
The negative hypergeometric distribution draws without replacement, and the negative binomial distribution draws with replacement at a constant p. With r = 1 and replacement, the negative binomial distribution becomes the geometric distribution.