R语言 t.test()内容解释。
>K1[1]3.983.534.254.073.643.793.864.073.934.01>K2[1]4.704.434.224.243.933.964.144.214...
> K1
[1] 3.98 3.53 4.25 4.07 3.64 3.79 3.86 4.07 3.93 4.01
> K2
[1] 4.70 4.43 4.22 4.24 3.93 3.96 4.14 4.21 4.35 4.62 4.59
> t.test(K1,K2,var.equql=TRUE,alternative=c("two.sided"),paired=FALSE)
Welch Two Sample t-test
data: K1 and K2
t = -3.8317, df = 18.885, p-value = 0.001136
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
-0.6111359 -0.1792277
sample estimates:
mean of x mean of y
3.913000 4.308182
问题1:
在现实内容中
t = -3.8317, df = 18.885, p-value = 0.001136
alternative hypothesis: true difference in means is not equal to 0
t的值代表什么,df值代表什么,p-value代表什么
alternative hypothesis: true difference in means is not equal to 0
这句话的含义是什么,0值会不会改变。
问题2:
z.test(), var.test()的结果与t.test有什么不同之处,作用是什么? 展开
[1] 3.98 3.53 4.25 4.07 3.64 3.79 3.86 4.07 3.93 4.01
> K2
[1] 4.70 4.43 4.22 4.24 3.93 3.96 4.14 4.21 4.35 4.62 4.59
> t.test(K1,K2,var.equql=TRUE,alternative=c("two.sided"),paired=FALSE)
Welch Two Sample t-test
data: K1 and K2
t = -3.8317, df = 18.885, p-value = 0.001136
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
-0.6111359 -0.1792277
sample estimates:
mean of x mean of y
3.913000 4.308182
问题1:
在现实内容中
t = -3.8317, df = 18.885, p-value = 0.001136
alternative hypothesis: true difference in means is not equal to 0
t的值代表什么,df值代表什么,p-value代表什么
alternative hypothesis: true difference in means is not equal to 0
这句话的含义是什么,0值会不会改变。
问题2:
z.test(), var.test()的结果与t.test有什么不同之处,作用是什么? 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询