There is no RationalWiki without you. We are a small non-profit with no staff – we are hundreds of volunteers who document pseudoscience and crankery around the world every day. We will never allow ads because we must remain independent. We cannot rely on big donors with corresponding big agendas. We are not the largest website around, but we believe we play an important role in defending truth and objectivity.
If everyone who saw this today donated $5, we would meet our goal for 2021.
| Fighting pseudoscience isn't free.|
We are 100% user-supported! Help and donate $5, $20 or whatever you can today with !
| Part of a|
convergent series on
Central tendency is a term in descriptive statistics which gives an indication of the typical score in that data set. The three most common measures typically used for this: the mean, the median (not to be confused with Medium) and the mode. However, there are other measures of central tendency.
Average is an often-used term that may refer to any measure of central tendency, though in casual conversation it is generally assumed to refer to the mean.
The arithmetic mean is easily calculated by summing up all scores in the sample and then dividing by the number of scores in that sample. The mean for the sample 5, 6, 9, 2 would therefore be calculated as follows:
The mathematical formula can be expressed as:
where is the total number of samples.
The above is the arithmetic mean; there are also other means, such as the geometric mean and the harmonic mean, but usually the arithmetic mean is meant if the type of mean is not specified.
The median is defined as the value that lies in the middle of the sample when that data set is ordered (by rank).
It is calculated by ranking all the scores in order and taking the one in the middle. When there is an even number, conventionally, the mean of the two in the middle is taken.
For example, the median for the already ordered data set
[2, 12, 12, 19, 19, 20, 20, 20, 25]. It has 9 data points (n = 9; it is the number of "observations" in that data set) and the value in the middle would be the fifth rank, which is 19.
However, as another example, the data set
[2, 12, 12, 19, 19, 20, 20, 20, 25, 25] has an even number of observations (n = 10), the median would be between 19 (fifth rank) and 20 (sixth rank), which are the two scores in the middle. Therefore, it is the mean of those two, which is 19.5.
The mode is simply the most frequently occurring value in the data set.
For example, the mode of the sample
[3, 3, 2, 1, 4, 3] would be 3 (since it appears thrice). If there is a second number that occurs just as frequently within the sample, then it can be described as having two modes (bimodal). However, some some sources will identify such a sample as having no mode.
The three methods can be useful in different ways, and how they relate can give information about your statistical sample. The mean is the most intuitive measure of the concept of "average", while the median is most useful for breaking samples into groups (e.g., quartiles). For evenly distributed samples, or symmetrically distributed samples, the median and mean (and usually the mode) should match. The difference between them is an indicator of how skewed the data is. For instance, in economics, income is not evenly distributed (not by a long shot), nor even symmetrically distributed, and the mean value is easily shifted by those high earners at the top — for this reason the median is most often used.
Other measures of central tendency
- Geometric Mean: all the values are multiplied and then the nth root is taken (where n is the total number of scores). Useful in some geometric (heh) contexts; for example, the area of an ellipse is equal to that of a circle whose radius is the geometric mean of the ellipse's semi-major and semi-minor axes. Has the neat property of being equal to e raised to the arithmetic mean of the natural logarithms of the values being averaged. (The same principle holds for other bases, so for example it could be defined as ten raised to the arithmetic mean of the common logarithms.) The mathematical formula can be expressed as:
- Harmonic Mean: the mean obtained by taking the reciprocal of the arithmetic mean of the reciprocals of a set of (nonzero) numbers. One of the most memorable uses of the harmonic mean is in physics, where the equivalent resistance of a set of resistors in parallel is the harmonic mean of their resistances divided by the number of resistors. The same principle applies to capacitors placed in series. The mathematical formula can be expressed as:
- Weighted Mean: if the values have different "weights" (not in the physical sense), the most appropriate way to calculate an average is to calculate a weighted mean. This is done by multiplying every value
aiwith its corresponding weight
ibeing the index or rank of the data set) and the summing up all the products (i.e.
Σaiwi = a1w1 + a2w2 + a3w3 + ... + a(i-1)w(i-1) + aiwi) and then dividing it all by the sum of the weights (i.e.
Σwi = w1 + w2 + w3 + ... + w(i-1) + wi). Ergo, the final formula:
Weighted mean = (Σaiwi):(Σwi)
For example, a school test has 4 subjects with different weights (in parentheses), going from 0 (minimum) to 10 (maximum): Mathematics (3), physics (2), chemistry (1) and biology (1). Student A got the following grades, respectively:
6, 4, 8, 9. The weighted mean therefore is:
Weighted mean = (6*3 + 4*2 + 8*1 + 9*1)/(3 + 2 + 1 + 1) = (18 + 8 + 8 + 9)/(7) = 43/7 ≈ 6
- Truncated Mean