Appex 13
STA 112 - Fall 2023
Part 1
- Copy the following template into RStudio Pro:
https://github.com/sta-112-f23/appex-13.git
- Amend the code to calculate the proportion of each gender admitted and rejected.
- Create a bar plot of the percent admitted (and rejected) by gender
- Create a bar plot of the percent admitted (and rejected) by gender faceted by Department
Part 2
Open
appex-13.qmd
Using the
NFL2007Standings
data create a model that predictsWinPct
fromPointsFor.
Examine the \(R^2\) and \(R^2_{adj}\) values.Using the NFL2007Standings data create a model that predicts
WinPct
fromPointsFor
ANDPointsAgainst.
Examine the \(R^2\) and \(R^2_{adj}\) values.Which model do you think is better for predicting win percent?