An average is a measure of where most of the values in the data are located.
The center of the data is where most of the values in the data are located. Averages are measures of the location of the center.
There are different types of averages. The most commonly used are:
Note: In statistics, averages are often referred to as 'measures of central tendency'.
For example, using the values:
The mean is usually referred to as 'the average'.
The mean is the sum of all the values in the data divided by the total number of values in the data:
Note: There are are multiple types of mean values. The most common type of mean is the arithmetic mean.
In this tutorial, 'mean' refers to the arithmetic mean.
The median is the 'middle value' of the data.
The median is found by ordering all the values in the data and picking the middle value:
The median is less influenced by extreme values in the data than the mean.
Changing the last value to 356 does not change the median:
The median is still 40.
Changing the last value to 356 changes the mean a lot:
Note: Extreme values are values in the data that are much smaller or larger than the average values in the data.
The mode is the value(s) that appears most often in the data:
Here, 21 appears two times, and the other values only once. The mode of this data is 21.
The mode is also used for categorical data, unlike the median and mean. Categorical data can't be described directly with numbers, like names:
Here, John appears two times, and the other values only once. The mode of this data is John.
Note: There can be more than one mode if multiple values appear the same number of times in the data.