Spring 2026 • Northeastern University

Regression: Model Comparison

Compare how different feature engineering choices affect a linear regression model fitted to the classic Advertising dataset. Toggle options below and watch the coefficients and fit metrics update instantly.

Dataset from Chapter 3 of Introduction to Statistical Learning (James et al.)


Controls

Model Configuration

Model Summary

Residual Analysis

Coefficients


Interpreting the Results

How to read the residual plot

Try toggling the interaction term — notice how the residual pattern changes when TV × Radio synergy is captured by the model.

What do the coefficients mean?

Why normalize features?

Without normalization, coefficient magnitudes depend on feature scales. TV ranges from 0-300 while Radio ranges from 0-50, so raw TV coefficients appear smaller. Normalization puts all features on the same scale, making coefficients directly comparable.