FUNCTION
CDF_inv
Evaluates the inverse of the hypergeometric cumulative density function.
You're viewing an older version of this page (#154). View the current version.
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) = 1Interactive Calculator
p
a
b
n
Result
Computing…
Set a range above first to export a graph.
This function's source code is only visible to registered users — documentation and the calculator above are free to use either way. Sign in to see it.