In the full lesson
- Slope via Least Squares (formula)
- Why Squared? (text)
- Conceptual Example (example)
Open the Regression & Correlation lessons or see what Premium includes.
Module 6 · Regression & Correlation · Topic 5
Least Squares. The least squares method finds the line that minimizes the sum of the squared residuals (SSE = Σ(yᵢ − ŷᵢ)²). This produces the best-fitting line in terms of vertical distances from data points.
This is the opening of a Premium lesson. The full lesson, with its 4 sections, reads in the interactive course; the module's first lesson is free.
Open the Regression & Correlation lessons or see what Premium includes.
yhat = a + bx - Line that minimizes the sum of squared residuals.r = sum((x_i-xbar)(y_i-ybar)) / sqrt(sum((x_i-xbar)^2)sum((y_i-ybar)^2)) - Measures direction and strength of a linear association.Go interactive
This module opens on its first lesson free; the rest of it unlocks with Premium. Every calculator and simulation below is free.
Keep reading