Loading
A line of regression is the straight line that best predicts one variable from the other. Use y on x to estimate y for a given x, and x on y to estimate x for a given y.
Heights x = 150, 152, 155, 157, 160, 163 cm and weights y = 52, 55, 56, 59, 61, 64 kg. Find both regression lines and estimate y when x = 158.
The calculator below opens on this example.
Using the x-on-y line to predict y.
Dividing by the wrong sum of squares.
Coefficients with different signs.
Predicting far outside the data.
Add this calculator to a new note, next to your own working. It stays live: change the numbers there any time.