以下是常用的假設檢驗類型:
使用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')