R中的假设检验

常用的统计方法见下表所示。

检验方法 R函数 说明
T-test t.test() 检验两组样品(参数)
Wilcoxon test wilcox.test() 检验两组样品(非参)
ANOVA aov()或者anova() 检验多组样本(参数)
Kruskal-Wallis kruskal.test() 检验多组样本(非参)

Mann-Whitney-Wilcoxon检验也被称为Wilcoxon检验。 In statistics, the Mann–Whitney U test (also called the Mann–Whitney–Wilcoxon (MWW), Wilcoxon rank-sum test, or Wilcoxon–Mann–Whitney test) https://en.wikipedia.org/wiki/Mann%E2%80%93Whitney_U_test

本文是阅读下列内容的读书笔记:http://www.sthda.com/english/wiki/comparing-means-in-r

作者简介

Chun-Hui Gao is a Research Associate at Huazhong Agricultural University.

重复使用

Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The source code is licensed under MIT. The full source is available at https://github.com/yihui/hugo-prose.

欢迎修订

如果您发现本文里含有任何错误(包括错别字和标点符号),欢迎在本站的 GitHub 项目里提交修订意见。

引用本文

如果您使用了本文的内容,请按照以下方式引用:

gaoch (2019). 常用假设检验方法的R语言实现. BIO-SPRING. /post/2019/09/23/basic-stats-in-r/

BibTeX citation

@misc{
  title = "常用假设检验方法的R语言实现",
  author = "gaoch",
  year = "2019",
  journal = "BIO-SPRING",
  note = "/post/2019/09/23/basic-stats-in-r/"
}