Determining optimal number of bins for chi squared distribution
7 次查看(过去 30 天)
显示 更早的评论
Hello,
I am applying a chi squared distribution to histogram. Is there any way in matlab to determine the optimal number of bins to get the lowest chi squared (X2) statistic?
The Chi-square goodness-of-fit test function does not necessarily tell you the optimal number of bins to use, or does it?
Many thanks
John
0 个评论
回答(1 个)
Damiano Capocci
2018-3-24
More you have, better will be. if you have a great number of data you can go far with stand deviations because you will always have the product Prob*N_tot big enough
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!