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!