Can I use "chi2gof" code in this case?
3 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Hypothesis Tests 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!