How to do data fitting to find the distribution of given data

[亡魂溺海] 提交于 2019-12-01 12:56:38

问题


I need to do data fitting to find the distribution of a given data.

I need to find the pdf function of the distribution.

I can use data fitting functions in matlab and python.

It looks like a truncated gamma.

But, how to find the parameters of the distribution ?

What if the data cannot fit the truncated gamma well ?

The QQ-plot (qunatile-quantile) show that it is not a good fit for truncated gamma.

How to find the distribution parameters such as alpha (shape), beta (scale) for the truncated gamma ?

If data fitting cannot work here, what other methods I can use for that ?

Any help would be appreciated.


回答1:


Check out allfitdist in Matlab.

Alternatively, consider specialty packages such as ExpertFit or EasyFit. The JMP statistical software also has a fairly easy to use distribution fitting option. All of these will evaluate goodness-of-fit criteria such as Cramer-von Mises and log likelihood estimates.

Once you've picked the functional form of the distribution, parameter values are usually estimated by maximum likelihood estimators or method of moments.

If you're planning on using the results in a simulation of some sort, you might consider just bootstrapping your sample rather than distribution fitting. Yet another option if simulating would be to run a designed experiment where you vary the distribution choice and see if alternatives have a significant impact on your results before worrying too much about fitting just the right distribution.



来源:https://stackoverflow.com/questions/22425475/how-to-do-data-fitting-to-find-the-distribution-of-given-data

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!