Summary Statistics
Study guides: Exam MAS-II, DISC-DA, Exam PCPA, Exam ACIA-CAPSTONE
Summary statistics are a few numbers that condense a data set, or a fitted model, so a reader can take it in at once. For data they measure location, spread, shape and association, usually tabulated by group. For a fitted model they measure fit against complexity: the log-likelihood, AIC, BIC and, in a linear mixed model, the estimated variance components. The sample mean and sample standard deviation of x_1, \ldots, x_n are
\bar{x} = \frac{1}{n}\sum_{i=1}^{n} x_i
s = \sqrt{\frac{1}{n-1}\sum_{i=1}^{n}(x_i - \bar{x})^2}
Five claims are 1, 2, 2, 3 and 12 (thousands). What are the mean, median and standard deviation?
- The mean is
20/5 = 4, and the median is the middle value,2.- The squared deviations from 4 sum to
9 + 4 + 4 + 1 + 64 = 82, sos = \sqrt{82/4} = 4.53.- The mean sits well above the median because the losses are right-skewed.
Summary statistics of data
- Location: the mean
\bar{x}and the median. For right-skewed severity the mean sits well above the median. - Spread: the standard deviation
s(sample variance), the interquartile rangeQ_3 - Q_1, the range, and the coefficient of variations/\bar{x}for comparing spread across variables on different scales. - Shape and completeness: percentiles (the five-number summary behind a box plot), the share of zeros, the largest values and the count of missing values in each column.
- Categorical variables and association: counts, proportions and, in insurance, exposure by level, the correlation matrix for numeric predictors and two-way tables for categorical ones.
A table is used when the reader needs exact values, and a graph when the message is a shape or a comparison.
One-way tables
An insurance one-way table shows exposure, claim count, frequency, severity and pure premium by level, with pure premium equal to frequency times severity. Each is a ratio of sums, not an average of ratios. A combined frequency is total claims over total exposure, which equals the exposure-weighted average of the group frequencies.
Each level's figure is confounded with everything correlated with it, which is why final relativities come from a multivariate model. An apparent effect of one variable may be explained by a third, such as coverage mix, so the pattern is checked within subgroups.
Pleasure use has 6,000 exposures, 300 claims and losses of 1,500,000; commute 3,000, 195 and 1,053,000; business 1,000, 90 and 540,000. What are the frequency, severity and pure premium of each, the relativities to pleasure, and the overall frequency? The figures by use are:
Use Frequency Severity Pure premium Relativity Pleasure 0.0500 5,000 250.00 1.000 Commute 0.0650 5,400 351.00 1.404 Business 0.0900 6,000 540.00 2.160
- The business relativity is
1.80in frequency times1.20in severity, which is2.16.- The overall frequency is
585/10{,}000 = 0.0585, not the average of the three rows (0.0683), because Pleasure carries60\%of the exposure.
Summary statistics of a fitted mixed model
-2times the log-likelihood, by REML or ML, and the likelihood ratio test between nested models. REML compares random effects or covariance structures with identical fixed effects, and ML compares fixed effects.\text{AIC} = -2l + 2kand\text{BIC} = -2l + k\ln nfor choices that are not nested. BIC's penalty per parameter is heavier once\ln n > 2, that isn \geq 8, so it favours smaller models.- The variance components and the implied intraclass correlation. Testing whether a variance is zero puts the null on the boundary of the parameter space, so the naive
\chi^2p-value is too large. For a single variance component it is halved. - A
torFstatistic for each fixed effect, which guides variable selection alongside the diagnostic plots.
Two mixed models of 500 policy-years with identical fixed effects are fitted by REML: a random intercept (2 covariance parameters,
-2l = 2431.6) and a random intercept and slope (4 covariance parameters,-2l = 2420.2). Which do the likelihood ratio test, AIC and BIC prefer?
- The likelihood ratio statistic is
2{,}431.6 - 2{,}420.2 = 11.4on 2 degrees of freedom, above\chi^2_{0.95,2} = 5.99, so it prefers the slope model.- AIC is
2{,}431.6 + 2(2) = 2{,}435.6against2{,}420.2 + 2(4) = 2{,}428.2, so it prefers the slope model.- BIC is
2{,}431.6 + 2\ln 500 = 2{,}444.0against2{,}420.2 + 4\ln 500 = 2{,}445.1, so it prefers the intercept model.
Average of ratios An overall frequency is total claims over total exposure, not the average of the levels' frequencies.