WorksheetFunction.Poisson Method
Excel Developer Reference |
Returns the Poisson distribution. A common application of the Poisson distribution is predicting the number of events over a specific time, such as the number of cars arriving at a toll plaza in 1 minute.
Syntax
expression.Poisson(Arg1, Arg2, Arg3)
expression A variable that represents a WorksheetFunction object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Arg1 | Required | Double | X - the number of events. |
Arg2 | Required | Double | Mean - the expected numeric value. |
Arg3 | Required | Boolean | Cumulative - a logical value that determines the form of the probability distribution returned. If cumulative is TRUE, POISSON returns the cumulative Poisson probability that the number of random events occurring will be between zero and x inclusive; if FALSE, it returns the Poisson probability mass function that the number of events occurring will be exactly x. |
Return Value
Double
Remarks
If x is not an integer, it is truncated.
If x or mean is nonnumeric, POISSON returns the #VALUE! error value.
If x < 0, POISSON returns the #NUM! error value.
If mean ≤ 0, POISSON returns the #NUM! error value.
POISSON is calculated as follows.
For cumulative = FALSE:
For cumulative = TRUE:
See Also