Actuarial Notes

Data Visualization

Study guides: Exam PA, Exam PCPA, ACIA-M1, ACIA-M2, Exam ACIA-CAPSTONE

Data Visualization is showing quantitative information as a graph or a table, so that a reader can see the pattern the numbers hold. The right display depends on the message, the data and the audience, and the same chart can inform one reader and mislead another.

Tufte's data-ink ratio, the case for decluttering, is

\text{Data-ink ratio} = \frac{\text{ink used to display the data}}{\text{total ink used in the graphic}}

Gridlines, borders, 3-D effects and redundant labels cost the reader attention and carry no data, so push the ratio up by removing what does not inform.

Exploratory and explanatory graphics

Knaflic separates exploration from explanation. Exploration is looking at a hundred views to find the two that matter. Explanation shows those two to someone else. A model report is explanatory: the EDA plots that led somewhere belong in an appendix, and most belong nowhere.

Gelman and Unwin make a related point. A graphic built to grab attention and one built to support statistical comparison make different trade-offs, and it is better to use two graphs than to cram both jobs into one.

Tables and graphs

Few gives the choice between them. Use a table when the reader needs precise individual values, such as a model's coefficients. Use a graph when the message is in the shape of the data, such as a trend, a ranking or a comparison.

Misleading charts

Cairo lists the ways a chart misleads: a bar chart whose axis does not start at zero, two series on dual axes, dubious or insufficient data, hidden uncertainty, and patterns that suggest a relationship the data do not support.

Bars encode value by length, so a bar chart's axis must start at zero. On a bar chart whose axis starts at a, a bar of value v_1 looks as many times as long as a bar of value v_2 as

\text{Apparent ratio} = \frac{v_1 - a}{v_2 - a}

A bar chart's axis starts at 0.90. How many times as tall is a bar of 1.05 drawn as one of 0.95?

  • The apparent ratio is (1.05 - 0.90)/(0.95 - 0.90) = 0.15/0.05 = 3.0.
  • The actual ratio is 1.05/0.95 = 1.105.
  • The bar is drawn three times as tall, but 1.05 is only about 10.5\% higher than 0.95.
  • For small differences, plot the points instead, or show the differences from 1.00 directly.

Exhibits for a model report

For a predictive model, the exhibits that justify it to a business audience sort and aggregate the data to show segmentation: a lift (quantile) plot, a double lift chart, and a Lorenz curve with its Gini index. Policy-level residual plots and QQ plots are working diagnostics, not the evidence.

What should replace these exhibits in a model report to underwriting management? The draft report includes a histogram of fitted values, a QQ plot of deviance residuals, and a table of 40 coefficients with standard errors.

Answer

  • None of the three shows what management needs: whether the model separates good risks from bad on data it has not seen.
  • A quantile (lift) plot on the holdout data shows actual loss cost rising from the best to the worst bucket.
  • A double lift chart against the current rating plan shows where the new model is more accurate.
  • A short table of the few rating factors that drive the result gives their relativities in plain terms ("+25\% for …").
  • Each exhibit states which data set it was built on, and the residual diagnostics move to a technical appendix.

Practice questions

Actuarial Notes