lambdaHat = poissfit(x)
[lambdaHat, lambdaCI] = poissfit(x, alpha)
| Parameter | Description |
|---|---|
| x | nonnegative integer finite real nonempty vector or matrix: sample counts. |
| alpha | scalar in the range [0, 1]: significance level. Default is 0.05. |
| Parameter | Description |
|---|---|
| lambdaHat | array: Poisson rate estimates. |
| lambdaCI | array: confidence intervals for the estimates. |
poissfit estimates the rate parameter of the Poisson distribution.
x = [0 1 2 3 5 8];
[lambdaHat, lambdaCI] = poissfit(x);
| Version | Description |
|---|---|
| 2.0.0 | initial version |