Computes the inverse of the cumulative distribution function (InvCDF) for the distribution
at the given probability.
Namespace: Altaxo.Calc.DistributionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static int InvCDF(
double[] probabilityMass,
double probability
)
Parameters
- probabilityMass Double
- An array of nonnegative ratios: this array does not need to be normalized
as this is often impossible using floating point arithmetic.
- probability Double
- A real number between 0 and 1.
Return Value
Int32An integer between 0 and the size of the categorical (exclusive), that corresponds to the inverse CDF for the given probability.
See Also