Evaluates the inverse of the hypergeometric cumulative density function.

View versions (1)

Interface

#include <codecogs/statistics/distributions/discrete/hypergeometric/cdf_inv.h>

using namespace Statistics::Distributions::Discrete::Hypergeometric;

This function evaluates the inverse of the hypergeometric cumulative density function.

\graph p=0:1:20 a=2 b=3 n=2:5:2

Example 1

#include <iostream>
#include <codecogs/statistics/distributions/discrete/hypergeometric/cdf_inv.h>

int main()
{
  std::cout << "hypergeometric CDF inverse (0.9, 2, 3, 2) = ";
  std::cout << Stats::Dists::Discrete::Hypergeometric::CDF_inv(0.9, 2, 3, 2) << std::endl;
  return 0;
}

Output:

hypergeometric CDF inverse (0.9, 2, 3, 2) = 1
GPL Licence — free for non commercial use. See Licence details.

Interactive Calculator

p
a
b
n
Result