Fit chi distribution to measurement data

조회 수: 13 (최근 30일)
dj1du
dj1du 2022년 8월 16일
댓글: Torsten 2022년 8월 19일
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