Least-squares regression

Least-squares regression

Use least-squares regression to fit a straight line to
x
0
2
4
6
9
11
12
15
17
19
y
5
6
7
6
9
8
7
10
12
12
Along with the slope and intercept, compute the standard error of the estimate and the correlation coefficient. Plot the data and the regression line. Then repeat the problem, but regress x versus y— that is, switch the variables. Interpret your results.