Uploaded November 2022 | Updated November 2026, 11 hours ago
This video, which walks you through a simple regression in R, is a companion to the StatQuest on Linear Regression youtu.be/nk2CQITm_eo
If you want to just copy and paste the R code, you can get it from the StatQuest GitHub site: github.com/StatQuest/linear_regression_demo/blob/master/linear_regression_demo.R
For a complete index of all the StatQuest videos, check out:
statquest.org/video-index
If you'd like to support StatQuest, please consider...
Patreon: patreon.com/statquest
...or...
YouTube Membership: youtube.com/channel/UCtYLUTtgS3k1Fg4y5tAhLbw/join
...buying one of my books, a study guide, a t-shirt or hoodie, or a song from the StatQuest store...
statquest.org/statquest-store
...or just donating to StatQuest!
paypal.me/statquest
Lastly, if you want to keep up with me as I research and create new StatQuests, follow me on twitter:
twitter.com/joshuastarmer
#StatQuest
This video, which walks you through a simple regression in R, is a companion to the StatQuest on Linear Regression youtu.be/nk2CQITm_eo
If you want to just copy and paste the R code, you can get it from the StatQuest GitHub site: github.com/StatQuest/linear_regression_demo/blob/master/linear_regression_demo.R
For a complete index of all the StatQuest videos, check out:
statquest.org/video-index
If you'd like to support StatQuest, please consider...
Patreon: patreon.com/statquest
...or...
YouTube Membership: youtube.com/channel/UCtYLUTtgS3k1Fg4y5tAhLbw/join
...buying one of my books, a study guide, a t-shirt or hoodie, or a song from the StatQuest store...
statquest.org/statquest-store
...or just donating to StatQuest!
paypal.me/statquest
Lastly, if you want to keep up with me as I research and create new StatQuests, follow me on twitter:
twitter.com/joshuastarmer
#StatQuest







