如何選擇假設檢驗的類型?


以下是常用的假設檢驗類型:

 

使用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