Exam PA · Generalized Linear Models · Free Lesson

Select appropriate hyperparameters for regularized regression.

Free SOA Exam PA (Predictive Analytics) lesson in Generalized Linear Models. 15 min read, ~2,243 words.

A property model with 200 levels of building type and three square-footage columns that nearly duplicate each other will overfit and produce unstable coefficients. Regularization is the tool that tames both problems, and the exam tests whether you can tune it.

Why penalize at all. Ordinary least squares minimizes squared error and nothing else. With many predictors, many-level categoricals, or correlated columns, ordinary least squares (OLS) chases noise and coefficient estimates swing wildly. Regularization adds a penalty term that grows as coefficients grow. The model must now balance fitting the data against keeping coefficients small.

KEY: The penalty deliberately introduces bias. You accept slightly biased coefficients in exchange for far lower variance, which usually lowers test-set error. This is the bias-variance trade-off made tunable.

Regularization is also the natural cure for multicollinearity. When predictors are highly correlated, OLS cannot separate their effects, so standard errors explode and signs flip. The variance-inflation factor measures this.

VIFj=11−Rj2\text{VIF}_j = \frac{1}{1 - R_j^2}

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

Common mistakes

Bottom line

Exam shortcut

Map the letters fast: L1 is lasso and it zeros coefficients (one absolute value has a corner at zero); L2 is ridge and it only shrinks. When a task asks about lambda extremes, always write both ends: lambda = 0 is OLS, huge lambda is intercept-only. For any "recommend a method for interpretability" prompt, pick backward selection, lasso, or elastic net (never ridge) and justify by reduced coefficient count.

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

Learning objectives

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