about df and nbins of chi2gof.

조회 수: 2 (최근 30일)
Ekin Ceyda Cetin
Ekin Ceyda Cetin 2017년 2월 21일
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개)

카테고리

Help CenterFile Exchange에서 Hypothesis Tests에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by