Unit 2
Unit 2
MEASURES OF DISPERSION:
1. Range
2. Quartile deviation
3. Mean deviation.
4. Standard deviation.
Range:
Definition: The range is the difference between the largest value of a data set and the
smallest value of a set.
Formula: Range = Maximum – Minimum
Coefficient of Range = (Maximum – Minimum) / (Maximum + Minimum)
1) Find range and its coefficient for following data,
23,12,34,56,54,67,75,34
Solution: Maximum= 75 , Minimum= 12
Range = 75 – 12 = 63
Coeff of Range= (75-12)/ (75+12) = 63/87= 0.72
Quartile Deviation:
Formula: QD= (Q3-Q1)/ 2
Coeff of QD(inter quartile range)= (Q3-Q1) / (Q3+Q1)
1) Calculate the quartile deviation and it’s coefficient for the following distribution.
Solution:
Coeff of QD= (82.5-34.167) / (82.5+34.167)
= 48.333/ 116.667
= 0.414
Mean Deviation
There are three types:
1)
Solution:
Mean deviation from Median (for grouped data):
Solution:
Standard deviation (for ungrouped data):
Types of correlation
1) Perfect positive correlation: if all data points lie on a straight line towards positive axis
of the graph, then it is perfect positive correlation and in such a case r=+1 2) Positive
correlation: If all data points cluster together and make a narrow band towards the
positive axis of graph then it is positive correlation and in such a case 0<r<1. 3) Perfect
negative correlation: if all data points lie on a straight line towards negative axis of the
graph, then it is perfect positive correlation and in such a case r=-1
4) Negative correlation: If all data points cluster together and make a narrow band towards
the negative axis of graph then it is positive correlation and in such a case, -1<r<0. 5) Zero
(No correlation): if all data points spread all over the graph paper then it is zero
correlation and in such a case r=0.
Illustration:
1) Find coefficient of correlation for following data and interpret your answer.
x 14 8 10 11 9 13 5
y 14 9 11 13 11 12 4
Solution:
x Y Xy x^2 y^2
8 9 72 64 81
9 11 99 81 121
5 4 20 25 16
= 392 / 424.71
= 0.92
1) Find Rank coefficient of correlation for following data and interpret your answer.
x 15 32 25 30 35 20 19 22 27 31
y 50 70 65 72 90 58 53 57 68 74
Solution:
X Y R1 R2 D d^2
15 50 10 10 0 0
32 70 2 4 -2 4
25 65 6 6 0 0
30 72 4 3 1 1
35 90 1 1 0 0
20 58 8 7 1 1
19 53 9 9 0 0
22 57 7 8 -1 1
27 68 5 5 0 0
31 74 3 2 1 1
8
R = 1 – (6Ʃd^2 / n(n^2-1))
= 1 – (6x8/ 10(100-1))
= 1 – (48/990)
= 1 – 0.0485
= 0.9515
2) The following data gives ranks of two subjects, find rank coefficient of correlation
between them.
R1 3 5 7 1 2 8 6 4
R2 2 1 4 5 7 6 3 8
Solution:
R1 R2 D d^2
3 2 1 1
5 1 4 16
7 4 3 9
1 5 -4 16
2 7 -5 25
8 6 2 4
6 3 3 9
4 8 -4 16
96
R = 1 – (6Ʃd^2 / n(n^2-1))
= 1- (6x96/8(64-1))
= 1 – (576/504)
= 1 – 1.14
= -0.14
Spearman’s Rank coefficient of correlation (for repeated ranks)
x 12 15 13 20 15 14 19 13 21 18
y 25 21 15 18 20 17 20 16 20 22
Solution:
x Y R1 R2 D d^2
12 25 10 1 9 81
20 18 2 7 -5 25
14 17 7 8 -1 1
19 20 3 5 -2 4
21 20 1 5 -4 16
18 22 4 2 2 4
140
Value M m(m^2-1)/12
13 2 0.5
15 2 0.5
20 3 2
R = 1 – (6(Ʃd^2+(Ʃm(m^2-1)/12)) / n(n^2-1))
= 1- 6(140+3)/ 10(100-1))
= 1 – 6(143)/990)
= 1- (858/990)
= 1- 0.87
= 0.13
Multiple Correlation
Formula:
1) Find coefficient of correlation for the following data representing marks in test 1(x) and
test 2(y) for a group of twenty-five children.
x/y 7 8 9
3 2 1 --
4 1 3 1
5 4 4 2
6 2 3 2
Solution:
x/y 7 8 9 f fx fx^2 fxy
fy 63 88 45 196
= 84 / sqrt(584) * sqrt(334)
= 84 / 441.83
= 0.19
Regression
Y= a+bx
a= mean y – b * mean x
x= a1+b1y
3 12 36 144
4 11 44 121
6 15 90 225
10 16 160 256
12 19 228 361
13 17 221 289
48 90 779 1396
= 4674-4320/ 8376-8100
= 354/276
= 1.28
= 8 – 1.28x15
= 8 – 19.2
= - 11.2
X= a1+b1y
= - 11.2 +1.28y
When y=18
= - 11.2+1.28x18
= -11.2+23.04
= 11.84
Regression equation in terms of mean and std dev
a+bx
a= mean y – b * mean x
x= a1+b1y
b= 0.8 x (93/103)
= 0.8 x 0.9
= 0.72
a= 2830 – 0.72x3250
= 2830 – 2340
= 490
When x=3280
Y= a+bx
= 490+0.72 x 3280
= 490+2361.6
= 2851.6
1) 2x-3y+14=0 ---------------1
3x-y-42=0 ------------------ 2
1, 2x-3y+14=0
9x-3y-126=0
2x-3y+14 – (9x-3y-126)=0
2x-3y+14-9x+3y+126=0
-7x+140=0
-7x=-140, 7x=140
Substitute x=20 in eq 1
2x-3y+14=0
2x20-3y+14=0
40-3y+14=0
54=3y
54/3=y
2x-3y+14=0
3y=14+2x
Y= 14/3 +2/3 x
b=2/3
x 3x-y-42=0
-y=-3x+42
Y=3x-42
b=3
b= 2/3 < b= 3
Hence, b=2/3
b1=1/3
r= sqrt(bxb1) = sqrt(2/3 x 1/3) = sqrt(2/9)
= sqrt(0.22) = 0.47