R - independent t-test

Card Puncher Data Processing

About

independent t-test in R

Package

Stats

  • Compare the gain scores in the two groups (for instance: control and training groups)
t.test(data$gain ~ data$groups, var.equal = T)
Two Sample t-test

data:  data$gain by data$groups
t = -4.0404, df = 118, p-value = 9.539e-05
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
 -2.2538109 -0.7711891
sample estimates:
mean in group 0 mean in group 1 
         1.9750          3.4875







Share this page:
Follow us:
Task Runner