Can I use "chi2gof" code in this case?

2 ビュー (過去 30 日間)
Chris
Chris 2022 年 10 月 23 日
回答済み: William Rose 2022 年 10 月 23 日
The forecasts of event A: 500 and the observations of event A: 400. I want to use chi-square test.
In this case, can I use "chi2gof" function to examine if the forcasts reproduce the frequency distribution?

採用された回答

William Rose
William Rose 2022 年 10 月 23 日
@Chris, yes you can use the chi squared test to test whether the distribution of results fits an expected distribution. If the expected number in a bin is less than 5, combine with an adjacent bin or bins until the expected value is at least 5 in each bin.
I do not understand what you mean by "The forecasts of event A: 500 and the observations of event A: 400." Can you elaborate?

その他の回答 (0 件)

カテゴリ

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