How can I avoid the dreaded P=NaN when using chi2gof?

2 ビュー (過去 30 日間)
Homer Phillips
Homer Phillips 2016 年 5 月 5 日
回答済み: Nikhil Vyas 2016 年 5 月 10 日
I can test a column vector using chi2gof to determine the fit to a specific distribution and Matlab will return a P value of NaN. I can test the exact same data in Minitab and get a real result. I know the issue has to do with how Matlab determines the degrees of freedom and that number being too low. What I don't understand is how to work around this problem. Minitab clearly does.

回答 (1 件)

Nikhil Vyas
Nikhil Vyas 2016 年 5 月 10 日

カテゴリ

Help Center および File ExchangeMultivariate Distributions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by