Skip to content
ML Academy

Classical ML, validation, metrics, interpretation, debugging · insight-0173

Treat a funnel-shaped residual plot as a modelling decision, not cosmetic noise

Evidence type
documented fact
Difficulty
medium
Roles
Data scientist, Data analyst
Industries
insurance, retail

Summary: situation, action, reason, boundary

  1. Situation

    Residuals versus fitted values widen as predictions grow, common for revenue, demand and claim size.

  2. Action

    Consider a log or variance-stabilizing transform, a loss and model suited to the variance pattern (for example Poisson or Tweedie for counts and amounts), and intervals that scale with the prediction.

  3. Reason

    Non-constant error variance violates the assumption behind ordinary least-squares inference and makes one interval width fit no one.

  4. Boundary

    Linear regression and other models whose uncertainty or inference matters.

Symptom or risk

Large-value segments dominate the loss; standard errors and constant-width intervals are wrong for small and large cases alike.

Exceptions

For point predictions evaluated by MAE alone, heteroscedasticity may be acceptable if errors by segment are tolerable.

Trade-offs

Transforms help variance but complicate interpretation and back-transformation.

Pitfalls

Judging the residual pattern on training data only; check held-out residuals too.

Lessons and concepts

Claims and their sources