Statistical Significance
Study guide: Exam 8
Statistical Significance is the judgement that an observed effect is too large to be plausibly produced by random variation if the true effect were zero. In classification ratemaking it is the first actuarial test of whether a rate class has earned its own rate, and the effect tested is a class's difference in loss cost, a GLM coefficient or the improvement from adding a variable.
The test statistic for one GLM coefficient \hat{\beta} is
z = \frac{\hat{\beta}}{\mathrm{SE}(\hat{\beta})}
\mathrm{SE}(\hat{\beta})is the coefficient's standard error.
With a log link, a class coefficient \hat{\beta} is a relativity of e^{\hat{\beta}}, and the p-value behind z is the chance of an estimate that far from zero if the class truly had no effect. The 95% confidence interval is \hat{\beta} \pm 1.96\,\mathrm{SE}, and exponentiating it gives an interval for the class's relativity, and so for its loss cost. An interval for the relativity that includes 1.00 means the class cannot be told apart from the base level.
A categorical level's significance is measured against the base level. A sparse base widens every other level's interval, so the GLM monograph advises a base level with plenty of data.
Is each of these two rate classes significantly different from the base at 5%? A frequency GLM with a log link gives these coefficients, both relative to the base class:
Class \hat{\beta}\mathrm{SE}B 0.182 0.060 C 0.095 0.070 Answer
- Class B has
z = 0.182/0.060 = 3.03, sop = 0.002.- Its relativity is
e^{0.182} = 1.20, with 95% interval[e^{0.064}, e^{0.300}] = [1.07, 1.35]. The whole interval lies above1, so Class B is significant.- Class C has
z = 0.095/0.070 = 1.36, sop = 0.17.- Its relativity is
1.10with interval[0.96, 1.26], which includes1.00. The data cannot tell Class C apart from the base.- Either combine Class C with the base or credibility-weight its indication. The
+10\%effect is not disproved, and more data may confirm it.
Testing a whole variable
The F-statistic compares two nested GLMs, a small model S and a big model B that adds the variable. It is
F = \frac{D_S - D_B}{(\text{added parameters}) \times \hat{\phi}_B}
D_SandD_Bare the unscaled deviances of the small and big models.\hat{\phi}_Bis the big model's dispersion estimate.
F is referred to an F distribution with (added parameters, n - p_B) degrees of freedom, where n is the number of records and p_B the big model's number of parameters. A categorical variable with m levels adds m - 1 parameters. When \phi is known (Poisson), the deviance drop is compared with \chi^2 instead (the Likelihood Ratio Test).
Is this vehicle-use variable significant? A GLM on
n = 5{,}000records has unscaled deviance5{,}212.4. Adding a 4-level vehicle-use variable gives deviance5{,}196.8, dispersion estimate\hat{\phi}_B = 1.30andp_B = 12parameters.Answer
- Four levels add
3parameters.F = (5{,}212.4 - 5{,}196.8)/(3 \times 1.30) = 15.6/3.9 = 4.00.- The 95th percentile of
F_{3,\,4{,}988}is about2.61, and4.00lies at about the99.3rd percentile.- Vehicle use is significant. Its deviance drop is four times what three useless parameters would be expected to achieve by chance.
Testing class frequencies without a model
Pearson's statistic compares each class's observed claim count with its expected count if every class had the same frequency. It is
\chi^2 = \sum \frac{(O - E)^2}{E}
Ois a class's observed claim count.Eis its expected claim count, the common frequency times the class's exposures.
It has (classes -\,1) degrees of freedom.
Are these three classes' claim frequencies significantly different at 5%? The classes' experience is:
Class Exposures Claims 1 4,000 220 2 3,000 150 3 3,000 130 Answer
- The overall frequency is
500 / 10{,}000 = 0.05, so the expected counts are200,150and150.\chi^2 = 20^2/200 + 0^2/150 + 20^2/150 = 2.00 + 0 + 2.67 = 4.67.- That is below
\chi^2_{0.05,2} = 5.99, withp = e^{-4.67/2} = 0.097, so the difference is not significant, even though the class frequencies range from0.043to0.055.- With twice the exposure and the same frequencies,
\chi^2doubles to9.33andp = 0.009. Significance depends on volume as much as on the size of the effect.
Significance and the other criteria
Significance is not the whole test of a variable. A 5% threshold admits roughly one useless variable in twenty when many are tried, and the monograph warns there is no "magic" p-value. A class can be significant yet not credible enough to use at face value. ASOP No. 12 asks that a risk characteristic be related to expected outcomes, though a cause-and-effect relationship need not be shown. Operational and legal criteria still apply.
Treating a non-significant result as no effect A class whose interval includes
1.00has not been shown to differ from the base. It has not been shown to equal it either, and it may only need more data. Combine it with the base or credibility-weight it rather than setting its effect to zero as proven.