Click or drag to resize
InvCdfGeometric Method
Returns the inverse of the discrete geometric cumulative probability distribution function.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public static double Geometric(
	double r,
	double pin
)

Parameters

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

Return Value

Type: Double
A double scalar value. The probability that a geometric random variable takes a value less than or equal to this returned value is the input probability, r.
See Also