Overview
Assumption Sheriff
Package 👮♂️⭐
AssumptionSheriff
is a comprehensive Python package designed to validate statistical test assumptions. It provides automated checking of common statistical assumptions and offers recommendations when assumptions are violated. The packges supports 16 commonly used statistical tests, more tests will be added in the coming package updates.
Unfortunately, it is quite common that published health research do not fully report or validate the underlying assumptions of statistical tests utilized as reported by many articles, see:
-
Hoekstra et al. (2012) "Are Assumptions of Well-Known Statistical Techniques Checked, and Why (Not)?" https://doi.org/10.3389/fpsyg.2012.00137
-
Patino et. al (2018) "Meeting the assumptions of statistical tests: an important and often forgotten step to reporting valid results" https://doi.org/10.1590/S1806-37562018000000303
-
Nielsen et. al (2019) "Assessing assumptions for statistical analyses in randomised clinical trials" https://doi.org/10.1136/bmjebm-2019-111174
To bridge this gap, Assumption Sheriff
automates the process of checking statistical test assumptions, providing clear feedback and suggestions for alternative approaches when violations occur.
Supported Statistical Tests
AssumptionSheriff
supports assumption checking for the following statistical tests:
- Independent Samples t-test
t_test_ind
- Repeated-Measures ANOVA
repeated_anova
- Logistic Regression
logistic
- Factorial ANOVA (Two-way ANOVA)
factorial_anova
- One-Way ANOVA (one_way_anova)
one_way_anova
- Pearson Correlation
pearson_correlation
- Paired t-test
paired_ttest
- Chi-Square Test of Independence
chi_square_independence
- Multiple Regression (
multiple_regression
) - Two-Way ANOVA
two_way_anova
- Kaplan-Meier Analysis
kaplan_meier
- Cox Proportional Hazards
cox_ph
- Poisson Regression
poisson
- Spearman Correlation
spearman
- Wilcoxon Signed-Rank Test
wilcoxon_signed_rank
- MANOVA (Multivariate Analysis of Variance)
manova
More tests to be added in future vesrions.
Key Features
- Comprehensive assumption checking
- Recommendations for alternative methods
- Flexible integration
- Commonly used test support
Citation
If you use AssumptionSheriff in your research, please cite: