Sample Variance and
Standard Deviation
for Ungrouped Data
MARLON D. ASIS
Discussa
nt
Define variance as a measure of
variation
Define standard deviation as a
measure of variation
Compute for the sample variance
of an ungrouped data set
Compute for the sample standard
deviation of an ungrouped data set
a statistical measurement used to
determine how far each number is from
the mean and from every other number
in the set
a measure of the spread or dispersion
within a set of data
the average of the squared distance
of each datum from the mean/ the
square of the standard deviation
2(for population) or s2 (for sample)
indicates how closely each datum is
clustered around or scattered from
the mean
considered as the most reliable
measure of variability
positive square root of the variance
(for population) or s (for sample)
Population Standard Deviation Sample Standard Deviation
Assume that the following are the
scores of the seven Grade 9 students
who took the 20-item test in Science.
Find the variance and standard
deviation of this sample data set:
12, 14, 11, 9,
8, 7, 9
x=
∑x
Find n =
the 12+14+11+9+8+7
+9
mean =
7
. x70= 10
7
xi x i -x (xi-x)2
12
Subtract the 14
mean from 11
each data 9
value. 8
7
9
x =
10
xi x i -x (xi-x)2
12-10 2
Subtract the 14-10 4
mean from 11-10 1
each data 9-10 -1
value. 8-10 -2
7-10 -3
9-10 -1
x = 10
xi x i -x (xi-x)2
Square the 12 2
difference 14 4
between 11 1
each score 9 -1
and the 8 -2
mean. 7 -3
xi x i -x (xi-x)2
Square the 12 2 4
difference 14
4 16
between each 11
1 1
score and the 9 -1 1
8 -2 4
mean.
7 -3 9
9 -1 1
xi x i -x (xi-x)2
12 2 4
Add up all the
14 4 16
squares of the
11 1 1
difference
9 -1 1
between each
8 -2 4
score and the
7 -3 9
mean.
9 -1 1
∑(xi-x)2
xi x i -x (xi-x)2
12 2 4
Add up all the
14 4 16
squares of the 11 1 1
difference 9 -1 1
between each 8 -2 4
score and the 7 -3 9
mean.
9 -1 1
∑(xi-x)2 36
SOLUTION:
s 2 = ∑(xi-
Divide x)2 n-1
the =
obtained
3
sum 6
by n- 7
∑(xi-x)2 -
1.
=
1
36
n= 7 =
SOLUTION:
Extract
𝑠2
or s
the positive =
square
𝑠2
s
root of the =
sample
6
s =
variance. S = 2 .4 5
s2 = 6
1.Find the mean.
2.Subtract the mean from each data value
or score.
3.Square the difference between each
score and the mean.
4.Add up all the squares of the difference
between each score and the mean.
5.Divide the obtained sum by n-1.
6.Extract the positive square root of
12, 14, 11, 9, 8,
6, 9 Mean - 10
Sample Variance
-6
Sample Standard
Solve for the variance and
standard deviation of this
sample data set:
7, 6, 15, 4, 12, 8,
18, 10
1 Find x=
∑x
the n =
7+6+15+4+12+8+18
mean 8
+10
8
7, 6, .15, 4, 12, 8, = 80
x = 10
18, 10
xi x i -x (xi-x)2
2 Subtract 7 -3
6 -4
the mean 15 5
from each 4 -6
data value. 12 2
8 -2
18 8
x = 10 10 0
xi x i -x (xi-x)2
3
Square the 7 -3 9
6 -4 16
difference 15 5 25
between each 4 -6 36
score and the 12 2 4
mean. 8 -2 4
18 8 64
10 0 0
xi x i -x (x-x)2
4 Add up all 7 -3 9
6 -4 16
the squares
15 5 25
of the
4 -6 36
difference between
12 2 4
each score and
8 -2 4
the
18 8 64
mean.
10 0 0
∑(xi-x)2 158
SOLUTION:
5 Divide s 2 = ∑(xi -
x)2 n-1
the
=
obtained 158
sum 8-1
by n- = 158
∑(xi-x) 158
=2 7
1. s2 =
n= 8 2 2 .5 7
SOLUTION:
Extract
the positive 𝑠2
or s
=
square
root of the 𝑠2
s
=
sample
22.57
s =
variance.
s2 = 22.57
s = 4 .7 5
7, 6, 15, 4, 12, 8,
18, 10 Mean - 10
Sample Variance -
22.57
Sample Standard
Deviation - 4.75
EXAMPLE 1 EXAMPLE 2
Mean 10 10
Sample 6 22.57
Variance
Sample 2.45 4.75
Standard
Deviation
A standard deviation close to zero
indicates that data points are very
close to the mean, whereas a larger
standard deviation indicates data
points are spread further away from
the mean.
Compute for the variance and
standard deviation of this sample
data set.
48, 37, 34, 29, 20, 50
Thank You
for
Listening!