以下是常用的假设检验类型:
使用python进行各假设检验的代码请见下面链接:
单样本t检验,独立样本t检验,配对t检验,单因素方差分析,卡方分布检验,Levene\'s test,卡方独立性检验,卡方拟合优度检验:https://www.cnblogs.com/HuZihu/p/11442833.html
单样本比率检验,两独立样本比率检验:https://www.cnblogs.com/HuZihu/p/12015669.html
符号检验,威尔科克森符号秩检验,曼-惠特尼U检验,Kruskal-Wailis检验,二项分布检验:https://www.cnblogs.com/HuZihu/p/12035943.html
Welch\'s ANOVA:https://pingouin-stats.org/generated/pingouin.welch_anova.html
卡方两比率检验:statsmodels.stats.proportion.proportions_chisquare(count, nobs, value=None)
Bartlett\'s test:scipy.stats.bartlett(*args)
Fisher精确检验(Fisher\'s Exact Test):scipy.stats.fisher_exact(table, alternative=\'two-sided\')