Example 1 — Predicting weight from height
EasyProblem
For a sample, cm, kg, , , . Find the LSRL.
Solution
-
Two numeric variables with a linear trend — fit by least squares.
Name the structure before touching arithmetic — that is what makes the right method obvious.
-
Ask the recognition question: Am I fitting a single straight line to two-variable numeric data by minimizing squared vertical distances?
If the answer is yes, the concept applies; the cue, not a keyword, decides the method.
-
Compute slope , then intercept .
The rule is chosen only after the structure matches, so the steps mean something.
-
So ; a 1 cm increase in height predicts a 0.6 kg increase in weight.
Keep units, shape, or answer form tied to the story so the work does not become symbol pushing.
-
Check the answer against the original question.
It should fit the mental model — the line that misses the points by the least, squared. If it does not, revisit the recognition step before changing the arithmetic.
Answer
Takeaway: Get the slope from and the standard deviations, then force the line through .