Least squares

Sign up free to unlock this topic

Kindergarten is free, and guests can try one sample topic in every other grade. A free parent or teacher account opens every topic from Kindergarten to Grade 12, college and university, and saves progress. No credit card.

Try the free sample: The ideal gas law · Have a class or homeroom code? Join here

Key idea: Least squares

Least squares finds the line that makes the sum of squared vertical errors as small as possible. Slope m = Σ(x − x̄)(y − ȳ) ÷ Σ(x − x̄)², and the line passes through (x̄, ȳ).

Key words

Slope
Σ(x − x̄)(y − ȳ) ÷ Σ(x − x̄)².
Intercept
b = ȳ − m x̄.

🔎 What to look for: Find the means first; every other number builds on them.

Zero2Hero — Zéro2Héros