DMM-I
Session-11th
CORRELATION
knowing the causes provides understanding knowing causes empowers us to intervene These two tend to go together: Why do more calls produce better sales? learning the reason is more calls provides better understanding and a procedure for making better sales
The correlation of frequent smoking with having cancer in 2 to 3 years time allows you to predict that if you engage in frequent smoking , you are more likely to have a cancer 2 to 3 years later. Knowing that frequent smoking causes (increases the likelihood of) having cancer in 2 to 3 years time allows you to take action to have or not have a cancer.
8/18/2012
Correlation
Causation means cause
& effect relation.
Correlation
8/18/2012
More examples
Positive relationships water consumption and Stud y time and grades.
temperature.
Multiple
Total
8/18/2012
Correlation
LINEAR NON LINEAR
8/18/2012
Scatter Diagram is
a graph of observed plotted points where each points represents the values of X & Y as a coordinate. It portrays the relationship between these two variables graphically.
A linear relationship
Height of A
Height of B
Height
Degree of correlation
Positive relationship
r = +.80
Moderate
Shoe Size
Positive Correlation
r = + 0.4
Weight
Height
Weight
8/18/2012
Degree of correlation
Degree of correlation
Perfect
TV watching per week
Negative Correlation
r = -1.0
Exam score
Exam score
Degree of correlation
Degree of correlation
Weight
Height
8/18/2012
Simple & Non Mathematical method Not influenced by the size of extreme
item
the relationship
22
45
8/18/2012
70
IV I
60
50
Mean(Y)
40
30
III
20 10
II
0 10 20 30 40 50
(X i - X )(Y i - Y ) i =1 (X i - X ) (Y i - Y ) =1 =1
2 i n n 2
i =1 i =1
=
n
(X i - X )(Y i - Y ) n-1
(X i - X )2 n-1
=1
i
(Y i - Y )2 n-1
COV x y SxSy
8/18/2012
Calculate the mean of the two series x &y Calculate the deviations x &y in two series from their
respective mean.
Duration of Residence
10 12 12 4 12 6 8 2 18 9 17 2
8 9 10 11 12
Y
n
= (6 + 9 + 8 + 3 + 10 + 4 + 5 + 2 + 11 + 9 + 10 + 2)/12 = 6.583 = (10 -9.33)(6-6.58) + (12-9.33)(9-6.58) + (12-9.33)(8-6.58) + (4-9.33)(3-6.58) + (12-9.33)(10-6.58) + (6-9.33)(4-6.58) + (8-9.33)(5-6.58) + (2-9.33) (2-6.58) + (18-9.33)(11-6.58) + (9-9.33)(9-6.58) + (17-9.33)(10-6.58) + (2-9.33)(2-6.58) = -0.3886 + 6.4614 + 3.7914 + 19.0814 + 9.1314 + 8.5914 + 2.1014 + 33.5714 + 38.3214 - 0.7986 + 26.2314 + 33.5714 = 179.6668
= (10-9.33)2 + (12-9.33)2 + (12-9.33)2 + (4-9.33)2 + (12-9.33)2 + (6-9.33)2 + (8-9.33)2 + (2-9.33)2 + (18-9.33)2 + (9-9.33)2 + (17-9.33)2 + (2-9.33)2 = 0.4489 + 7.1289 + 7.1289 + 28.4089 + 7.1289+ 11.0889 + 1.7689 + 53.7289 + 75.1689 + 0.1089 + 58.8289 + 53.7289 = 304.6668
(X i - X )(Y i - Y ) i =1
(Y i - Y ) =1
i
= (6-6.58)2 + (9-6.58)2 + (8-6.58)2 + (3-6.58)2 + (10-6.58)2+ (4-6.58)2 + (5-6.58)2 + (2-6.58)2 + (11-6.58)2 + (9-6.58)2 + (10-6.58)2 + (2-6.58)2 = 0.3364 + 5.8564 + 2.0164 + 12.8164 + 11.6964 + 6.6564 + 2.4964 + 20.9764 + 19.5364 + 5.8564 + 11.6964 + 20.9764 = 120.9168
Thus,
r=
= 0.9361