相关性检验
If the variables came from normally distributed populations, use the default 公卫考场
measure of correlation, known as the Pearson method:> cor.test(x, y)
For nonnormal populations, use the Spearman method instead:
> cor.test(x, y, method="Spearman")
公卫论坛
> cor.test(x, y)
Pearson's product-moment correlation
data: x and y
t = 2.1481, df = 2, p-value = 0.1648 公卫论坛
alternative hypothesis: true correlation is not equal to 0
95 percent confidence interval:
-0.6379590 0.9964437
sample estimates:
cor 公卫考场
0.8352458
附件列表
词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。