FUNCTION REFERENCE

poissfit

Poisson parameter estimate and exact confidence interval.

Poisson parameter estimate and exact confidence interval.

Syntax

lambdahat = poissfit(x)

Syntax

[lambdahat, lambdaci] = poissfit(x, alpha)

lambdahat is the sample mean of nonnegative integer counts; lambdaci is the exact (Garwood) chi-square interval [chi2inv(alpha/2, 2S); chi2inv(1-alpha/2, 2S+2)]/(2n) with S = sum(x). A vector is one sample; a matrix gives one estimate per column.

Example

[lambdahat, lambdaci] = poissfit([2 0 3 1 4 2])

Differences from MATLAB: none known.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.