| Statistics Toolbox | ![]() |
Parameter estimates and confidence intervals for Poisson data.
Syntax
lambdahat = poissfit(X) [lambdahat,lambdaci] = poissfit(X) [lambdahat,lambdaci] = poissfit(X,alpha)
Description
returns the maximum likelihood estimate (MLE) of the parameter of the Poisson distribution, poissfit(X)
, given the data X.
[lambdahat,lambdaci] = poissfit(X)
also gives 95% confidence intervals in lamdaci.
gives [lambdahat,lambdaci] = poissfit(X,alpha)
100(1-alpha)% confidence intervals. For example alpha = 0.001 yields 99.9% confidence intervals.
The sample average is the MLE of
.
Example
r = poissrnd(5,10,2); [l,lci] = poissfit(r) l = 7.4000 6.3000 lci = 5.8000 4.8000 9.1000 7.9000
See Also
betafit, binofit, expfit, gamfit, poisscdf, poissfit, poissinv, poisspdf, poissrnd, poisstat, unifit, weibfit
| poisscdf | poissinv | ![]() |