Model Selection
Study guides: FAP, Exam MAS-I, Exam MAS-II, Exam 9, ACIA-M1, ACIA-M2, Exam ACIA-CAPSTONE, Exam F3ILA
Model Selection is the choice, among candidate models fitted to the same data, of the model to use. For a model with maximized log-likelihood l and k estimated parameters, fitted to n observations, the Akaike information criterion is
\text{AIC} = -2l + 2k
and the Bayesian information criterion is
\text{BIC} = -2l + k \ln n
The model with the lower AIC or the lower BIC is preferred. BIC charges \ln n for each parameter, which is more than AIC's 2 when n \ge 8, so BIC prefers smaller models than AIC does. Models with the same number of parameters are ranked the same way by both criteria.
Two models are fitted to 200 observations. Model 1 has 4 parameters and maximized log-likelihood
-612.4. Model 2 has 6 parameters and-608.1. Which model does each criterion prefer?
- For Model 1,
-2l = 1{,}224.8, so\text{AIC} = 1{,}224.8 + 8 = 1{,}232.8and\text{BIC} = 1{,}224.8 + 4 \ln 200 = 1{,}246.0.- For Model 2,
-2l = 1{,}216.2, so\text{AIC} = 1{,}216.2 + 12 = 1{,}228.2and\text{BIC} = 1{,}216.2 + 6 \ln 200 = 1{,}248.0.- AIC prefers Model 2, and BIC prefers Model 1.
Fit and the number of parameters
Adding a parameter to a model never increases its deviance and never decreases its maximized log-likelihood, so a measure of fit to the same data alone always prefers the larger model and does not account for overfitting. AIC and BIC add a penalty for each parameter. For a model whose deviance is -2l plus a constant, such as a Poisson GLM, dropping one parameter lowers AIC when the deviance rises by less than 2.
Models are compared in one of three ways:
| Models | Compared with |
|---|---|
| Nested, one obtained by fixing parameters of the other | Likelihood Ratio Test, or AIC and BIC |
| Not nested, including models with different response distributions | AIC and BIC |
| Any models, by their predictions on data not used to fit them | Cross-Validation |
Choosing the model family
The family of an extended linear model is chosen from the response being modelled:
| Response | Model |
|---|---|
| Continuous, roughly symmetric, with constant variance | Linear Regression |
| Claim counts | Poisson GLM with a log link |
| Positive, skewed amounts whose standard deviation grows in proportion to the mean | Gamma GLM with a log link |
| Binary outcome | Logistic Regression |
Average repair costs per claim are modelled by vehicle class. The costs are positive, and their standard deviation grows in proportion to their mean. Which model family fits?
- A constant ratio of standard deviation to mean means that the variance is proportional to
\mu^2.- That is the variance function of the gamma distribution, so a gamma GLM fits.
- A log link keeps the fitted means positive.
Testing a variance component
In a linear mixed model, whether a random effect is needed is tested with H_0 that its variance is 0. A variance cannot be negative, so the null value lies on the boundary of the parameter space, and the likelihood ratio statistic w does not have the usual chi-squared distribution. For one variance component, it has a 50:50 mixture of a chi-squared distribution with 0 degrees of freedom and one with 1, and its p-value is
p = \tfrac{1}{2} P(\chi^2_1 \ge w)
\chi^2_1is a chi-squared random variable with 1 degree of freedom.
The test rejects H_0, and selects the model with the random effect, when this p-value is below the significance level. The mixture applies only to a parameter on the boundary. Models whose fixed effects differ are compared with ML log-likelihoods, and models that differ only in their random effects or covariance structure may be compared with REML log-likelihoods.
Adding a random intercept to a linear mixed model lowers
-2lby 2.9. Does the random intercept improve the model at significance level 0.05?
- The statistic is
w = 2.9, andP(\chi^2_1 \ge 2.9) = 0.0886.- The variance of the random intercept is on the boundary under
H_0, so the p-value is0.0886 / 2 = 0.0443.- Because
0.0443 < 0.05, the test rejectsH_0and keeps the random intercept.
Choosing a copula
In an enterprise risk model, a copula joins the marginal distributions of several lines of business into a joint distribution and describes their dependence separately from the marginals. Copulas with the same correlation differ in where the dependence is strongest, and the dependence in the right tail is measured by the right-tail concentration function, which is
R(z) = P(U > z \mid V > z)
UandVare the percentiles of the two variables in their own distributions.
If R(z) stays above 0 as z approaches 1, the copula has right-tail dependence, and extreme losses in the two variables tend to occur together. The Gumbel and heavy right tail (HRT) copulas have right-tail dependence, and the normal and Frank copulas have none in the limit. A copula with right-tail dependence fits lines that are mostly unrelated but can be hit together by one catastrophe, such as an earthquake affecting property and workers compensation, and loss and ALAE, where large losses come with large ALAE. Candidate copulas are tested against the data, and the copula chosen is combined with the marginals.
A normal copula and a Gumbel copula with the same rank correlation fit the joint losses of two property lines about equally well, but the Gumbel copula gives a higher 1-in-200 combined loss. Which should set capital?
- Capital is set in the tail, where fit to the body of the data cannot tell the two copulas apart.
- The normal copula has no right-tail dependence, so it treats the lines' extreme losses as nearly independent.
- Both lines can be hit by the same catastrophe, which is evidence for right-tail dependence, so the Gumbel copula should set capital.
Practice questions
- CAS Exam 8 Fall 2013, Question 25
- CAS Exam 8 Fall 2016, Question 7
- CAS Exam 8 Fall 2017, Question 4
- CAS Exam 8 Fall 2018, Question 6
- CAS Exam 8 Fall 2019, Question 2
- SOA Exam ASTAM Sample Question 1
- SOA Exam ASTAM Sample Question 12
- SOA Exam FAM Sample Question 3
- CAS Exam MAS-I Fall 2018, Question 31
- CAS Exam MAS-I Fall 2018, Question 33
- CAS Exam MAS-I Fall 2018, Question 39
- CAS Exam MAS-I Fall 2019, Question 29
- CAS Exam MAS-I Fall 2019, Question 32
- Exam MAS-I Practice Question 108
- Exam MAS-I Practice Question 154
- CAS Exam MAS-II Fall 2018, Question 22
- CAS Exam MAS-II Fall 2019, Question 37
- CAS Exam MAS-II Spring 2019, Question 37
- SOA Exam SRM Sample Question 8
- SOA Exam SRM Sample Question 19
- SOA Exam SRM Sample Question 70
- SOA Exam SRM Sample Question 71