|
发表于 2014-6-19 19:46:14
|
显示全部楼层
比如:a<-c(1,3,4,2,3,4)
b<-c(3,4,2,1,4,3)
var.test(a,b)
结果:F test to compare two variances
data: a and b
F = 1, num df = 5, denom df = 5, p-value = 1
alternative hypothesis: true ratio of variances is not equal to 1
95 percent confidence interval:
0.139931 7.146382
sample estimates:
ratio of variances
表明方差是一样的 |
|