statsmodels.stats.gof.gof_chisquare_discrete¶
- statsmodels.stats.gof.gof_chisquare_discrete(distfn, arg, rvs, alpha, msg)[source]¶
perform chisquare test for random sample of a discrete distribution
Notes
originally written for scipy.stats test suite, still needs to be checked for standalone usage, insufficient input checking may not run yet (after copy/paste)
- refactor: maybe a class, check returns, or separate binning from
test results
Last update:
Nov 14, 2024