Actuarial Notes

Random Effects

Study guide: Exam MAS-II

Random effects are the cluster-level departures from the population-average fit in a linear mixed model. Unlike fixed effects they are treated as draws from a distribution, so a cluster with thin data is pulled toward the overall mean rather than fitted on its own. In the model \mathbf{Y}_i = \mathbf{X}_i\boldsymbol{\beta} + \mathbf{Z}_i\mathbf{u}_i + \boldsymbol{\varepsilon}_i, the random effects of cluster i are

\mathbf{u}_i \sim N(\mathbf{0}, \mathbf{D})

  • \mathbf{Z}_i is the random-effects design matrix, mapping each observation of cluster i to its random effects.
  • \mathbf{D} holds the variance components of the random effects.
  • The residuals \boldsymbol{\varepsilon}_i \sim N(\mathbf{0}, \mathbf{R}_i) are independent of \mathbf{u}_i.

A factor is a random effect when its observed levels are a sample from a larger population of levels, and the interest is in that population. A subject or cluster identifier with repeated observations per subject is typically a random effect. The normality assumption applies to the random effects and the residuals, not to the response itself.

The random effects are assumed to have mean zero. The population average lives entirely in the fixed part, so a random effect adds no intercept of its own. A random effect costs one variance parameter, not one coefficient per level: 68 territories add a single \sigma_u^2 to the model.

A claims model has a random intercept for each of 68 territories. What does the model estimate for territory, and what does it predict?

  • It estimates one variance component, \sigma_u^2, the variance of territory effects.
  • It predicts each territory's effect u_i with the BLUP, a value shrunk toward zero.

Correlation induced by random effects

Random effects induce correlation between observations of the same cluster, because those observations share \mathbf{u}_i. This is what lets a mixed model handle repeated measures on one policyholder.

Shrinkage of random effects

Partial pooling gives each cluster an estimate that borrows strength from the other clusters. Complete pooling would ignore the clusters, and no pooling would fit each cluster on its own. For a random intercept, the predicted effect of cluster i is its average residual shrunk by the weight

\frac{n_i\sigma_u^2}{n_i\sigma_u^2 + \sigma^2}

  • n_i is the number of observations of cluster i.
  • \sigma_u^2 is the variance between clusters and \sigma^2 the residual variance within them.

The weight is a credibility factor. Sparsely sampled clusters are shrunk more toward the population mean, so they are not overfit. A smaller \sigma_u^2 shrinks every cluster effect further toward zero.

A random intercept model of loss ratio by territory has \sigma_u^2 = 0.010 and \sigma^2 = 0.090. Territory A has 9 observations averaging 0.15 above the mean, and territory B has 1 observation 0.15 above. What are their predicted effects?

  • Territory A's weight is 9(0.010)/(9(0.010) + 0.090) = 0.50, so its predicted effect is 0.50(0.15) = 0.075.
  • Territory B's weight is 0.010/(0.010 + 0.090) = 0.10, so its predicted effect is 0.10(0.15) = 0.015.
  • The same raw deviation gives very different predictions. This is Bühlmann credibility in another notation.

In a Bayesian hierarchical model the random effects get a normal prior with mean zero, and its variance plays the part of \sigma_u^2. The prior variances of the global intercept and slope govern only those parameters, not the cluster effects.

Practice questions

Actuarial Notes