This is a lesson preview only. For the full lesson, please purchase the course.

Central Tendency
Explain measures of central tendency, including mean, median, mode, and mid-range, using examples and Excel functions to analyze data distribution.
Read transcript: Central Tendency

In this section, we're going to go over the measures of central tendency. Central tendency describes data that falls into the middle central area. So it's where most of your results will be found. We're going to take a look at several different types of calculations you can use to measure central tendency.

That will include the mean, the median, the mode, and some other visualizations that will review to look at the results of central tendency. So what is the mean? The mean is the sum of all the data divided by the total count of the data. Now the total count of the data can be referred to as the population.

That's usually referred to symbolically as the letter N. And so that's used as the denominator to divide the sum of all the data. This is commonly referred to as average in Excel, but the technical term is mean. The mean of a sample, which is not the entire population, uses N minus 1 as the denominator.

When you have a sample size, it's smaller than the actual population. So you have to make an adjustment when you want to divide the sum of all that data by the count. Since the count is a sample, the calculation will use is the total count minus 1. So let's take a look at an example visually so you can understand what I'm talking about.

So some people may think that New York is New York City, but New York City is actually just a small part of New York. The entire population goes beyond the five boroughs. So this is a visual display of the entire population. You'll get a much better accurate result for central tendency when you include the entire population.

But it may not be practical to get information from the entire population. So we'll use a sample. When you're using a sample, you'll have to make adjustments. So let's take a look and see what the difference is between the average as it relates to an entire population and as it relates to a sample.

So here, I have some numbers. If we want to calculate the mean, there isn't a mean function in Excel. There's just the average function. So you'll use average.

That will be equal to average. And then you just select all the values. When I press Enter, the average is 4.111. Now, if I want to get the average of the sample or the mean of the sample, I'm going to have to do a little bit more work.

I can't just type average. I'm going to type some open parentheses. I'm going to select all the values, close parentheses. And then I'm going to divide that by the count of all the values.

Now, so far, that's just a regular average. But here is where there's an important difference. I'm going to enter minus 1. I want to make sure to put that in parentheses because of the order of operations.

So I'll wrap count in parentheses. Okay, now I will get the average of the sample. And that's 4.65. It's relatively close.

And you may not think that that makes much of a difference. But let's actually put this into practice and see if using n minus 1 gives us a more accurate result. So let's take a look at this table here. This is an entire table.

And we have three samples. We have a yellow sample, a green sample, and an orange sample. Now, the entire average of the mean for the entire table, including all three samples is 4.67. Now, we've calculated the average of the sample and also the average of the entire population.

So the average of the entire population is listed first. And then the average of the sample is listed next. So since we know the population of the entire table is 4.67, let's see which is closer the average of the sample or the average of the entire population. So we'll start with the yellow sample.

Now, the average of the yellow sample is 4.11. The average of the sample, not the entire population, is 4.63. Is that closer to the population of the entire table? It is 4.63 is closer to 4.67.

So I have a drop down here where I'm going to say the winner is the sample. Let's take a look at another sample. Maybe that wasn't anomaly. I'm going to take a look at the green sample here.

The average of the entire population for that is 4.889. The average of the sample, which is n minus 1, is 5.50. So which is closer? Well, in this case, it's the population.

So now we have a tie. One for the sample, one for the population. Now, let's take a look at the orange sample. Maybe this will decide whether or not the average of the sample or the population is closer.

Now, the average of the orange population is 4.0. The average of the sample of that orange area and sample, the average of that is 4.5, which is closer. Well, in this case, it's the sample. Two out of three times, we have determined that the average of the sample is closer than the average of the population of that sample.

And so this type of calculation where you take the count n minus 1 is referred to as degrees of freedom or Bessel's correction in statistics. Bessel was the person who came up with that calculation. Now, it's not 100% accurate as you can tell, but it's statistically more accurate than the average of the sample. Now, if you don't think that is enough to say that the average of the sample is more accurate, we do have another sheet where we work with a much larger population with just as many samples.

So I'm going to go to that sheet here. So let me explain what you're looking at here. You're looking at a table of 676 random numbers from 100 to 999, 999. And we picked three green samples from those random numbers.

Now, the population mean is 522. So if you take all the records and come up with an average, you'll get 522. So now we want to determine what's closer when it comes to the sample. So for the first green sample, the average, just the regular average is 449.

Now, if you come up with the average where you subtract 1 from the count, it's 506. In that case, for the first green sample, the average of the sample that's calculated by n minus 1 is actually closer to the average of the entire table. Let's take a look at the second green sample. Again, n minus 1 is closer to 522.

And then if we take a look at sample number 3, again, the sample for n minus 1 is much closer to the average of the entire table. We also just to check and see if it makes a difference. We also used an average that added one to the count. Either way, n minus 1 was always more statistically closer to the average of the entire table.

I'm going to scroll down here. And again, if you didn't feel like that was enough experimentation to figure this out, well, we continued beyond what we have here. And we can tell you that after