General Mathematics · bivariate data · demo
A straight line is only a good model when the residual plot is a random cloud around zero. Switch the data — the pattern is the verdict.
Scatter and fitted line
Residual plot · e = y − ŷ versus x
Same x-scale on both plots · residual axis is locked, so a fan or curve is a real pattern
Data shape
Working