poisstat
Poisson mean and variance
Syntax
M = poisstat(lambda)
[M V)= poisstat(lambda)
Description
M = poisstat(lambda)
returns the mean of the Poisson distribution using mean parameters inlambda
. The size ofM
is the size oflambda
.
[M V)= poisstat(lambda)
also returns the varianceV
of the Poisson distribution.
For the Poisson distribution with parameter λ, both the mean and variance are equal to λ.
Examples
Find the mean and variance for the Poisson distribution with λ = 2.
[m,v] = poisstat([1 2; 3 4]) m = 1 2 3 4 v = 1 2 3 4
Extended Capabilities
Introduced before R2006a