| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Statistics Toolbox |
| Contents | Index |
| Learn more about Statistics Toolbox |
lambdshat = poissfit(data)
[lambdahat,lambdaci] = poissfit(data)
[lambdahat,lambdaci] = poissfit(data,alpha)
lambdshat = poissfit(data) returns the maximum likelihood estimate (MLE) of the parameter of the Poisson distribution, λ, given the data data.
[lambdahat,lambdaci] = poissfit(data) also gives 95% confidence intervals in lamdaci.
[lambdahat,lambdaci] = poissfit(data,alpha) gives 100(1 - alpha)% confidence intervals. For example alpha = 0.001 yields 99.9% confidence intervals.
The sample mean is the MLE of λ.
![]()
r = poissrnd(5,10,2);
[l,lci] = poissfit(r)
l =
7.4000 6.3000
lci =
5.8000 4.8000
9.1000 7.9000mle, poisspdf, poisscdf, poissinv, poisstat, poissrnd
![]() | poisscdf | poissinv | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |