Practical Exercise 8 - Solution
Practical Exercise 8 - Solution
Practical Exercise 8 - Solution
The data below indicates the inflation rate and prime lending rate has been given for the last 7 years.
(a) Plot a scatter diagram for the given data and comment on the suitability for simple
regression analysis.
The data show a clear and nearly linear trend. Linear regression analysis seems reasonable.
(b) Calculate the correlation coefficient given:
Σx =386.79; Σy2= 444.94 and Σxy =410.14
2
x y 49.5 * 54.6
xy n
410.14
7
r
x2
( x) 2
. y 2
( y) 2
(386.79)
49.5
2
(444.94)
54.6
2
n n 7 7
410.14 386.1 24.04
0.908
(386.79)
49.5 2
(444.94)
54.6 2
36.75 19.06
7 7
There is a strong positive relationship between inflation rate and prime lending rate, as inflation increases so
does prime lending rate.
Page 1
Practical Exercise
(c) Calculate the coefficient of determination and interpret your answer in the context of the question.
r2 = 0.825;
So 82.5% of the variation in prime lending rate can be explained by the inflation rate. 17.5% is left
unexplained.
(d) Find the equation of the least-squares regression line, assuming that prime lending rate is the dependent
variable and inflation rate is the independent variable.Add the line to your scatter plot.
Y =a +bX
(2 marks)
(e) What is the prime lending rate if the inflation is rate is 13.5%?
Prime lending rate = 3.18 + 0.65(13.5) = 11.96%
Page 2
Practical Exercise
1. Two managers are asked to rank a group of employees in order of potential fro eventually becoming
top managers. The rankings are as follows:
Employees A B C D E F G H I J
Manger I Ranking 10 2 1 4 3 6 5 8 7 9
Manager II Ranking 9 4 2 3 1 5 6 8 7 10
R = 1 – 0.085 = 0.915
Thus we find that there is a high degree of positive correlation in the ranks assigned by the two managers.
2. Calculate the rank correlation coefficient for the following data of marks of 2 tests given to candidates
for a clerical job.
Preliminary 92 89 87 86 83 77 71 63 53 50
Test
Final Test 86 83 91 77 68 85 52 82 37 57
Page 3