Exam SRM · Linear Models · Free Lesson

OLS vs GLM: Model Assumptions

Free SOA Exam SRM (Statistics for Risk Modeling) lesson in Linear Models. 32 min read, ~4,789 words.

An insurer fits a straight-line model to claim counts and gets negative predictions. The fix is not a better straight line; it is recognizing that OLS and GLMs rest on different assumption sets, and counts belong to the GLM world.

Ordinary least squares fits the model

Yi=β0+β1Xi1+⋯+βpXip+εi,εi∼iidN(0,σ2)Y_i = \beta_0 + \beta_1 X_{i1} + \dots + \beta_p X_{ip} + \varepsilon_i, \quad \varepsilon_i \stackrel{iid}{\sim} N(0, \sigma^2)

That single equation packs five assumptions, traditionally labeled with the acronym LINE-M: Linearity of the mean, Independence of errors, Normality of errors, Equal variance (homoscedasticity), and no perfect Multicollinearity among predictors.

KEY: OLS does not assume the predictors are normal. It assumes the errors are normal. The X columns can be skewed, binary, or categorical.

Estimation in OLS. The coefficient vector minimizes the residual sum of squares,

β^=(XTX)−1XTY\hat{\beta} = (X^{T}X)^{-1} X^{T} Y

Under the LINE-M assumptions, β^\hat{\beta} is the Best Linear Unbiased Estimator (Gauss-Markov) and, with normality added, the maximum likelihood estimator as well.

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

Common mistakes

Bottom line

Exam shortcut

If the response is a count or a 0/1 indicator, OLS is wrong before you read the rest of the prompt; pick the matching GLM (Poisson or binomial). If a question asks "what does a GLM relax compared to OLS?" the three-word answer is distribution, variance, link.

The full lesson (about 4,789 words, 32 min read) adds 6 worked examples, all 9 common mistakes, a self-check, free in the app.

Learning objectives

Browse all free Exam SRM lessons or jump into free Exam SRM practice questions.