If #mu# is the mean of the population, the formula for the population standard deviation of the population data #x_{1},x_{2},x_{3},\ldots, x_{N}# is
#sigma=sqrt{\frac{sum_{k=1}^{N}(x_{k}-mu)^{2}}{N}}#.
If #bar{x}# is the mean of a sample, the formula for the sample standard deviation of the sample data #x_{1},x_{2},x_{3},\ldots, x_{n}# is
#s=sqrt{\frac{sum_{k=1}^{n}(x_{k}-bar{x})^{2}}{n-1}}# .
The reason this is done is somewhat technical. Doing this makes the sample variance #s^{2}# a so-called unbiased estimator for the population variance #sigma^{2}#. In effect, if the population size is really large and you are doing many, many random samples of the same size #n# from that large population, the mean of the many, many values of #s^{2}# will have an average very close to the value of #sigma^{2}# (and, as far as a theoretical perspective goes, the mean of #s^{2}# as a "random variable" will be exactly#sigma^{2}#).
The technicalities for why this is true involve lots of algebra with summations, and is usually not worth the time spent for beginning students.
As a business owner, you are constantly figuring out what your current customers want and what your potential customer needs. The data can be tracked in a variety of ways, from polls and surveys to interviews and historical research. However, the tool used to put this data into results, standard deviation, can be used in several ways, depending on the type of results you're seeking.
Tip
Standard deviation is the measurement of spread in a data set. It can be used to help decide the best choice from among several options. The difference between sample and population standard deviation is the data set.
What Is Standard Deviation?
Standard deviation is the dispersion between two or more data sets. For example, if you were designing a new business logo and you presented four options to 110 customers, the standard deviation would indicate the number who chose Logo 1, Logo 2, Logo 3 and Logo 4. The standard deviation is calculated by finding the mean, calculating the variance and taking the square root of the variance.
Find the Mean, Variance and Standard Deviation
The mean is the average of the numbers in the dataset. Keeping with the logo example, let's say 25 people liked Logo 1, 30 people liked Logo 2, 35 people like Logo 3 and 20 people like Logo 4. The mean would be the result of (25 + 30 + 35 + 20) / 4 or 27.5 rounded to 28. To find the variance, first find the difference between the mean and each set of data. So for the logos, the differences would be -3 (25-28 ), 2 (30 - 28), 7 (35 - 28) and -8 (20 - 28) respectively.
The next step is to square the differences, which equals 9, 4 and 49 and 64. Now you have to find the average of the squared numbers to get the variance which is 31.5 rounded up to 32 ((9 + 4 + 49 + 64) / 4). Finally, calculate the standard deviation by finding the square root of the variance, which is 5.6 or 6.
How Is This Useful?
Knowing the standard deviation can help you determine which option is best for your business. Thinking back to the logo, the mean was 28. A standard deviation of 6 means the logos whose votes were within 6 points of the mean is the most popular choice. So, as for the logos, more people like Logos 1 and 2 than they liked 3 and 4.
Sample Standard Deviation
The above calculated is the population standard deviation. It dealt with a specific set of data. However, if you wanted to determine the standard deviation of a large population you would use the sample standard deviation. The only difference in the calculation is that you subtract 1 from the number used to calculate the variance.
So, going back to the logos, instead of dividing the squares of the differences by four, you would divide them by three (9 + 4 + 49 + 64) / 3 = 42. then find the square root, which is 6.
When to Use Sample or Population?
If you want to measure your current customer's reactions or opinions, stick to population standard deviation, since that is a more quantifiable number. However, if you are experimenting with new ways to attract new customers, then a sample deviation would be better, because you can include more variables such as gender, age and geographic locations.
Standard deviation is used often in statistics to help us describe the spread of a data set (dispersion about the mean). If we cannot poll the entire population, we can use a sample to estimate the standard deviation.
So, what is the difference between sample and population standard deviation? Sample standard deviation is a statistic based on a subset of the population, and population standard deviation is a parameter that takes every member of the population into account. Sample standard deviation estimates the population standard deviation when we cannot poll an entire population.
Of course, when estimating a population parameter from a sample, a larger sample is better (as long as we are using a representative sample). Taking a sample of only a few data points from the population will not tell us much.
In this article, we’ll talk about the difference between sample standard deviation and population standard deviation. We’ll also look at some examples to see how the two differ.
Let’s get started.
The main differences between sample & population standard deviation are:
- sample standard deviation is a statistic based on a sample (subset) of the population, while population standard deviation is a parameter that takes into account every member of the population.
- when calculating sample standard deviation, we divide by n – 1 (sample size minus one), but when calculating population standard deviation, we divide by N (population size).
- the population standard deviation cannot be “wrong”, since it takes all data points into account, while the sample standard deviation can vary from sample to sample and may differ from the population standard deviation (the sample statistic is often used as an estimate for the population parameter).
The table below summarizes the difference between sample standard deviation and population standard deviation.
statistic | parameter |
based on a subset of the population | based on the entire population |
divide by n-1 (sample size minus one) to calculate | divide by N (population size) to calculate |
gives you an estimate of a parameter | gives you the exact value of parameter |
between the sample standard
deviation and the population
standard deviation.
Remember that it is not always practical to poll an entire population or to get accurate data for a large population, which makes it difficult to find the population standard deviation.
A solution is to take a sample of the population that is large enough to make inferences about the entire population. Then, we can use the sample standard deviation to make an estimate of the population standard deviation.
To avoid bias, we should use a representative sample of the population. For example, if our population is “all U.S. citizens”, then we should not use a sample of women aged 25 to 35 from the state of Florida.
Instead, we should try to find people of all ages from every state for our sample. The larger the sample size “n”, the better, since the sample statistic will approach the value of the population parameter as n gets larger.
How Do You Find The Sample Standard Deviation?
To find the sample standard deviation, take the following steps:
- 1. Calculate the mean of the sample (add up all the values and divide by the number of values).
- 2. Calculate the difference between the sample mean and each data point.
- 3. Square the differences from Step 2.
- 4. Sum the squared differences from Step 3.
- 5. Divide the sum from Step 4 by n – 1 (the sample size minus one).
- 6. Take the square root of the quotient from Step 5.
The formula below gives the formula for the sample standard deviation:
This will give us the sample standard deviation. It helps to use a table to keep track of the values we need to calculate (a spreadsheet makes it easier to find mean, differences, squares, quotients, and square roots).
Let’s take a look at an example to see how it works.
Example: Finding The Sample Standard Deviation
Consider the data set:
- A = {1, 3, 5, 5, 6}
Following the steps above to find the sample standard deviation:
For step 1, we calculate the sample mean. The sample size is n = 5, so:
- Mean = M = (1 + 3 + 5 + 5 + 6) / 5 = 20 / 5 = 4
Now we will use a table to calculate the necessary values for steps 2 and 3:
1 | -3 | 9 |
3 | -1 | 1 |
5 | 1 | 1 |
5 | 1 | 1 |
6 | 2 | 4 |
from the mean, and squared
differences for the data set.
For step 4, the sum of the square differences (3rd column in the table above) is 9 + 1 + 1 + 1 + 4 = 16.
For step 5, we divide by n – 1. Here n = 5, so n – 1 = 4, and so 16 / (n – 1) = 16 / 4 = 4.
For step 6, we take the square root of 4 to get 2.
So, the sample standard deviation is 2.
How Do You Find The Population Standard Deviation?
To find the population standard deviation, the process is very similar to the one we used for finding samples standard deviation. Here are the steps:
- 1. Calculate the mean of the sample (add up all the values and divide by the number of values).
- 2. Calculate the difference between the sample mean and each data point.
- 3. Square the differences from Step 2.
- 4. Sum the squared differences from Step 3.
- 5. Divide the sum from Step 4 by N (the population size).
- 6. Take the square root of the quotient from Step 5.
The formula below gives the formula for the population standard deviation:
This will give us the population standard deviation. It helps to use a table to keep track of the values we need to calculate (a spreadsheet makes it easier to find mean, differences, squares, quotients, and square roots).
Let’s take a look at an example to see how it works.
Example: Finding The Population Standard Deviation
Consider the data set:
- A = {1, 3, 5, 5, 6}
Following the steps above to find the sample standard deviation:
For step 1, we calculate the sample mean. The sample size is n = 5, so:
- Mean = M = (1 + 3 + 5 + 5 + 6) / 5 = 20 / 5 = 4
Now we will use a table to calculate the necessary values for steps 2 and 3:
1 | -3 | 9 |
3 | -1 | 1 |
5 | 1 | 1 |
5 | 1 | 1 |
6 | 2 | 4 |
from the mean, and squared
differences for the data set.
For step 4, the sum of the square differences (3rd column in the table above) is 16.
For step 5, we divide by N. Here N = 5, so 16 / 5 = 3.2.
For step 6, we take the square root of 3.2 to get 1.789.
So, the population standard deviation is 1.789. (Note that this is slightly smaller than the sample standard deviation of 2 that we calculated for the same data set in the previous example).
Should I Use Sample Or Population Standard Deviation?
If you have data on the entire population, you will use population standard deviation. The only reason to use sample standard deviation is to make an estimate for a population parameter.
In other words, if you are only able to obtain data from a sample of the population, you will use the sample standard deviation to estimate the population standard deviation.
If you had data on the entire population, you wouldn’t need to estimate the population standard deviation – you could just calculate it from the data.
Conclusion
Now you know the difference between sample and population standard deviation. You also know when to use each one and how to calculate them.
You can learn more about the difference between a parameter and a statistic in this article.
You can learn more about the factors that affect standard deviation in my article here.
You can learn about how to use Excel to calculate standard deviation in this article.
You can learn about the units for standard deviation here.
You can learn more about how to interpret standard deviation here.
You can learn about the difference between standard deviation and standard error here.
I hope you found this article helpful. If so, please share it with someone who can use the information.
Don’t forget to subscribe to my YouTube channel & get updates on new math videos!
~Jonathon