statsmodels.stats.gof.gof_chisquare_discrete¶
- statsmodels.stats.gof.gof_chisquare_discrete(distfn, arg, rvs, alpha, msg)[source]¶
对离散分布的随机样本执行卡方检验
注释
最初是为 scipy.stats 测试套件编写的, 仍然需要检查是否可以独立使用,输入检查不足 可能还不能运行(复制/粘贴后)
- refactor: maybe a class, check returns, or separate binning from
测试结果
Last update:
Oct 16, 2024