필터 지우기
필터 지우기

Why histfit cannot fit my data very well?

조회 수: 8 (최근 30일)
Shane Lin
Shane Lin 2013년 1월 5일
I tried to fit the histogram as shown in the fig. I tried normal distribution and gamma fitting (preferred) with histfit. but histfit cannot fit the data very well. Any suggestion? http://www.imagesup.net/?di=0135735909615

답변 (2개)

Walter Roberson
Walter Roberson 2013년 1월 5일
Have you considered the possibility that the data does not fit those distributions well enough for you to be comfortable? Have you considered trying
ttest(x, mean(x))
to find the confidence that the data is normally distributed?
  댓글 수: 1
Tom Lane
Tom Lane 2013년 1월 5일
You could use lillietest or jbtest for that. I wouldn't recommend ttest.

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


Tom Lane
Tom Lane 2013년 1월 7일
Try fitting the 'gev' (generalized extreme value) or 'tlocationscale" (location/scale shift of the t) distribution.

Community Treasure Hunt

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

Start Hunting!

Translated by