14.6 Test your R might!
For the following questions, use the pirates
dataframe in the yarrr
package
Is there a significant relationship between a pirate’s favorite pixar movie and the number of tattoos (s)he has? Conduct an appropriate ANOVA with
fav.pixar
as the independent variable, andtattoos
as the dependent variable. If there is a significant relationship, conduct a post-hoc test to determine which levels of the independent variable(s) differ.Is there a significant relationship between a pirate’s favorite pirate and how many tattoos (s)he has? Conduct an appropriate ANOVA with
favorite.pirate
as the independent variable, andtattoos
as the dependent variable. If there is a significant relationship, conduct a post-hoc test to determine which levels of the independent variable(s) differ.Now, repeat your analysis from the previous two questions, but include both independent variables
fav.pixar
andfavorite.pirate
in the ANOVA. Do your conclusions differ when you include both variables?Finally, test if there is an interaction between
fav.pixar
andfavorite.pirate
on number of tattoos.