Regression II

Non-linear regression, splines, and GAMs

Published

September 18, 2026

Polynomials, step functions, regression splines, natural splines, local regression, and generalized additive models — relaxing the linearity assumption while keeping the regression framework and its interpretability.

📖 Assigned reading: ISLR ch. 7


📊 Slides

🧪 Lab

Live, in-browser R lab — runs entirely in your browser via webR, no local R install needed. Edit any code cell and re-run it; a “Download my code” button captures whatever you’ve written before you leave.

⭐ Extras

Optional supplementary material: