WorksheetFunction.ExponDist Method
Excel Developer Reference |
Returns the exponential distribution. Use EXPONDIST to model the time between events, such as how long an automated bank teller takes to deliver cash. For example, you can use EXPONDIST to determine the probability that the process takes at most 1 minute.
Syntax
expression.ExponDist(Arg1, Arg2, Arg3)
expression A variable that represents a WorksheetFunction object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Arg1 | Required | Double | X - the value of the function. |
Arg2 | Required | Double | Lambda - the parameter value. |
Arg3 | Required | Boolean | Cumulative - a logical value that indicates which form of the exponential function to provide. If cumulative is TRUE, EXPONDIST returns the cumulative distribution function; if FALSE, it returns the probability density function. |
Return Value
Double
Remarks
If x or lambda is nonnumeric, EXPONDIST returns the #VALUE! error value.
If x < 0, EXPONDIST returns the #NUM! error value.
If lambda ≤ 0, EXPONDIST returns the #NUM! error value.
The equation for the probability density function is:
The equation for the cumulative distribution function is:
See Also