CrashCourse · @crashcourse
Fitting Models Is like Tetris: Crash Course Statistics #35
Uploaded June 8, 2019 · Length 11:09
Summary
Learn how General Linear Models (GLMs) like ANCOVA and Repeated Measures ANOVA work, using Tetris as an analogy to fit data with categorical and continuous variables.
- general linear models
- ancova explained
- regression vs anova
- statistical covariates
- repeated measures anova
- fitting statistical models
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:03
Hi, I’m Adriene Hill, and welcome back to Crash Course Statistics.
- 0:06
General Linear Models -- like Regression and ANOVA -- let us create a statistical analysis
- 0:11
of data for our specific needs.
- 0:13
Fitting the right model to our experiments is kind of like Tetris…
- 0:16
GLMS are in this analogy tetriminos.
- 0:19
Sometimes you need the skinny-long bric, called the straight sometimes you need the square
- 0:23
sometimes you need the left snake.
- 0:25
In stats, its similar sometimes you need regression sometimes ANOVA but there’s also ANCOVA
- 0:30
---The Analysis of Covariance.
- 0:32
And the Repeated Measures ANOVA.
- 0:34
Today we’ll look at the shape of those models.
- 0:37
And how they might help us level-up!
- 0:38
INTRO
- 0:48
As a quick review, in a few of our past episodes we covered the fact that ANOVAs and regressions
- 0:53
are both General Linear Models.
- 0:55
ANOVAs allow us to analyze the effect of variables with two or more groups on continuous variables.
- 1:01
And regressions allow us to analyze two continuous variables.
- 1:05
General Linear Models explain the data we observe by building a model to predict that
- 1:10
data, and then keeping track of how close the prediction is.
- 1:13
And both regressions and ANOVAs use a similar model setup.
- 1:17
It looks just like the equation for a line that you may have seen if you’ve taken Algebra.
- 1:21
The fact that they’re set up the exact same way is helpful for two reasons.
- 1:25
One, it means we only have to remember one general mode, and two it allows us to combine
- 1:30
these two powerful models to give us the even more flexible ANCOVA.
- 1:34
For example, we might want to look at the amount of general anesthesia needed to put
- 1:38
a patient under.
- 1:39
There have been studies that suggest that redheads require more anesthesia than non-redheads
- 1:44
because the gene mutation that causes red hair, also affects pain receptors.
- 1:48
So we have two groups: redheads and non-redheads.
- 1:51
Those are categorical variables.
- 1:53
But, we also think that weight will have a meaningful impact on the amount of this specific
- 1:57
anesthetic that’s needed for surgery.
- 1:59
Weight is a continuous variable.


