フィルターのクリア

How to extend the fit in histfit? (red line doesn't continue past a certain point)

4 ビュー (過去 30 日間)
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 件のコメント
Image Analyst
Image Analyst 2017 年 12 月 7 日
Post your data and code so people can work with it.
Jake Warner
Jake Warner 2017 年 12 月 7 日
Unfortunately I cannot post the actual data set, but this is the command I ran: histfit(data, 10000, 'gamma') The 'data' is approximately 1 million data points. It is possible that is too many points for this to follow, or there is some implicit limit of the number of points it will show for the fit...?

サインインしてコメントする。

採用された回答

the cyclist
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.
  1 件のコメント
Jake Warner
Jake Warner 2017 年 12 月 7 日
Thank you very much cyclist! I'll modify the file as I wish now.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by