AI summary by TwinMind

Multiple Regression, Clearly Explained!!!

StatQuest with Josh Starmer

5m 25s

Introduction & Setup

  • Josh Stommer from UNC Chapel Hill Genetics Department presenting StatQuest
  • Topic: Multiple regression building on linear regression concepts
  • Prerequisite: Linear regression StatQuest recommended

Simple vs Multiple Regression Fundamentals

  • People overestimate complexity differences between simple and multiple regression
  • Simple regression: fitting line to data
  • Multiple regression: fitting plane or higher dimensional object to data
  • "Higher dimensional" = adding additional data variables to model
  • Example progression: body length by mouse weight → body length by mouse weight + tail length
  • Additional factors could include: food eaten amount, wheel running time

R-Squared Calculation

  • Identical process for simple and multiple regression
  • Formula: R² = (SS around fit) / (SS around mean)
  • Always uses sums of squares around body length (dependent variable)
  • Caveat: Multiple regression uses adjusted R-squared to compensate for additional parameters
  • Adjustment covered in previous linear regression StatQuest

P-Value and F-Statistic Calculation

  • Process nearly identical between simple and multiple regression
  • Uses same sums of squares: around fit and around mean
  • Key difference: P_fit parameter count
    • Simple regression: P_fit = 2 (two parameters to estimate)
    • Multiple regression example: P_fit = 3 (three parameters to estimate)
    • General rule: P_fit = number of parameters in equation
  • P_mean = 1 (always, only estimating mean body length)

Comparing Simple vs Multiple Regression

  • Key advantage: Compare models to determine if additional data worth collecting
  • Question: Is tail length data worth the effort?
  • Method: Compare simple regression (without tail length) to multiple regression (with tail length)
  • F-value calculation modification:
    • Replace "mean stuff" with "simple regression stuff"
    • Use SS around simple regression instead of SS around mean
    • P_simple = 2 (parameters in simple regression)
    • Still use SS and parameters from multiple regression
  • Decision criteria: If R² difference is large and p-value is small → adding tail length worthwhile

Conclusion & Next Steps

  • Additional StatQuest available showing R implementation
  • R tutorial covers output details and interpretation
  • Subscription reminder

TwinMind

Get summaries like this for your own meetings

TwinMind takes notes in the background during meetings, lectures, and calls, then writes the summary for you.

Free plan to get started

No bot joins your calls

Phone, desktop & Chrome apps

Your next meeting, summarized like this

TwinMind listens in the background and turns meetings, lectures, and calls into searchable notes you can chat with. Start free.

Available on phone, desktop & Chrome

Your next meeting, summarized like this

TwinMind listens in the background and turns meetings, lectures, and calls into searchable notes you can chat with. Start free.

Available on phone, desktop & Chrome

Your next meeting, summarized like this

TwinMind listens in the background and turns meetings, lectures, and calls into searchable notes you can chat with. Start free.

Available on phone, desktop & Chrome