poissinv
Poisson inverse cumulative distribution function
Syntax
X = poissinv(P,lambda)
Description
X = poissinv(P,lambda)
returns the smallest valueX
such that the Poisson cdf evaluated atX
equals or exceedsP
, using mean parameters inlambda
.P
andlambda
can be vectors, matrices, or multidimensional arrays that all have the same size. A scalar input is expanded to a constant array with the same dimensions as the other input.
Examples
If the average number of defects (λ) is two, what is the 95th percentile of the number of defects?
poissinv(0.95,2) ans = 5
What is the median number of defects?
median_defects = poissinv(0.50,2) median_defects = 2
Extended Capabilities
Introduced before R2006a
Was this topic helpful?