如何选择假设检验的类型?


以下是常用的假设检验类型:

 

使用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(countnobsvalue=None)

 

Bartlett's test:scipy.stats.bartlett(*args)

 

Fisher精确检验(Fisher's Exact Test):scipy.stats.fisher_exact(tablealternative='two-sided')


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM