"Scoring, minutes, defense and age explain 62% of the variation in NBA salaries, and 5-fold cross-validation holds that up"

lm, car, olsrr, caret): multiple linear regression on log salary, 5-fold cross-validationA class project for STAT 3220, Introduction to Regression Analysis.
Cook's distance, leverage and studentized residuals flagged a handful of influential players: Tim Hardaway Jr., Chris Paul and Toumani Camara. All three were paid far below what their production predicts, around $2.3 million a year while playing 28 to 33 minutes a game. Rather than silently dropping them, we kept them in the final model and marked two for a follow-up sensitivity analysis. The diagnostics also pointed at what the model is missing: salary depends on things the box score doesn't record, like when a contract was signed, injuries, reputation and the league's salary-cap rules. That's where I'd take the model next, along with regularization (ridge or lasso) for the correlated predictors.
I handled all of the coding and the data-science work for our team: preparing the dataset, and building, selecting, validating and diagnosing the regression models in R.

