Homoscedasticity means that regression residuals have the same variance across values of the predictor X. Unequal variance is heteroscedasticity and can produce unexpected model behavior after deployment. section 9.2.2
Check the assumption during regression error analysis:
- Inspect a scale-location plot to assess whether residual variance remains homogeneous. section 9.2.2
- Look for a horizontal pattern with evenly dispersed residuals; changing spread indicates nonconstant error variance. section 9.2.2
- Turn model assumptions into unit tests so later deployments can expose assumption violations. section 9.2.2
Demand forecasting
A simple linear regression for demand forecasting assumes homoscedasticity alongside linearity, zero-centered residuals, normality, and independence. Residual diagnostic plots help reveal whether that assumption holds after fitting. section 9.2.2
Figure 9.10 Four diagnostic plots for linear regression’s residual analysis in both cases (Case 1: Assumptions are met)
Compare diagnostic plots for regression cases where assumptions are met or violated. section 9.2.2


