Chapter 2 of 5
Measuring the Errors
How do we know if a line is good or bad?
The gaps between each dot and the line — those are errors (residuals).
Some positive, some negative. They cancel out. Not useful.
Sum of errors = +155,462
Square each error. Now they're all positive — and big errors get punished more.
Drag the line. Watch the total squared error change. Can you minimize it?
Your SSE 0
Best possible: 11,622,569,746