Questions Answers Topic 5
Questions Answers Topic 5
Questions Answers Topic 5
Question 1
xi 1 2 3 4 5
yi 3 7 5 11 14
Solution 2
a)
16
14
12
10
8 Series1
4
2
0
0 1 2 3 4 5 6
c) Mnany straight lines could be drawn to approximate the relationship between x and y;
in part d) we will determine the equation of a straight line that best represents the
relationship according to the least squares criterion.
d. Summation needed to compute the slope and y-intercept:
x y x x y i y = 26, x x = 10
2
i 15 i = 40, i i
b1
x x y y 26 26
i i
x x 2
i
10
b0 y b1 x 8 ( 2.6)(3) 0.2
yˆ 0.2 2.6 x
Question 2
xi 2 3 5 1 8
yi 25 25 20 30 16
Solution 2
a)
35
30
25
Series1
20 Series2
15 Series3
Series4
10
0
0 2 4 6 8 10
c) Mnany straight lines could be drawn to approximate the relationship between x and y;
in part d) we will determine the equation of a straight line that best represents the
relationship according to the least squares criterion.
d. Regression equation:
yˆ 30.33 1.88 x
e) 26.566
Question 3
xi 1 2 3 4 5
yi 3 7 5 11 14
Solution 3
a) ˆ 0 .2 2 .6 x
y and y 8
xi yi
yi yi y i yi y i 2 yi y yi y 2
SSR 67.6
b) r 2 0.845
SST 80
The least squares line provided a good fit: 84.5% of the variability in y has been
explained by the least squares line
c) r 0.845 0.9192
Question 4.
xi 1 2 3 4 5
yi 3 7 5 11 14
Solution 4
SSE 12.4
a) s 2 MSE 4.133
n2 3
b) s MSE 4.133 2.033
s 2.033
c) x i x 10
2 sb1
x i x
2
10
0.643
b1 1 2.6 0
d) t 4.04
sb1 0.643
t 0.025 = 3.182 (3 degrees of freedom)
SSR
f) MSR = 67.6
1
MSR 67.6
F 16.36
MSE 4.133
F0.05 = 10.13 (1 degree of freedom numerator and 3 denominator)
Because F = 16.36 > F0.05 = 10.13, we reject H 0 : 1 0 .
Question 5
Data from question 2 follow:
xi 2 3 5 1 8
yi 25 25 20 30 16
Solution 5
a) 2.11
b) 1.453
c) 0.262
d) Significant