Study
Probability and Statistics · Simple linear regression
Fitting y = a + bx by least squares, reading slope and intercept, R², residuals, and the bridge to machine learning.
- Least squares picks the line that minimises the sum of squared residuals.
- R² is the share of the variance in y that the line explains.