Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

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 in lambda. The size of M is the size of lambda.

[M,V] = poisstat(lambda) also returns the variance V 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

Introduced before R2006a

Was this topic helpful?