Professional Documents
Culture Documents
Learning Objectives:
Slide 1 of 16
Scatter Diagrams
Scatter diagram
300
250
200
Sales (£000s) 50
150
0
100
0 5 10 15 20 25 30 35 Advertising (£00s)
Correlation
r = nΣxy - ΣxΣy
and n = 10
Slide 4 of 16
r = nΣxy - ΣxΣy
r = (10*2289) – (80*255)
[(10*(756) – 802][(10*7097) – 2552]
r = (22890 – 20400)
(7560 – 6400)(70970-65025)
r = 2490 = 2490
√6896200 2626.0617
Slide 5 of 16
Interpretation of r
500
400
300
r = +1
y
200
100
0
0 50 100 150 x
Slide 6 of 16
Interpretation of r
600
500
400
0
y
300
200 0 20 40 60 80 100 120 x
100 r approx. 0
Slide 7 of 16
Interpretation of r
200
150 0 20 40 60 80 100 120 x
100 r approx. -0.9
50
Slide 8 of 16
Regression
y = a + bx
a = Σy- bΣx
n n
Slide 9 of 16
b = 2.1465517
INTERCEPT:
a = Σy - bΣx = 255 - 2.1465517 * 80 n n 10
10
Slide 10 of 16
a = 8.328 b = 2.147
(note that 3 decimal places were chosen as the data
supplied were in thousands and hundreds)
y = 8.328 + 2.147x
or, if preferred,
Slide 11 of 16
Forecasts
Expenditure = £1800, so x = 18
Slide 12 of 16
Coefficient of Determination
The coefficient of determination (r2) is another
measure which may be used to assess the
appropriateness of a regression model. This is found
by squaring Pearson’s correlation coefficient and then
expressing as a percentage.
Slide 13 of 16
r = 1 - 6*∑d2
2
n(n - 1)
Slide 15 of 16
2
r = 1 - 6 * ∑d = 1 - (6*6.5)
2
n(n - 1) 5(25-1)
r = 1 - 391 = 1 - 0.325 = 0.675
120