Evaluates the discrete geometric cumulative probability
distribution function.
Namespace: Imsl.StatAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public static double Geometric(
int x,
double pin
)
Public Shared Function Geometric (
x As Integer,
pin As Double
) As Double
public:
static double Geometric(
int x,
double pin
)
static member Geometric :
x : int *
pin : float -> float
Parameters
- x
- Type: SystemInt32
An int scalar value representing the argument at which the
function is to be evaluated.
- pin
- Type: SystemDouble
A double 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 representing the probability that a
geometric random variable takes a value less than or equal to
x. The return value is the probability that up
to
x trials would be observed before observing a success.
See Also