Appex 11
STA 112 - Spring 2024
Part 1
- Copy the following template into RStudio Pro:
https://github.com/sta-112-s24/appex-11.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-11.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?