who liked the taste. Find the weighted mean of the percentages
AREA %favored No. surveyed xw
1 40 1000 40000
2 30 3000 90000
3 50 400 20000
x w (freq)
SUM(wx) 150000
WM= SUM(wx)/SUM(w) total frequenc SUM(w)= 4400
x w Total amount
EXAMPLE:Gas Stations Peso/Liter# Liters boughtwx
1 54.5 10 545
2 55.13 12 661.56
3 56.05 15 840.75
4 50.98 18 917.64
x w sum(wx)= 2964.95
ave price/liter? sum(w)= 55
WM= Sum(wx)/sum(w)
AveP/L= 53.90818
EXAMPLE:
xi f cf xf xi - mean (x-mean)^2f*(x-meanabs(x-mean)*f
12 3 3 36 12 144 432 36
18 1 4 18 18 324 324 18
21 5 9 105 21 441 2205 105
28 2 11 56 28 784 1568 56
35 3 14 105 35 1225 3675 105
Sum(f)= 14 SUM(xf)= SUM((x-mean)^ 8204 SUM=
320 320
12 12 12 18 21 21 21
21 21 28 28 35 35 35
MEAN=
n-1=
VARIANCE= 68.43956
STDEV= 8.272821
MD=
RMS=
MEDIAN= n/2 =7
MODE=
ARRANGED VALUES:
1 2 3 4 4 7
7 8 8 9 9 9
n=12 even
n/2=12/2 =6
middle values=6th & 7th
Median= =(6th +7th)/2
=(7+7 )/2 = 7
Median= 7 Excel function - median
DATA: 14 10 8 11
MEAN= 10.75
x (x-mean)^2
14 10.5625
10 0.5625
8 7.5625
11 0.0625
SUM= 18.75
Variance= =sum(x-mean)^2 / (n-1)
Variance= 6.25
Variance= 6.25
Std Dev= = sqrt(var)
Std Dev= 2.5
Std Dev= 2.5 using stdev
x^2
144
324
441
784
1225
SUM=
2918
Example 2
Mean=sum(f*Xm)/n
Mean= 0
n
cf
median (Md ) 2 w Lmd
f
Median: 2 3 6 6 8 9 12 14
4th 5th
Md= (6+8)/2 7
grouped data
Example: 3 5 12 8 9
32 7 9 15 12
Find s^2 and s:
f x f x var= 82.26168
2 2
2
n
s stdev= 9.069823
n n 1
SK= -0.146153
(almost symmetrical)
d1
mod e( Mo) LMo w
K= 2.556456
d1 d 2
(platykurtic)
__
3 X Md
SK
s
(x-mean)^2
13 23 86.3041 53.1441 0.0841 18.4041 10.8241 0.5041
11 13 388.4841 27.9841 10.8241 7.3441 0.0841 1.6641
720.8574
Example: 2 3 8 12 15 17 25 32 n=8
x=Q3=23 ans
Ex 67 69 70 71 74 77 78 82 89
IR= 10.5
Q
3
x
8
Example on grouped data
50 SUM(f*Xm)= 4945
n= sum(f) sum(f*Xm)
Mean=sum(f*Xm)/n
Mean= 98.9
n
cf
median (Md ) 2 w Lmd
f
f x f x
Variance: 2 2
n
s2
n n 1
Var= 24.17347
Std dev= 4.916652
f*Xm^2
103788
240100
53045
93312
490245
sum(f*Xm^2)
#1: Find the variance and standard deviation of the following data
2 3 5 6 8
10 12 15 18 20
n= 10
x x
2
i
s 2
(variance)
n 1
Excel Function
xbar= 9.9 (average) 9.9
var=s^2= 38.98889 (var)
s= 6.244108 (stdev) 0
Note: s=sqrt(var)
s= 6.244108 (sqrt(var))
xi xi-xbar (xi-xbar)^2
2 -7.9 62.41
3 -6.9 47.61
5 -4.9 24.01
6 -3.9 15.21
8 -1.9 3.61
10 0.1 0.01
12 2.1 4.41
15 5.1 26.01
18 8.1 65.61
20 10.1 102.01
SUM= 350.9
n-1= 9
s^2= 38.9888889 ans Variance
s= 6.24410833 ans Std deviation
EXAmple:
xi f xi*f
12 3 36 12 12 12 15 23
15 1 15 23 23 23 23
23 5 115
SUM= 166
x w Total amount
EXAMPLE: Gas Stations Peso/Liter# Liters bought wx
1 54.5 10 545
2 55.13 12 661.56
3 56.05 15 840.75
4 50.98 18 917.64
x w sum(wx)= 2964.95
ave price/liter? sum(w)= 55
WM= Sum(wx)/sum(w)
AveP/L= 53.90818
EXAMPLE:
xi f cf xf xi - mean (x-mean)^2 f*(x-mean)^2abs(x-mean)*f x^2
23 3 3 69 -24 576 1728 72 529
34 1 4 34 -13 169 169 13 1156
41 5 9 205 -6 36 180 30 1681
58 2 11 116 11 121 242 22 3364
78 3 14 234 31 961 2883 93 6084
Sum(f)= 14 SUM(xf)= SUM((x-mean)^2 5202 SUM= SUM=
658 230 12814
23 23 23 34 41 41 41
41 41 58 58 78 78 78
MEAN= 47
n-1= 13
VARIANCE= 400.154 400.1538
STDEV= 20.0038 20.00385
MD= 16.4286
RMS= 4.05322
MEDIAN= 41 n/2 =7
MODE= 41
Find the mean.
Observed values: 15 21 34 56 59
89 90 95 98 99
n=10
Mean= 65.6 xcelfunc=average
Median= 74
xcelfunc=median
Mode= none
Midrange= 57
ARRANGED VALUES:
1 2 3 4 4 7
7 8 8 9 9 9
n=12 even
n/2=12/2 =6
middle values=6th & 7th
Median= =(6th +7th)/2
=(7+7 )/2 = 7
Median= 7 Excel function - median
DATA: 14 10 8 11
MEAN= 10.75
x (x-mean)^2
14 10.5625
10 0.5625
8 7.5625
11 0.0625
SUM= 18.75
Variance= =sum(x-mean)^2 / (n-1)
Variance= 6.25
Variance= 6.25
Std Dev= = sqrt(var)
Std Dev= 2.5
Std Dev= 2.5 using stdev