Returns the inverse of the discrete geometric cumulative
probability distribution function.
Namespace: Imsl.StatAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public static double Geometric(
double r,
double pin
)
Public Shared Function Geometric (
r As Double,
pin As Double
) As Double
public:
static double Geometric(
double r,
double pin
)
static member Geometric :
r : float *
pin : float -> float
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