MATH 170 · Regression · Q6–Q7

Guess the line, then beat it least squares

You are the AI. Six students told you how they slept and how they scored. Draw your best line by eye — then find out how close your eye got to the line a computer would search out. Then try a whole year of ice-cream sales, where picking the shape of the model matters as much as fitting it.

worksheet order: estimate by eye first, reveal after (that's the Desmos step)