Compute the least-squares regression line for predicting the diastolic pressure (y)...

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

Answer

\(\hat{y} = 0.3754x + 31.4637\)

Work

n=10, \sum x=1181, \sum y=758, \sum x^2=140353, \sum xy=89849
b = \frac{10(89849) - (1181)(758)}{10(140353) - (1181)^2} \approx 0.3754
a = \bar{y} - b\bar{x} = 75.8 - 0.3754(118.1) \approx 31.4637

Step-by-step solution

  1. List the data pairs $(x, y)$ from the table: $(113, 77), (123, 77), (119, 69), (118, 88), (130, 76), (116, 70), (133, 91), (112, 75), (107, 71), (110, 74)$.
  2. Calculate the sums: $\sum x = 1181$, $\sum y = 758$, $\sum x^2 = 140353$, $\sum xy = 89849$.
  3. Use the formulas for slope $b = \frac{n\sum xy - (\sum x)(\sum y)}{n\sum x^2 - (\sum x)^2}$ and intercept $a = \bar{y} - b\bar{x}$.
  4. Compute $b = \frac{10(89849) - (1181)(758)}{10(140353) - (1181)^2} = \frac{898490 - 895198}{1403530 - 1394761} = \frac{3292}{8769} \approx 0.375413$.
  5. Compute $a = \frac{758}{10} - 0.375413(\frac{1181}{10}) = 75.8 - 44.336275 = 31.463725$.
  6. Write the final equation $\hat{y} = 0.3754x + 31.4637$.