HYPGEOMDIST function
the hypergeometric distribution.
Compatibility
Where can you use it?
Teams maintaining legacy workbooks. Compare the example inputs and expected results with the formula in your workbook when checking a calculation made in an older version.
Scenario in the workbook
For a defects in a sample drawn without replacement, calculate the probability of exactly this value. Distribution parameters stay fixed in the three cases; edit the observation to test another case.
A worked example from the workbook
| Row | A |
|---|---|
| 6 | Observation |
| 7 | 0 |
| 8 | 2 |
| 9 | 4 |
=HYPGEOMDIST(A7,5,8,20)Expected result0.05108359133
See the inputs and instructions for all 3 examplesCopyable formulas
=HYPGEOMDIST(A7,5,8,20)=HİPERGEOMDAĞ(A7;5;8;20)Compatibility function for older workbooks.
Worked examples
For a defects in a sample drawn without replacement, calculate the probability of exactly this value. Distribution parameters stay fixed in the three cases; edit the observation to test another case.
Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.
| Row | A |
|---|---|
| 6 | Observation |
| 7 | 0 |
| 8 | 2 |
| 9 | 4 |
| Case | Formula | Expected result |
|---|---|---|
| Record 1 | =HYPGEOMDIST(A7,5,8,20) |
0.05108359133 |
| Record 2 | =HYPGEOMDIST(A8,5,8,20) |
0.3973168215 |
| Record 3 | =HYPGEOMDIST(A9,5,8,20) |
0.05417956656 |