公卫百科  > 所属分类  >  R/S+   
[0] 评论[0] 编辑

两样本均数比较

  You want to know if the two populations could have the same mean. 公卫考场

Perform a t test by calling the t.test function:
> t.test(x, y)
By default, t.test assumes that your data is not paired. If the observations are paired 公卫家园
(i.e., if each xi is paired with the corresponding yi), then specify paired=TRUE:
> t.test(x, y, paired=TRUE)

If the populations are not normally distributed (bell-shaped) and either sample is small,
公卫百科

the t test is inappropriate. In that case, consider using the Wilcoxon-Mann-Whitney
test, which is implemented by the wilcox.test function.

附件列表


0

词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。

如果您认为本词条还有待完善,请 编辑

上一篇 比例的可信区间    下一篇 相关性检验

同义词

暂无同义词