Why bother to fit a straight line to a data set? I'll give you three good reasons :-) This is intended as a introduction to linear regression for beginners -- focusing on the why of linear regression, as well as the execution in R, rather than the technical details.
Data and code here: https://bookdown.org/jgscott/DSGI/basic_regression.htmlhttps://bookdown.org/jgscott/DSGI/basic_regression.html
New to R? New to stats? Start here! https://bookdown.org/jgscott/DSGI/getting-started-in-r.html
00:00 Introduction
00:33 A running example
03:11 Visualizing a regression model
05:05 What is linear regression good for?
05:37 Summarizing a trend
09:25 Predicting
11:40 Fitting in R
15:57 Making fair comparisons