How to extend the fit in histfit? (red line doesn't continue past a certain point)
조회 수: 4 (최근 30일)
이전 댓글 표시
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/167418/image.png)
I'm trying to use a gamma fit, or at times a generalized-pareto distribution fit to my histogram data. However, the fit doesn't seem to extend as for as my data goes on the x-axis. Are there options within this histfit function call I should be using? Or do I need to do pd = fitdist(data, 'gamma'). And then use that pd object to fit a distribution with my original x range?
댓글 수: 2
채택된 답변
the cyclist
2017년 12월 7일
편집: the cyclist
2017년 12월 7일
See my answer (and ensuing comment) to effectively the same question here. Looking inside the histfit function, it seems that it plot the fit out to 3 sigma.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!