Calculate the least squares regression line y = ax + b for the given data set.

Check the final answer first, then review the worked steps.

Answer

\(y = -1.3x + 135.8\)

Work

n=12, \sum x=201.7, \sum y=1255.4, \sum xy=19566.21, \sum x^2=3741.09, \sum y^2=155603.94. a = \frac{12(19566.21) - (201.7)(1255.4)}{12(3741.09) - (201.7)^2} \approx -1.34, b = \frac{1255.4 - (-1.34)(201.7)}{12} \approx 135.77.

Step-by-step solution

Using the provided data points, the least squares regression line $y = ax + b$ is calculated by finding the slope $a = \frac{n\sum xy - \sum x \sum y}{n\sum x^2 - (\sum x)^2}$ and intercept $b = \bar{y} - a\bar{x}$. For the given data, $a \approx -1.3$ and $b \approx 135.8$.