Session Ready
Exercise

ANOVA

Up to now, you've created output objects to save and extract elements for customized and more detailed presentation of results. However, some output objects like those from the aov() function for running an analysis of variance (ANOVA) can be used as inputs to other functions such as summary() and plot() to get customized results reporting and visualizations. The aov() output can also be used as input to TukeyHSD() to perform post hoc pairwise testing.

The abaloneKeep dataset and dplyr package have been loaded for you.

Instructions
100 XP
  • Compute n, mean, standard deviation, and variance of age by sex.
  • Perform an ANOVA of age by sex groups and save the output as abaov.
  • Run the summary() of abaov.
  • Perform TukeyHSD() posthoc pairwise tests on abaov.