R过程及结果:
> a <- c(22,212,57,4,5,1,5)
> b <- c(5,54,2,5,5,5,58,8)
> t.test(a,b,var.equal=T,alternative="less")
Two Sample t-test
data: a and b
t = 0.9125, df = 13, p-value = 0.8109
alternative hypothesis: true difference in means is less than 0
95 percent confidence interval:
-Inf 76.35499
sample estimates:
mean of x mean of y
43.71429 17.75000