about df and nbins of chi2gof.
2 次查看(过去 30 天)
显示 更早的评论
I am trying to run chi-squared test for my data and I have custom cdf.
The default value of number of bins k is 10.
My cdf has 3 parameter previously estimated so 'NParams' is specified as 3.
The degrees of freedom is calculated as df=k-1-nparams.
However, when the test is run, number of bins (k) is 5, df is 1.
Why doesn't it calculate 10 bins and 6 df?
What am i missing here?
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!