Model Structure
Study guides: Exam MAS-I, Exam MAS-II, Exam ACIA-CAPSTONE
A Model Structure is the specified form of an extended linear model: the distribution of the response, the link function, and the terms of the linear predictor. For a generalized linear model with mean \mu_i = E[Y_i] and predictors x_{i1}, \ldots, x_{ip}, the model structure is
g(\mu_i) = \beta_0 + \beta_1 x_{i1} + \cdots + \beta_p x_{ip}
gis the link function.\beta_0, \ldots, \beta_pare the coefficients.Y_ihas a distribution from the exponential family, chosen together withg.
The right-hand side is the linear predictor \eta_i. Specifying the model structure means making three choices:
- The distribution of
Y_i. - The link function
g. - The terms of
\eta_i: which predictors appear, how each is transformed, and which interactions are included.
Distribution and link for the response
The distribution and the link are chosen from the behavior of the response being modeled. The usual choices lead to Poisson regression for counts, a Gamma model for severity, logistic regression for a binary response and a Tweedie model for pure premium.
| Response | Distribution | Usual link |
|---|---|---|
| Continuous, symmetric, constant variance | Normal | Identity |
| Count of events, such as claims | Poisson | Log |
Positive and right-skewed, variance proportional to \mu_i^2, such as claim severity |
Gamma | Log |
| Binary, or a proportion of successes | Binomial | Logit |
| Pure premium: a mass at zero and a skewed positive part | Tweedie | Log |
An actuary models the probability that a homeowners policy renews. What distribution and link should the model structure use?
- Each policy either renews or does not, so the response is binary.
- A binary response has a binomial distribution.
- The logit link keeps the fitted probability between 0 and 1.
- The model structure is a binomial distribution with a logit link.
Terms of the linear predictor
A continuous predictor enters \eta_i as a single term, or through a transformation such as \ln x_{ij} or a polynomial. A categorical predictor with k levels enters as k - 1 indicator variables, and the level with no indicator is the base level. An interaction x_{i1} x_{i2} lets the effect of one predictor depend on the value of another.
Changing which level of a categorical predictor is the base level changes the coefficients, but not the fitted values. The refitted model spans the same columns and reproduces the same group means.
A frequency model has main effects for territory and for vehicle age. The data show that newer vehicles have more claims in urban territories than in rural ones. How should the model structure change?
- The effect of vehicle age differs by territory, which is an interaction.
- Add a territory
\timesvehicle age term to the linear predictor.- Territory is categorical, so the interaction adds one coefficient for each non-base territory.
Comparing nested model structures
A model whose terms are a subset of another's is nested within it. The larger model always fits at least as well, so its deviance is lower than or equal to that of the smaller model. The lowest deviance is therefore not a reason to choose a model. A larger structure is kept only when its added terms improve the fit significantly, by an analysis of deviance, or when a penalized criterion favors it. The AIC of a model with k parameters and maximized log-likelihood l is
\text{AIC} = -2l + 2k
Model 1 has main effects for territory and vehicle age, with 6 parameters and log-likelihood
-2045. Model 2 adds their interaction, with 12 parameters and log-likelihood-2030.5. Which model structure does AIC prefer?
- For Model 1,
\text{AIC} = 4{,}090 + 12 = 4{,}102.- For Model 2,
\text{AIC} = 4{,}061 + 24 = 4{,}085.- The lower AIC is preferred, so AIC prefers Model 2, with the interaction.
Choosing the structure with the lowest deviance Adding any term lowers the deviance or leaves it unchanged, so the model with the most terms always has the lowest deviance. Compare nested structures with a test of the added terms, or with AIC or BIC, which charge for each parameter.
Practice questions
- Exam MAS-I Practice Question 92
- Exam MAS-I Practice Question 93
- Exam MAS-I Practice Question 94
- Exam MAS-I Practice Question 122
- Exam MAS-I Practice Question 137
- Exam MAS-I Practice Question 138
- CAS Exam MAS-II Fall 2019, Question 9
- CAS Exam MAS-II Fall 2019, Question 31
- CAS Exam MAS-II Spring 2019, Question 2
- CAS Exam MAS-II Spring 2019, Question 37