Linear Regression (y = a + bx)

Statistics

Let's Do Math!

Intro: We fit $\hat{y}=a+bx$, report slope/intercept, and optionally predict $\hat{y}(x_0)$.

Worked example

FAQs

Require equal spacing?

No—least squares works for any real x-values (non-constant).

Why choose MathGPT?

How this calculator works

Related