Session Ready
Exercise

Paired t-test

Assume that you do not know how to perform an analysis of variance (ANOVA), you may do a number of paired t-tests instead.

Have a look at just one paired t-test and take, for example, the comparison between 12 days and 17 days.

Instructions
100 XP
  • Do a paired t-test to compare 12 days of training to 17 days of training. Define two variables cond_12days and cond_17days containing the IQ scores for the two condition groups.
  • Use the t.test() function. The first argument should contain the set of IQ values for 12 days of training, the second argument the IQ values for 17 days of training with the third argument paired set equal to TRUE.