How to calculate nbins for chi2gof test?
1 回表示 (過去 30 日間)
古いコメントを表示
Hi I want to use chi2gof test to see if the distributions of my data is normal or not? but I don't know how to calculate nbins or edges? Tanx Sasi
0 件のコメント
回答 (1 件)
Wayne King
2012 年 1 月 26 日
Why don't you just use the default number of bins, which is 10.
If you end up with fewer than 5 observations in the interior bins, chi2gof() will throw a warning and then you can reduce the number of bins.
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!