CrashCourse · @crashcourse

Fitting Models Is like Tetris: Crash Course Statistics #35

Uploaded June 8, 2019 · Length 11:09

Fitting Models Is like Tetris: Crash Course Statistics #35

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.

  1. 0:03

    Hi, I’m Adriene Hill, and welcome back to Crash Course Statistics.

  2. 0:06

    General Linear Models -- like Regression and ANOVA -- let us create a statistical analysis

  3. 0:11

    of data for our specific needs.

  4. 0:13

    Fitting the right model to our experiments is kind of like Tetris…

  5. 0:16

    GLMS are in this analogy tetriminos.

  6. 0:19

    Sometimes you need the skinny-long bric, called the straight sometimes you need the square

  7. 0:23

    sometimes you need the left snake.

  8. 0:25

    In stats, its similar sometimes you need regression sometimes ANOVA but there’s also ANCOVA

  9. 0:30

    ---The Analysis of Covariance.

  10. 0:32

    And the Repeated Measures ANOVA.

  11. 0:34

    Today we’ll look at the shape of those models.

  12. 0:37

    And how they might help us level-up!

  13. 0:38

    INTRO

  14. 0:48

    As a quick review, in a few of our past episodes we covered the fact that ANOVAs and regressions

  15. 0:53

    are both General Linear Models.

  16. 0:55

    ANOVAs allow us to analyze the effect of variables with two or more groups on continuous variables.

  17. 1:01

    And regressions allow us to analyze two continuous variables.

  18. 1:05

    General Linear Models explain the data we observe by building a model to predict that

  19. 1:10

    data, and then keeping track of how close the prediction is.

  20. 1:13

    And both regressions and ANOVAs use a similar model setup.

  21. 1:17

    It looks just like the equation for a line that you may have seen if you’ve taken Algebra.

  22. 1:21

    The fact that they’re set up the exact same way is helpful for two reasons.

  23. 1:25

    One, it means we only have to remember one general mode, and two it allows us to combine

  24. 1:30

    these two powerful models to give us the even more flexible ANCOVA.

  25. 1:34

    For example, we might want to look at the amount of general anesthesia needed to put

  26. 1:38

    a patient under.

  27. 1:39

    There have been studies that suggest that redheads require more anesthesia than non-redheads

  28. 1:44

    because the gene mutation that causes red hair, also affects pain receptors.

  29. 1:48

    So we have two groups: redheads and non-redheads.

  30. 1:51

    Those are categorical variables.

  31. 1:53

    But, we also think that weight will have a meaningful impact on the amount of this specific

  32. 1:57

    anesthetic that’s needed for surgery.

  33. 1:59

    Weight is a continuous variable.