Library: | distribs |
See also: | pdfpois |
Quantlet: | cdfpois | |
Description: | computes the cumulative distribution function of a Poisson distribution Po(lambda) at points x |
Usage: | ret = cdfpois(x,lambda) | |
Input: | ||
x | array of integer numbers (0<=x), input values | |
lambda | positive scalar or array of the same dimension as x, parameter of Poisson distribution (0<lambda) | |
Output: | ||
ret | array, cumulative probabilities |
library("distribs") cdfpois(#(-1,0,5,10,15,Inf), 5)
Contents of ret [1,] 0 [2,] 0.0067379 [3,] 0.61596 [4,] 0.9863 [5,] 0.99993 [6,] 1