MAS-II · Linear Mixed Models · Free Lesson

Interpret output from a linear mixed model and make appropriate choices when evaluating modeling options.

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

A workers-comp analyst fits losses by claimant within 40 employers. Same industry, same coverage, but employers clearly differ. A linear mixed model lets you keep one fixed-effect coefficient per covariate while letting each employer have its own random intercept.

Why LMM exists. Ordinary least squares assumes independent residuals. Grouped data (claimants within employers, policies within agents, repeated measures within insured) violates that assumption. You can ignore grouping (biased SEs), add a fixed dummy per group (eats degrees of freedom, no shrinkage), or treat group as random (efficient, shrinks group estimates toward the population mean).

y=Xβ+Zu+ε,u∼N(0,G),  ε∼N(0,R)y = X\beta + Zu + \varepsilon,\quad u\sim N(0,G),\;\varepsilon\sim N(0,R)

The marginal distribution is y∼N(Xβ, V)y\sim N(X\beta,\,V) with V=ZGZ⊤+RV = ZGZ^{\top} + R. The fixed effects β\beta describe how the average group responds to covariates. The random effects uu describe how each group deviates from that average.

A typical LMM printout has four blocks:

Fixed effects read like ordinary least squares (OLS): β^1=0.42\hat\beta_1 = 0.42 means a one-unit increase in x1x_1 lifts predicted yy by 0.42, holding other covariates and the group fixed.

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

Common mistakes

Bottom line

Exam shortcut

If the question asks for a variance ratio or "proportion of variation between groups," go straight to ρ=σu2/(σu2+σε2)\rho = \sigma_u^2/(\sigma_u^2+\sigma_\varepsilon^2); the answer is rarely more than two arithmetic steps. For any LRT on a random-effect variance, compute the naive χ2\chi^2 pp-value and then halve it.

The full lesson (about 2,905 words, 19 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.