Topics Covered

Adding Covariates

Add nuisance variables (like sex or species) to your model to isolate the primary signal in the penguins dataset.

Residual Analysis

Extract residuals from a linear model using resid(), check for patterns, and use them as "cleaned" variables.

Confound Control

Learn how controlling for underlying confounding factors changes the significance or direction of an effect.

Key Concepts

Homework

Resources