Appex 11

STA 112 - Spring 2024

Part 1

  1. Copy the following template into RStudio Pro:
https://github.com/sta-112-s24/appex-11.git
  1. Amend the code to calculate the proportion of each gender admitted and rejected.
  2. Create a bar plot of the percent admitted (and rejected) by gender
  3. Create a bar plot of the percent admitted (and rejected) by gender faceted by Department

Part 2

  1. Open appex-11.qmd

  2. Using the NFL2007Standings data create a model that predicts WinPct from PointsFor. Examine the \(R^2\) and \(R^2_{adj}\) values.

  3. Using the NFL2007Standings data create a model that predicts WinPct from PointsFor AND PointsAgainst. Examine the \(R^2\) and \(R^2_{adj}\) values.

  4. Which model do you think is better for predicting win percent?