Actuarial Notes

Response Variable

Study guides: Exam MAS-I, Exam ACIA-CAPSTONE

A Response Variable is the variable Y that a model explains or predicts from the predictor variables. It is also called the dependent variable or the target. The observed values of the response, y_1, \ldots, y_n, are data, as are the values of the predictors. The parameters of the model are the coefficients and the dispersion parameter.

In a Generalized Linear Model, the values the response can take decide its distribution, and the link function keeps the fitted mean in that range:

Response Values Distribution Usual link
A continuous amount with constant variance All real numbers, symmetric Normal Identity
A claim count 0, 1, 2, \ldots Poisson Log
Yes or no 0 or 1 Binomial Logit
Claim severity Positive, right-skewed Gamma or inverse Gaussian Log
Pure premium Zero, or a positive amount Tweedie, 1 < p < 2 Log

A normal response is continuous and symmetric over all real numbers, so it suits neither a binary response nor an amount with a mass at zero and a long right tail. A Poisson response takes only whole numbers, so it suits claim counts rather than amounts. The gamma takes only positive values, so it cannot model a pure premium that is often zero.

Which distribution and link should model each of these responses: the number of claims per policy, the average severity per claim, and the loss cost per car-year, most of which are zero?

  • The number of claims is a non-negative whole number, so it has a Poisson distribution with a log link.
  • The average severity is positive and right-skewed, so it has a gamma distribution with a log link.
  • The loss cost has a mass at zero and a continuous positive part, so it has a Tweedie distribution with 1 < p < 2 and a log link.
  • The log link keeps each fitted mean positive and makes the effects of the predictors multiplicative.

A binary response

A binary response Y is 1 if an event occurs and 0 if it does not, and its mean is the probability \pi that the event occurs. With the logit link the model is logistic regression, and the probability is

\pi = \frac{1}{1 + e^{-\eta}}

  • \eta is the linear predictor.

A linear model with the identity link can give fitted values below 0 or above 1, which cannot be probabilities. A coefficient \beta_j multiplies the odds \pi/(1 - \pi) by e^{\beta_j}, but it does not multiply the probability by e^{\beta_j}.

A logistic model for whether a claim is referred for investigation has \hat = -1.5 + 0.8x, where x is 1 if an attorney is involved and 0 if not. What are the two referral probabilities, the odds ratio and the ratio of the probabilities?

  • Without an attorney, \hat{\eta} = -1.5 and the probability is \frac{1}{1 + e^{1.5}} = 0.1824.
  • With an attorney, \hat{\eta} = -0.7 and the probability is \frac{1}{1 + e^{0.7}} = 0.3318.
  • The odds ratio is e^{0.8} = 2.226.
  • The ratio of the probabilities is 0.3318 / 0.1824 = 1.819, smaller than the odds ratio.

Modelling the logarithm of the response

A GLM with a log link models the logarithm of the mean, \ln E[Y]. A normal linear model fitted to \ln Y models the mean of the logarithm, E[\ln Y], which is a different quantity. For a positive response that is not constant,

E[\ln Y] < \ln E[Y]

Exponentiating the fitted values of a model for \ln Y therefore gives the geometric mean, or the median, of Y rather than its mean, and it understates the mean of a right-skewed response.

A claim is 100 or 900 with equal probability. What are \ln E[Y] and E[\ln Y], and what does exponentiating E[\ln Y] give?

  • The mean is E[Y] = 500, so \ln E[Y] = 6.2146.
  • The mean of the logarithm is E[\ln Y] = \frac{\ln 100 + \ln 900}{2} = 5.7038.
  • Exponentiating gives e^{5.7038} = 300, the geometric mean, which is 200 below the mean of 500.

Prior weights

A prior weight w_i divides the variance of the response of observation i. The weight changes how precisely each observation is known, not its mean, so a weight cannot remove an effect, such as a trend, from the mean. A response that is the average severity of several claims takes the number of claims as its weight.

Practice questions

Actuarial Notes