Linear regression is the first part in a bunch of videos I’m going to do about General Linear Models.

I also made a companion StatQuest that shows how to do linear regression in R:

Here’s the code from the video if you want to try it out yourself:

https://github.com/StatQuest/linear_regression_demo/blob/master/linear_regression_demo.R

### Like this:

Like Loading...

[…] via StatQuest: Linear Regression (aka GLMs, part 1) […]

LikeLike