Practice Least Squares Regression Line in Math
Use these practice problems to test your method after reviewing the concept explanation and worked examples.
Quick Recap
The unique straight line that minimizes the sum of squared vertical distances (residuals) between the observed data points and the line.
You have a scatter plot with points scattered around a general trend. The LSRL is the line that gets as close as possible to all the points simultaneouslyβit's the 'best' straight line through the cloud. 'Best' means it minimizes the total squared prediction error.
Showing a random 20 of 50 problems.
Example 1
mediumA slope is computed as with and . Find .
Example 2
challengeA regression on temperature (, in C) gives . If temperature is re-expressed in tenths of a degree (), what is the new slope?
Example 3
mediumFor the LSRL passing through with slope , write the equation.
Example 4
hardA regression has slope . If is rescaled to , what is the new slope?
Example 5
mediumGiven , , , , , find the LSRL.
Example 6
mediumA line passes through with slope . Find its equation.
Example 7
easyIn , what is the y-intercept?
Example 8
hardThe LSRL for predicting weight (, kg) from height (, cm) is . Interpret the slope and intercept, predict weight for height=175 cm, and explain why extrapolating to height=50 cm is problematic.
Example 9
challengeGiven that the LSRL of on has slope and the LSRL of on has slope , show .
Example 10
mediumIn , is weight (lb) and is age in days for a dieting program. Interpret the intercept and say whether it is meaningful.
Example 11
mediumTwo data points lie exactly on : and . Find both predicted values.
Example 12
mediumWhat does it mean if for a regression?
Example 13
easyIn where is cost in dollars and is hours, interpret the slope.
Example 14
hardThe LSRL has the property of minimizing . Explain why minimizing squared residuals (rather than absolute residuals) is preferred, and name two consequences of this choice.
Example 15
mediumFind the least-squares regression line for: : . Use and .
Example 16
mediumA model predicts plant height (cm) from days . Why is predicting height at days unwise?
Example 17
mediumUsing , predict at .
Example 18
mediumCompute slope: , , .
Example 19
mediumWhy is predicting at an -value far outside the observed range dangerous? Give one example.
Example 20
mediumGiven five data points , compute and .