MAS-II · Linear Mixed Models · Free Lesson

Understand the assumptions behind the linear mixed model design.

Free CAS MAS-II (Modern Actuarial Statistics II) lesson in Linear Mixed Models. 20 min read, ~2,998 words.

A reinsurer fits a random-intercept model for loss ratios across 30 cedents observed over 5 years. The residual plot fans out and the random-intercept variance sits at the restricted maximum likelihood (REML) boundary of zero. Which assumptions just broke?

A linear mixed model writes the response as a fixed part plus a random part plus noise.

y=Xβ+Zu+εy = X\beta + Zu + \varepsilon

XX is n×pn \times p, ZZ is n×qn \times q, β\beta is the pp-vector of population parameters, uu is the qq-vector of cluster-level deviations, and ε\varepsilon is the nn-vector of within-cluster noise.

Two Gaussian assumptions carry the entire model.

u∼N(0,G),ε∼N(0,R)u \sim N(0, G), \quad \varepsilon \sim N(0, R)

Both have mean zero. The fixed intercept inside XβX\beta absorbs the population level; random effects encode deviations from that level. A nonzero estimated mean for uu signals a coding error.

The implied marginal distribution of yy is:

y∼N ⁣(Xβ,  ZGZ⊤+R)y \sim N\!\big(X\beta,\;ZGZ^{\top} + R\big)

KEY: The marginal covariance V=ZGZ⊤+RV = ZGZ^{\top} + R is what REML and maximum likelihood (ML) actually fit. Different (G,R)(G, R) pairs can yield the same VV, which is why some random-effect structures are unidentifiable.

Read the full lesson, free →
Worked examples and practice. Free with a free account, no card.

Common mistakes

Bottom line

Exam shortcut

When the prompt asks for "the assumptions," always include zero mean and Gaussian for both uu and ε\varepsilon. Most candidates remember one; full credit requires both. When a residual-vs-fitted plot funnels, name homoscedasticity of RR as the violation, not the random-effect distribution. When the random-effect variance estimate hits the zero boundary, suspect fixed-part mis-specification or residual heteroscedasticity before concluding "no clustering."

The full lesson (about 2,998 words, 20 min read) adds 8 worked examples, all 6 common mistakes, a self-check, free in the app.

Learning objectives

Browse all free MAS-II lessons or jump into free MAS-II practice questions.