Write a linear regression equation for the following data: (2,20), (6,44), (7,42),...
Check the final answer first, then review the worked steps.
Check the final answer first, then review the worked steps.
n=5, \sum x=40, \sum y=251, \sum x^2=406, \sum xy=2367. m = \frac{n\sum xy - \sum x \sum y}{n\sum x^2 - (\sum x)^2} = \frac{5(2367) - 40(251)}{5(406) - 1600} = \frac{1835}{355} \approx 5.163. b = \frac{\sum y - m\sum x}{n} = \frac{251 - 5.163(40)}{5} \approx 11.233.
Using the least squares method for the given data points (2, 20), (6, 44), (7, 42), (11, 59), and (14, 86), the slope $m$ and y-intercept $b$ are calculated as $m \approx 5.163$ and $b \approx 11.233$.