In descriptive statistics, summary statistics are used to summarize a set of observations, in order to communicate the largest amount of information as simply as possible.
Published on April 17, 2021
mean median mode
7 min READ
“If your boss asks you a report on this quarter’s sales numbers and is rushing to a meeting and has time to listen to one piece of information about that data, that piece of information you give her should probably be a measure of central tendency” states Adriene Hill, crash course statistics.
A measure of central tendency is a single value that describes the way in which a group of data cluster around a central value. To put in other words, it is a way to describe the center of a data set.
- It condenses the data set down to one representative value.
- It also allows you to compare one data set to another or a piece of data to entire dataset.
There are three measures of central tendency namely mean, medain and mode.
Upnext we are going to talk about them in greater level of detail.
A sample is set of data points taken out from the given population which represents the population as a whole.
Let’s say you wanna study Advertisements for IT jobs in the Netherlands and found the data of top 50 search results for Ads for IT jobs in the Netherlands on May 1, 2020. This isn’t the whole population, instead a small sample that represents it.
As commonly known mean or the average is simply the sum of all data points divided by the number of data points in the sample.
For example, A cricketer’s scores in five ODI matches are as follows: 12, 34, 45, 50, 24. The arithmetic mean of data is given by
In this case,
So on an average the cricketer scores 33.
Wait a minute…
Did you noticed that I said arthmetic mean…that mean there are other ones.
Yes, there are other ones which we won’t use that much. But let’s take a look at them.
The Geometric Mean is a special type of average where we multiply the numbers together and then take a square root (for two numbers), cube root (for three numbers) etc. It is given by
The Geometric Mean is useful when we want to compare things with very different properties.
Consider a stock that grows by 10% in year one, declines by 20% in year two, and then grows by 30% in year three. The geometric mean of the growth rate is calculated as follows:
This implies the growth rate is 46%.
The Harmonic mean is simply reciprocal of the average of the reciprocals.
It is used for calculating mean data is obtained by combining two scales.
In particular cases, especially those involving rates and ratios, the harmonic mean gives the most correct value of the mean. It is given by
Let’s say I travel 10 km at 60 km/h, than another 10 km at 20 km/h, what is my average speed?
Yes! you got it right. It was 30 Kilometers per Hour.
Some electric utilities companies allow homeowners to pay their electric bills by setting up budget billing. This budget billing figure is derived by the average electric bill over acertain period, usually the prior 12 months.
The electric company, like PPL electric, will take twelve months of bills (Jan-Dec) of the prior year, add the total, and divide by 12. For example, the usage for the prior 12 months is shown below:
Month | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Amount | $135 | $145 | $112 | $101 | $98 | $87 | $116 | $121 | $113 | $107 | $126 | $131 |
What is the average of this homeowner’s electric bill for this given year?
The average electric bill for this house is $116.
What would happen if a heat wave hit in August and the family’s electrical bill for the month increased to $449? By how much would this affect their budgeted amount?
Now the calculation would be
With a heat wave the average electrical bill for this house will increase to $143.
Here the abnormal bill value is called an outlier.
In statistics, an outlier is a data point that differs significantly from other observations. An outlier may be due to variability in the measurement or it may indicate experimental error.
Mean is robust to ouliers.
Hence we use another measure called Median
In statistics and probability theory,
the median is the value separating the higher half from the lower half of a data sample.
So the median value is given by
where n is the number of observations
Let’s say the number of slices of pizza that each person at Thorton’s birthday party ate were 4, 5, 3, 2, 13, 1, 3.
What does the middlemost value interpret?
In order to calcuate the median, first let’s sort the numbers as follows: 1, 2, 3, 3, 4, 5, 13
So it seems like half of the people ate less than 3 slices and other more than 3.
That’s it! Wait a minute…
After sometime Thorton was checking his birthday stats and He was suprised…4, 5, 3, 2, 13, 1, 3.
Who ate 13 slices?
Then we found that there were two people of same name recorded as a single person and they ate each of 6 and 7 slices.
Now if we arrange the data points again: 1, 2, 3, 3, 4, 5, 6, 7 and median is given by
So we now know the central value is 3.5(although no one ate 3.5 slices).
This is where mode comes into picture.
A mode, in statistics, is defined as the value that has higher frequency in a given set of values. It is the value that appears the most number of times.
Below your seeing 200 children favorite flavor of ice cream amoung vanilla, chocolate or strawberry encodes as 1, 2, and 3 respectively.
1, 3, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 1, 1, 3, 1, 1, 2, 1, 3, 1, 2, 1, 2, 1, 2, 1, 3, 2, 3, 1, 2, 3, 3, 1, 1, 2, 3, 1, 1, 3, 3, 1, 3, 1, 2, 1, 3, 2, 3, 3, 1, 1, 2, 2, 1, 1, 2, 2, 1, 3, 2, 1, 3, 1, 2, 1, 3, 3, 1, 2, 1, 1, 2, 1, 3, 2, 2, 2, 1, 1, 3, 2, 1, 1, 3, 2, 1, 1, 1, 1, 1, 3, 3, 1, 1, 1, 3, 1, 1, 2, 3, 2, 3, 1, 1, 1, 1, 1, 3, 3, 1, 1, 2, 2, 3, 1, 3, 3, 2, 2, 1, 3, 1, 1, 1, 2, 1, 3, 2, 2, 3, 3, 2, 3, 3, 1, 1, 1, 1, 3, 2, 1, 2, 2, 1, 2, 3, 1, 1, 3, 1, 1, 3, 1, 3, 3, 1, 1, 3, 1, 1, 3, 3, 3, 3, 1, 3, 3, 2, 1, 2, 2, 1, 3, 3, 1, 2, 3, 1, 2, 2, 1, 2, 1, 2, 3, 3, 1, 2, 1, 1, 1, 2
What is the most liked flavor?
Yes! you were right. But how to calculate the mode.
Unlike mean and median there isn’t any standard formula for mode.
So lets create a simple frequency table:
Flavor | Vanilla | Chocolate | Straberry |
---|---|---|---|
Frequency | 95 | 58 | 47 |
Hence most of the children likes Vanilla
Normally, the mode is used for categorical data.
With this we come to the end of the topic. In the next part we are going to see about Variablity in a sample.