commonstats 0.1.0

WASM-first Rust statistics: descriptives, hypothesis tests, distributions, density estimation, transforms, and resampling — validated against SciPy/R.
Documentation
{
"gof_obs": [
16,
18,
16,
14,
12,
12
],
"gof_exp": [
16,
16,
16,
16,
12,
12
],
"gof_chi2": 0.5,
"gof_p": 0.9921232932326296,
"table": [
[
10,
20,
30
],
[
6,
9,
17
]
],
"ind_chi2": 0.2715746515040352,
"ind_p": 0.8730282833800729,
"ind_df": 2.0,
"xcheck": {
"gof_chi2": {
"scipy": {
"val": 0.5,
"rel": 0.0
},
"r": {
"val": 0.5,
"rel": 0.0
}
},
"gof_p": {
"scipy": {
"val": 0.9921232932326296,
"rel": 7.3108315438805e-18
},
"r": {
"val": 0.99212329323263,
"rel": 4.549257730327445e-16
}
},
"ind_chi2": {
"scipy": {
"val": 0.27157465150403504,
"rel": 6.637530916999163e-16
},
"r": {
"val": 0.271574651504035,
"rel": 8.681578508474504e-16
}
},
"ind_p": {
"scipy": {
"val": 0.873028283380073,
"rel": 6.723754199226612e-17
},
"r": {
"val": 0.873028283380073,
"rel": 6.723754199226612e-17
}
}
}
}