Appex 13

STA 112 - Fall 2023

Part 1

  1. Copy the following template into RStudio Pro:
https://github.com/sta-112-f23/appex-13.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-13.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?