Evaluates the discrete geometric cumulative probability
distribution function.
Namespace:
Imsl.Stat
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function Geometric ( _
x As Integer, _
pin As Double _
) As Double |
Parameters
- x
- Type: System..::.Int32
An int scalar value representing the argument at which the
function is to be evaluated.
- pin
- Type: System..::.Double
A double scalar value representing the probability parameter
for each independent trial (the probability of success for each
independent trial).
Return Value
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