In: Statistics and Probability
Using the following data.
X Y
3 6
6 10
9 15
12 24
15 21
18 20
a. Create a scatterplot
b. Find the least -squares line
c. Plot the line on the diagram
d. Predict:
Y if X is 10
Y if X is 17
a) Scatter plot:
b) Least Square Line:
From the given data
S.No. | X | Y | X^2 | Y^2 | XY |
1 | 3 | 6 | 9 | 36 | 18 |
2 | 6 | 10 | 36 | 100 | 60 |
3 | 9 | 15 | 81 | 225 | 135 |
4 | 12 | 24 | 144 | 576 | 288 |
5 | 15 | 21 | 225 | 441 | 315 |
6 | 18 | 20 | 324 | 400 | 360 |
Total: | 63 | 96 | 819 | 1778 | 1176 |
The regression equation is Y = 1.0667X + 4.8
c) Given X = 10, we find Y value
d) Given X = 17, we find Y value