Simple linear regression is a basic but very important statistical tool used to describe, explain, and predict how one numeric variable changes with respect to another.
It comes from the work of Carl Friedrich Gauss and Adrien-Marie Legendre, who developed the method of least squares in the early 1800s. Today, it is widely used in:
Data science and machine learning
Business analytics
Scientific and engineering applications
In this presentation, we will:
Define the simple linear regression model
See common use cases in data science
Fit a model in RStudio using the built–in mtcars data set
Visualize the results with ggplot2 and plotly