Exercise

A faster way: ANOVA in R

Normally, you do not have to do all calculations yourself to get the F-value and to see whether or not the null hypothesis (i.e. that all groups are equal) should be rejected. R's aov() function does the heavy lifting for you!

Instructions

100 XP
  • Apply aov() to the working memory data. The only argument should be a formula containing the dependent variable iq and independent variable condition. For example, aov(dependent_var ~ independent_var).
  • Make a summary table of the result with summary(). The only argument is the result from the first instruction.