Video summary
Fitting Models Is like Tetris: Crash Course Statistics #35
Main summary
Key takeaways
Summary
General Linear Models (GLMs), including regression and ANOVA, explain variation in an outcome using one or more predictors. The video compares choosing a model to fitting Tetris pieces: different kinds of data call for different model “shapes.”
ANCOVA: Combining Categorical and Continuous Predictors
- ANOVA tests how categorical predictors with two or more groups relate to a continuous outcome.
- Regression examines relationships involving continuous variables.
- Analysis of Covariance (ANCOVA) combines categorical predictors and continuous predictors, called covariates, in one model.
- Like other GLMs, ANCOVA accounts for the outcome’s total variation by dividing it among the predictors and unexplained error. Its results are commonly shown in an ANOVA table.
Anesthesia example: Researchers model the amount of anesthesia used for routine surgery based on patients’ hair color and weight. In the example, weight is a significant predictor, while hair color does not meet the strict significance cutoff of p < 0.05. A result close to 0.05 does not count as significant.
Why Include Covariates?
A useful covariate can explain variation that would otherwise be counted as error. This can reduce the error portion of the model and make it easier to detect an effect of interest.
- In the anesthesia example, weight explains about 35% of the variation. Including it reallocates some variation from error to weight.
- In the infant-formula example, age is included because infant weight is strongly related to age. Accounting for age reduces unexplained variation and helps reveal a significant effect of formula type.
- Researchers can include multiple covariates, but should not add them simply to make results significant; doing so may constitute p-hacking.
Repeated Measures ANOVA: Accounting for Repeated Observations
A Repeated Measures ANOVA (RMA) tests for differences across two or more conditions when the same experimental unit—such as a person, animal, or cell—is measured multiple times. It extends the matched-pairs t-test approach to more than two conditions.
- Repeated measurements from the same unit are identified as belonging together.
- The model allows each unit to have its own baseline, accounting for consistent individual differences.
- This can reduce error variation and make condition effects easier to detect.
Running example: 150 people run a mile while listening to slow-, medium-, and fast-tempo music on different days. The order of tempos is randomized to avoid always presenting them in the same sequence. A basic ANOVA that ignores individual baselines finds tempo’s effect nonsignificant in the example. When the model accounts for each person’s usual running speed, it finds a significant effect of music tempo on running time.
The video notes that repeated-measures models are sometimes called random-effect models and that their mathematics can be involved. Its focus is on interpreting their ANOVA-table output.
Speakers or Sources Featured
- Adriene Hill — presenter and narrator.
Rate this summary
Your feedback will help improve summaries.
Improve this summary
Reprocess with a stronger model when the summary feels incomplete or inaccurate.
Translate summary in another language
Ask questions to this video
Chat for follow-up questions, clarifications, and source-backed answers.