Quant Memo
Statistics/●●●●●

Deriving the least-squares line by hand

You want to fit a straight line y=a+bxy = a + bx to data (xi,yi)(x_i, y_i) by minimizing the sum of squared vertical residuals.

Derive the formulas for the intercept aa and slope bb from scratch, and note what they reveal.

Your answer

This one is open-ended. Work it through, then check your reasoning against the full solution.

More Statistics questions