Linear Models in R - Part 1

R
RStudio
Linear models
Keeping the examples aligned with changes in R since 2016.
Author

Mauricio “Pachá” Vargas S.

Published

July 13, 2023

A step-by-step explanation of how to fit a linear model. Here we cover OLS (Ordinary Least Squares) and work with readily available R datasets to explore the relationship between vehicles’ weight and fuel efficiency.

You can read more about the topics covered in Linear Models with R (https://julianfaraway.github.io/faraway/LMR/).

Code: https://github.com/pachadotdev/youtube-codes/tree/main/2023-07-13-linear-models-part-1

If you like this video and want to keep learning, I organize regular 1-hour workshops and 1:1 tutoring https://www.buymeacoffee.com/pacha/