Fit chi distribution to measurement data

13 Ansichten (letzte 30 Tage)
dj1du
dj1du am 16 Aug. 2022
Kommentiert: Torsten am 19 Aug. 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!

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by