필터 지우기
필터 지우기

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

조회 수: 3 (최근 30일)
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?

채택된 답변

Torsten
Torsten 2022년 10월 10일
A = 1:100;
lambdahat = poissfit(A)
lambdahat = 50.5000
  댓글 수: 3
Image Analyst
Image Analyst 2022년 10월 10일
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 2022년 10월 11일
편집: Torsten 2022년 10월 11일
The data do not remotely look random. More like a trial balloon. So who cares ?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

제품

Community Treasure Hunt

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

Start Hunting!

Translated by