两样本均数比较
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.
附件列表
词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。