v0.3.0
What's New in v0.3.0
This release adds comprehensive statistical testing capabilities with 30 new functions for equivalence testing, correlation analysis, and categorical data analysis.
TOST Equivalence Tests (10 functions)
Test for practical equivalence using Two One-Sided Tests procedure:
tost_t_test_one_sample- One-sample equivalence testtost_t_test_two_sample- Two-sample equivalence testtost_t_test_paired- Paired samples equivalence testtost_correlation- Correlation equivalence test (Pearson/Spearman)tost_prop_one- One-proportion equivalence testtost_prop_two- Two-proportion equivalence testtost_wilcoxon_paired- Non-parametric paired equivalence testtost_wilcoxon_two_sample- Non-parametric two-sample equivalence testtost_bootstrap- Bootstrap-based equivalence testtost_yuen- Trimmed means equivalence test
Correlation Tests (7 functions)
pearson- Pearson correlation with confidence intervalsspearman- Spearman rank correlationkendall- Kendall's tau (variants a, b, c)distance_cor- Distance correlation (detects nonlinear relationships)partial_cor- Partial correlation controlling for covariatessemi_partial_cor- Semi-partial (part) correlationicc- Intraclass correlation coefficient
Categorical Tests (13 functions)
binom_test- Exact binomial testprop_test_one/prop_test_two- Proportion testschisq_test- Chi-square test for independencechisq_goodness_of_fit- Chi-square goodness of fit testg_test- G-test (likelihood ratio test)fisher_exact- Fisher's exact test for 2x2 tablesmcnemar_test/mcnemar_exact- McNemar's tests for paired proportionscohen_kappa- Cohen's Kappa for inter-rater agreementcramers_v- Cramer's V for association strengthphi_coefficient- Phi coefficient for 2x2 tablescontingency_coef- Contingency coefficient (Pearson's C)
Dependencies
- Updated
anofox-statisticsto v0.4.0 - Updated
anofox-regressionto v0.4.0
Installation
pip install polars-statistics==0.3.0Full Changelog: v0.2.0...v0.3.0