IMSL C# Numerical Library

Cdf.InverseGeometric Method 

Returns the inverse of the discrete geometric cumulative probability distribution function.

public static double InverseGeometric(
   double r,
   double pin
);

Parameters

r
A double scalar value representing the probability for which the inverse geometric function is to be evaluated.
pin
An int scalar value representing the probability parameter for each independent trial (the probability of success for each independent trial).

Return Value

A double scalar value. The probability that a geometric random variable takes a value less than or equal to this returned value is r.

See Also

Cdf Class | Imsl.Stat Namespace