Hypergeometric distribution

Probability · Method and input reference

Returns density/mass, lower and upper tail probabilities and the requested quantile. Geometric counts trials through first success; negative binomial counts failures before required successes.

Open calculator · Compare methods in the decision matrix

Required inputs

  • Population size — Enter the method parameter described above.
  • Successes in population — Enter the method parameter described above.
  • Draws — Enter the method parameter described above.
  • Evaluation value — Enter the method parameter described above.
  • Quantile probability — Enter the method parameter described above.

Review missing values and data coding before running. Sample inputs are synthetic teaching examples.

Implementation

Lifescio validates inputs and formats results; listed functions are the principal calculation routines, not an exhaustive transitive dependency list.

  • scipy 1.15.3: scipy.stats.hypergeom.{pdf/pmf;cdf;sf;ppf;mean;var}

These are pinned library versions; saved results record the versions actually used at runtime.

Library references