Recently Published
DocumentSimple Linear Regression
A visual walkthrough of simple linear regression using R's mtcars data:
The least-squares criterion and its closed-form solution, fitting with lm(),
residual diagnostics, an interactive 3D view of the error surface being
minimized, inference on the slope, and prediction intervals. Built in
R Markdown with ggplot2 and plotly.