Fit chi distribution to measurement data

15 次查看(过去 30 天)
Good Morning,
I would like to fit a chi distribution (not chi-squared!) with 6 degrees of freedom to my measurement data. Unfortunately, the chi distribution does not seem to be implemented in the Matlab function fitdist, and the only possibility I found was described in:
Although there is an example for a Laplace distribution on how to define a custom distribution, I'm not sure which lines of code to change, in order to define my chi distribution properly. Could someone perhaps help me out here?
Thank you very much!
BTW: I found out, that the Nakagami distribution supported by fitdist is similar to a chi distribution, but I really need to use a chi distribution and not a Nakagami one!

采纳的回答

Torsten
Torsten 2022-8-16
Square your measurement data, and you can fit them against a chi-squared distribution.
  21 个评论
Torsten
Torsten 2022-8-19
@dj1du comment moved here:
Yes, exactly, the data are not perfectly chi-distributed with k=6 and I need to show how well it fit the ideal case k=6
Torsten
Torsten 2022-8-19
Oh, then you will also have to do some statistical test(s), don't you ?

请先登录,再进行评论。

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by