Exam SRM · Basics of Statistical Learning · Free Lesson

Resampling and Cross-Validation

Free SOA Exam SRM (Statistics for Risk Modeling) lesson in Basics of Statistical Learning. 15 min read, ~2,183 words.

Training error always looks better than reality. Resampling is how you force the model to confess what it really knows.

Training error underestimates test error because the model has already seen those observations. You need a held-out estimate of how the fitted generalizes.

KEY: Resampling repeatedly draws samples from the training data, refits the model on each, and aggregates the test-error estimates.

Randomly split the data into a training set (commonly 70 to 80 percent) and a validation set (or test set). Fit on training, score on validation.

Randomly partition the data into k roughly equal folds. For each fold i, fit on the other k-1 folds and compute the test error on fold i. Average the k errors.

For classification, replace with the misclassification rate on fold i.

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

Common mistakes

Bottom line

Exam shortcut

If the prompt says "split the data once," it is the validation set approach; flag the high-variance, upward-bias drawbacks. If it says "k folds" with k between 5 and 10, expect a bias-variance balance question. If k = n or "leave one out," reach for the leverage formula when the underlying model is least-squares linear; otherwise count n refits.

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