Session Ready
Exercise

Taking into account gender

In order to see if beauty is still a significant predictor of professor score after we've accounted for the gender is the professor, we can add the gender term into the model.

Instructions
100 XP
  • Fit a linear model called m_bty_gen to predict average professor score by average beauty rating bty_avg and by gender. You can use the + sign to add more explanatory variables to the model.
  • Study the outcome with the help of summary().