Skip to content
Kudos AI

Moving Beyond Linearity

Keep least squares and change what you regress on: fixed basis functions buy curvature, constraints buy smoothness, and a penalty buys a curve that chooses its own flexibility.

Intermediate340 XP~1 h90% to advance

Sign in to take quizzes, earn XP, and unlock stages as you reach 90% mastery.

  1. Basis Functions and Piecewise Polynomials

    25 min · 100 XP

    One idea covers polynomial and step-function regression, and extends to anything else you can write down: transform the predictor, then fit a linear model in the transformed columns.

    Open lesson →

    Sign in to take the 3-question quiz.

  2. Regression Splines and the Truncated Power Basis

    30 min · 120 XP

    One extra column per knot turns a constrained fitting problem back into plain least squares, and a boundary constraint fixes the tails that ruin polynomials.

    Open lesson →

    Sign in to take the 3-question quiz.

  3. Smoothing Splines, Local Regression and Additive Models

    30 min · 120 XP

    Stop choosing knots and penalise roughness instead, fit a separate weighted regression at every point, and carry the whole idea into many predictors at once.

    Open lesson →

    Sign in to take the 3-question quiz.

Complete all modules → earn the Moving Beyond Linearity badge