Actuarial Notes

Scatter Plot

Study guide: Exam MAS-I

A Scatter Plot is a graph of two variables in which each observation is a point at (x_i, y_i). It shows the relationship between the two variables, not how either changes over time, and in exploratory data analysis it is the first look at how the response depends on a continuous predictor. A histogram of the predictor shows only the predictor's own distribution, so the shape of its relationship with the response is read from the scatter plot.

A scatter plot of the response against a predictor shows:

  1. The direction of the relationship, upward or downward.
  2. Its form, straight or curved.
  3. Its strength, how tightly the points cluster around the trend.
  4. Its spread, whether the scatter about the trend is constant or changes with the predictor.
  5. Unusual points, such as an outlier or a point far out in x.

The patterns it shows lead to these choices in the model:

Pattern Meaning Model choice
Straight band of constant width Linear relationship, constant variance A linear term in a linear regression
Curved band of constant width Nonlinear relationship A transformation, a polynomial term or banding of the predictor
Wedge that widens as the mean rises Variance grows with the mean A gamma GLM with a log link, or a transformed response
Two parallel bands A missing categorical predictor An indicator that shifts the intercept for one group
Shapeless cloud No relationship The predictor tells nothing about the response

The sample correlation r summarizes only the linear part of the relationship, so a strong curved relationship can have r near zero. A curved relationship is entered in the model through a transformation of the predictor, polynomial regression or banding.

A scatter plot of pure premium against driver age is high for young drivers, lowest around age 45 and rises again past 70. The correlation is r = -0.04. Should driver age be dropped from the model?

  • The correlation measures only linear association, and a U-shape has almost no linear component, so r near zero does not mean age is unrelated to pure premium.
  • The plot shows a strong curved relationship.
  • Driver age should be kept, banded into categories or entered with a quadratic or spline term.

Claim severity plotted against insured value forms a wedge, narrow at small insured values and wide at large ones. What does the plot show about a linear regression?

  • The centre of the wedge is linear, but the spread grows with the mean.
  • The constant-variance assumption of ordinary least squares fails.
  • A gamma GLM with a log link, whose variance is proportional to the square of the mean, fits this pattern.

High-leverage points

A point whose predictor value is far from the others has high leverage. It pulls the least squares line toward itself, so its residual can be small, and with few observations it can dominate both the fitted slope and the correlation. A high-leverage point should be investigated, for a data error or a different kind of risk, before it is allowed to drive the fit. It should not be removed only for being extreme.

Four points show no trend, and a fifth point lies far to the right and high. The correlation of all five is 0.90. What should the analyst do?

  • The fifth point has high leverage, so the correlation and the slope may rest on it alone.
  • Recomputing without it shows whether the relationship holds in the rest of the data.
  • The point is checked for a data error or a different kind of risk before the model is allowed to depend on it.

Scatter plot matrix

A scatter plot matrix shows a scatter plot for every pair of variables. Among the predictors, it screens for pairs that are strongly related, as a correlation matrix does. Both show only pairs, so they can miss multicollinearity among three or more predictors, which the variance inflation factor detects.

Overplotting

When many points overlap, the plot becomes a solid mass that shows nothing. Plotting on a log scale, making the points transparent so that dense regions appear darker, or binning the predictor and plotting the group means of the response all restore the pattern. Transparency suits smaller data sets, and binning suits very large ones.

Practice questions

Actuarial Notes