Exam SRM · Decision Trees · Free Lesson

Decision Trees vs Linear Models

Free SOA Exam SRM (Statistics for Risk Modeling) lesson in Decision Trees. 14 min read, ~2,131 words.

Two candidates fit the same insurance dataset. One draws a straight hyperplane through the predictor space; the other carves it into rectangles. Knowing when each wins is a recurring SRM exam beat.

A linear regression model writes

A decision tree writes

The linear model fits one global surface. The tree fits a piecewise-constant surface across M disjoint rectangles (leaves), each with constant prediction equal to the leaf-mean for regression trees or the majority class for classification trees.

KEY: Linear models predict with a formula; trees predict with a lookup. Same data, two completely different representations of .

If the true relationship between X and Y is approximately linear and additive, ordinary least squares (OLS) estimates with low variance and the model generalizes well even on modest samples. A single tree must approximate that smooth surface with a staircase of rectangles, which wastes splits and adds variance.

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

Common mistakes

Bottom line

Exam shortcut

If the vignette mentions extrapolation, smooth dose-response, or required confidence intervals, pick a linear or generalized linear model. If the vignette stresses sharp thresholds, many categorical predictors, missing values, or "non-statistician audience," pick a tree. When the prompt asks for the BEST of both, the answer is almost always a tree-based ensemble (random forest or boosting) with a linear / GLM baseline reported alongside.

The full lesson (about 2,131 words, 14 min read) adds 2 worked examples, all 6 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.