Fit chi distribution to measurement data

15 vues (au cours des 30 derniers jours)
dj1du
dj1du le 16 Août 2022
Commenté : Torsten le 19 Août 2022
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!

Réponse acceptée

Torsten
Torsten le 16 Août 2022
Square your measurement data, and you can fit them against a chi-squared distribution.
  21 commentaires
Torsten
Torsten le 19 Août 2022
@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 le 19 Août 2022
Oh, then you will also have to do some statistical test(s), don't you ?

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by