Session Ready
Exercise

The factorial ANOVA

Now that you have tested the homogeneity of variance assumption, it is time to run the factorial ANOVA using the following notation:

aov(dependent_variable ~ independent_var1 * independent_var2)

The multiplication symbol in the formula ensures that both the main effect of the two independent variables as well as their interaction effect are taken into account in the ANOVA analysis.

Instructions
100 XP
  • Use the function aov() to perform a factorial ANOVA on ab . Assign the result to ab_model.
  • Apply the summary() function to ab_model to get the ANOVA summary table. Study the table closely.