May I ask what MATLAB code for expected value is by fitting a Poisson distribution?

2 visualizaciones (últimos 30 días)
A = [1, 2, 3, 4, ..., 100]
In this case, I want to fit a Possion distribution and get the expected value.
Would you please tell me how to do it?

Respuesta aceptada

Torsten
Torsten el 10 de Oct. de 2022
A = 1:100;
lambdahat = poissfit(A)
lambdahat = 50.5000
  3 comentarios
Image Analyst
Image Analyst el 10 de Oct. de 2022
That would be a terrible fit. An upwardly increasing ramp in no possible way has any shape remotely like a Poisson distribution and you should not fit one to that data. It will not be a reliable model at all. That fit cannot be used in place of your actual data to predict or estimate anything.
Torsten
Torsten el 11 de Oct. de 2022
Editada: Torsten el 11 de Oct. de 2022
The data do not remotely look random. More like a trial balloon. So who cares ?

Iniciar sesión para comentar.

Más respuestas (0)

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by