Professional Documents
Culture Documents
A set of data is said to be ungrouped if it is not grouped into classes. For example, if we measure the
heights of 35 students of a class and list them, that would be ungrouped data. However, if we group
them into classes such as 130 to 134 cm, 135 to 139 cm, 140 to 144 cm and so on, then the data would
be called grouped data.
The steps to calculate the standard deviation for ungrouped data is as follows:
Step 2: Next add up all the data values. Let us denote this sum as: S=∑ xi
Step 3: Divide this sum by the number of data entries. Thus if there are 10 numbers, then we divide the
sum of these 10 numbers by 10. This would give us the mean of the data. So,
x́=
∑ xi
n
Step 4: Then for each of the data entries x 1 , x 2 , x 3 …… . X , we find the difference between the x i∧x́ .
n
Thus we find the values of x i∧x́ for each of the data entries.
Step 5: As suggested in the previous step, we square the difference that we found in the previous step.
Thus we find the value of ( x i∧x́ )2 for each of the data entry.
Step 6: Now we find the sum of the square of the difference and divide that sum by n. In other words,
we find the mean of the square of the differences. The number that we get now is called the variance.
Therefore, if we denote the variance by Var, then:
Var=
∑ x i−¿ x́ ¿
n
Step 7: The standard deviation can now be calculated by taking the square root of the variance. Thus,
∑ x i− x́
sd=√ var =
√ n
These are the steps to be followed for calculating the standard deviation of ungrouped data.
Examples
Example 1: Find the standard deviation of the following ungrouped data. 14, 18, 12, 15, 11, 19, 13, 22
Solution:
11 + 12 + 13 + 14 + 15 + 18 + 19 + 22 = 124
x¯ = 1248 = 15.5
xi xi − x¯ xi − 15.5
11 11-15.5 -4.5
12 12-15.5 -3.5
13 13-15.5 -2.5
14 14-15.5 -1.5
15 15-15.5 -0.5
18 18-15.5 2.5
19 19-15.5 3.5
22 22-15.5 6.5
∑ (xi − x¯)2 = 20.25 + 12.25 + 6.25 + 2.25 + 0.25 + 6.25 + 12.25 + 42.25 = 102
Example 2: Find the standard deviation of the following ungrouped data with frequency.
students (frequency)
25 15
26 20
27 25
28 30
29 30
30 20
31 10
Solutions:
Step 1: First we calculate the mean by using the formula for a mean of an ungrouped
frequency distribution data.
meanmean = x¯x¯ = ∑ (fi xi)∑ fi∑ (fi xi)∑ fi
Step 2: As before we find the difference for each xixi values. Thus we find the values
of xi − x¯xi − x¯ for each xixi value.
Step 3: As before we square the difference found in step 2. Thus we find the values
of (xi − x¯)2(xi − x¯)2 for each of the xixi values.
Step 4: Here is the different step. We multiply each of the frequency with the
corresponding difference of squares. In other words, we find the value
of fi × (xi − x¯)fi × (xi − x¯) for each of the xixi values.
Step 5: Now we find the mean of the values obtained in the previous step. This would
be our variance. Thus,
VarVar = ∑ fi (xi − x¯)2∑ fi∑ fi (xi − x¯)2∑ fi
Step 6: As was the case with ungrouped data, the standard deviation can now be
calculated by taking the square root of the variance. Standard deviation is always equal
to the square root of the variance. Therefore,
sdsd = Var−−−−√Var = ∑ fi (xi − x¯)2∑ fi−−−−−−−−−√∑ fi (xi − x¯)2∑ fi
Examples
Example 1: Find the standard deviation of the following ungrouped data. 14, 18, 12, 15,
11, 19, 13, 22
Solution:
11 + 12 + 13 + 14 + 15 + 18 + 19 + 22 = 124
Step 3: Find the mean
x¯x¯ = 12481248 = 15.515.5
11 11-15.5 -4.5
12 12-15.5 -3.5
13 13-15.5 -2.5
14 14-15.5 -1.5
15 15-15.5 -0.5
18 18-15.5 2.5
19 19-15.5 3.5
22 22-15.5 6.5
VarVar = ∑ (xi − x¯)2n∑ (xi − x¯)2n = 10281028 = 12.7512.75
Step 7: Find standard deviation
sdsd = Var−−−−√Var = 12.75−−−−√12.75 = 3.573.57 ←← Answer!
Example 2: Find the standard deviation of the following ungrouped data with frequency.
Number of
Weight of students (kg)
students (frequency)
25 15
26 20
27 25
28 30
29 30
30 20
31 10
Solutions:
meanmean = x¯x¯ = ∑ (fi xi)∑ fi∑ (fi xi)∑ fi = 41901504190150 = 27.9327.93
sdsd = Var−−−−√Var = ∑ fi (xi − x¯)2∑ fi−−−−−−−−−√∑ fi (xi − x¯)2∑ fi = 439.
335150−−−−−√439.335150 = 2.932.93 ←← Answer!