Chi square on a custom equation plot

4 ビュー (過去 30 日間)
Kim Paterson
Kim Paterson 2019 年 2 月 26 日
回答済み: Abhishek Singh 2019 年 3 月 8 日
Hello!
sorry if this may seem like a silly question, but I am having trouble with finding th chi^2 and reduced chi^2 values for my efficiency plot. I generated a code of my plot which i did on the curve fitting app, and I'm not sure how to go about writing in the chi^2 for it. My plot looks like this
x.jpg
Thank you!

回答 (1 件)

Abhishek Singh
Abhishek Singh 2019 年 3 月 8 日
I’m not very clear about the question you asked but I understand you need to find Chi-square value and reduced Chi-square value.
Formula for finding the Chi-square value is:
chi-square.jfif
This can be achieved in MATLAB using this.
h = chi2gof(x)
Refer this link for the same.
You can find reduced Chi-square value through dividing the Chi-square value by degrees of freedom.
I hope this helps.

カテゴリ

Help Center および File ExchangeHypothesis Tests についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by