Standard Deviationn
Standard Deviationn
Standard deviation is a measure of how spread out the values in a data set are. A low standard
deviation means the values are close to the mean, while a high standard deviation means the
values are spread out over a wider range.
1. Population Standard Deviation – When the data represents the entire population.
2. Sample Standard Deviation – When the data is a sample from a larger population.
The population standard deviation is used when you have data for the entire population. The
formula is:
σ= ∑(xi−μ)2
s= ∑(xi−x)2
N
n-1
Where:
Example:
Let's calculate the population standard deviation for the following ages of 5 students in a class:
[18, 20, 22, 24, 26].
○ (18 - 22) = -4
○ (20 - 22) = -2
○ (22 - 22) = 0
○ (24 - 22) = 2
○ (26 - 22) = 4
3. Square Each Result:
○ (-4)² = 16
○ (-2)² = 4
○ (0)² = 0
○ (2)² = 4
○ (4)² = 16
4. Find the Mean of the Squared Differences:
Variance={16 + 4 + 0 + 4 + 16}{5} = 8
5. Take the Square Root of the Variance:
σ= 2.83
The sample standard deviation is used when you have data from a sample of the population.
The formula for sample standard deviation is:
Example:
Now, let's calculate the sample standard deviation for the ages of 4 students: [18, 20, 22, 24].
○ (18 - 21) = -3
○ (20 - 21) = -1
○ (22 - 21) = 1
○ (24 - 21) = 3
3. Square Each Result:
○ (-3)² = 9
○ (-1)² = 1
○ (1)² = 1
○ (3)² = 9
4. Find the Sum of the Squared Differences:
{Sum of squares} = 9 + 1 + 1 + 9 = 20
5. Divide by N−1N - 1 (which is 4 - 1 = 3):
Variance= 6.67
6. Take the Square Root of the Variance:
s= 2.58
● Population Standard Deviation uses NN in the denominator (because you are using all
of the data points in the population).
● Sample Standard Deviation uses N−1N - 1 in the denominator (this adjustment is
called Bessel's correction and helps reduce bias when estimating the population
standard deviation from a sample).
Practice Questions:
1. The following are the salaries (in thousands) of all employees in a small company: [50,
60, 70, 80, 90]
1. The following are the ages of 5 participants in a survey: [25, 28, 30, 26, 27]