A fitted value is the response predicted by a fitted statistical model for an observation or predictor setting. In a regression model, it is the model’s estimated win count for a team-season, alongside the observed win count. section 5.7.3
Use fitted values to:
- Compare predictions with actual responses by calculating residuals or absolute prediction errors. section 5.7.3
- Measure typical prediction error; the NBA regression’s average absolute difference was 8.27 wins. section 5.7.3
- Inspect model assumptions through Residuals vs. Fitted plots, which place residuals against fitted values. section 5.7.5
NBA win prediction
For Miami’s 2017 team-season, the regression equation predicts 39 wins after combining the intercept with hustle-statistic values. Increasing loose balls from 7.2 to 8.2 changes the rounded prediction to 44 wins. Using broom, augment(fit1) adds observed wins and fitted values in the .fitted column; the first predictions are 37.84, 41.64, and 40.53.
