Problem 1: Consider the following dataset:
| x | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|---|
| y | 0.5 | 1.2 | 1.4 | 3.9 | 5.3 | 6.1 | 6.0 | 7.1 | 7.9 |
Sxx=
Syy=
Sxy=
r = Sxy/√(SxxSyy) =
Problem 2
Say z=12.3x-4.8, then
| z | -4.8 | 7.5 | 19.8 | 32.1 | 44.4 | 56.7 | 69.0 | 81.3 | 93.6 |
| y | 0.5 | 1.2 | 1.4 | 3.9 | 5.3 | 6.1 | 6.0 | 7.1 | 7.9 |
Problem 3 For the data in problem 1 find the least squares regression line y=b0+b1x
Problem 4 For the data in problem 1 find the least squares regression line x=b0+b1y
Problem 5 Draw the scatterplot of y vs x (with x on the x-axis). Add the least squares regression lines of y vs. x and x vs. y (Careful: the graph always has x on the x-axis!)