Poisson mean and variance
M = poisstat(lambda)
[M V] = poisstat(λ)
M = poisstat(lambda)
returns the mean of the Poisson distribution using mean parameters inlambda
. The size ofM
is the size oflambda
.
[M V] = poisstat(λ)
also returns the varianceV
of the Poisson distribution.
For the Poisson distribution with parameter λ, both the mean and variance are equal to λ.
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