4  Central tendency I

In the previous chapter, you explored how data can be summarized using tables and visually presented through graphs, enabling important features to be highlighted effectively. In this chapter, we shift our focus to statistical measures that describe the characteristics of a dataset.

One key aspect of data analysis is identifying a single value that represents the overall dataset. This is where measures of central tendency come into play. These are summary statistics that capture the center or typical value of a dataset, providing a concise numerical summary.

There are five commonly used averages: mean, median, and mode, collectively referred to as simple averages, and geometric mean and harmonic mean, known as special averages. In addition to these, there are positional averages, such as quartiles, deciles, and percentiles, which are determined based on the position of values within an ordered dataset. These measures provide insights into the central value and distribution of the data, making them fundamental tools for understanding and interpreting data patterns.

In this section, we will focus on simple averages, with a detailed discussion on positional averages and special averages following later.

Measures of central tendency

Measures of central tendency

Requisites of a good measure of central tendency:

The main objectives of a measure of central tendency are:

4.1 Arithmetic mean

This is what people usually intend when they say “average”. Arithmetic mean or simply the mean of a variable is defined as the sum of the observations divided by the number of observations. Mean of set of numbers \(x_{1},x_{2},\ldots,x_{n}\) is denoted as \(\overline{x}\). It is given by the formula

\[\overline{x} = \frac{x_{1} + x_{2} + \ldots + x_{n}}{n}\]

\[= \frac{1}{n}\sum_{i = 1}^{n}x_{i} \tag{4.1}\]

Example 4.1 Find the mean of the numbers 2, 4, 7, 8, 11, 12

Solution

\[\overline{x} = \frac{2 + 4 + 7 + 8 + 11 + 12}{6} = \frac{44}{6} = 7.33\]

4.1.1 Mean of ungrouped frequency distribution

Direct method

If the numbers \(x_{1},x_{2},\ldots,x_{n}\) occur with frequencies \(f_{1},f_{2},\ldots,f_{n}\) respectively then

\[\overline{x} = \frac{x_{1}f_{1} + x_{2}f_{2\ \ } + \ldots + x_{n}f_{n}}{f_{1} + f_{2} + \ldots + f_{n}}\]

\[= \frac{\sum_{i = 1}^{n}{f_{i}x_{i}}}{\sum_{i = 1}^{n}f_{i}} \tag{4.2}\]

Example 4.2 Table 4.1 below shows the plant height of 50 plants. Find the mean plant height.

Table 4.1: Plant height of 50 plants
Plant height(cm) 159 160 161 162 163
Frequency 3 9 23 11 4

Solution

The calculation can be arranged as shown

Table 4.2: Solution using direct method
Plant height(x) Frequency(f) fx
159 3 477
160 9 1440
161 23 3703
162 11 1782
163 4 652
\(\sum_{i = 1}^{n}f_{i}\)= 50 \(\sum_{i = 1}^{n}{f_{i}x_{i}}\)= 8054

\(\overline{x} = \frac{\sum_{i = 1}^{n}{f_{i}x_{i}}}{\sum_{i = 1}^{n}f_{i}} = \frac{8054}{50}\)= 161.08 cm

Assumed mean method (Indirect method)

The amount of computation involved above can be reduced by using the following formula:

\[\overline{x} = A + \frac{\sum_{i = 1}^{n}{f_{i}d_{i}}}{\sum_{i = 1}^{n}f_{i}} \tag{4.3}\]

where, \(A\) is a convenient assumed mean, which can be any constant. \(d_{i} = x_{i} - A\), \(f_{i}\) is the frequency of \(x_{i}\)

Consider the Table 4.1

let \(A\) = 161; it can be any number in x

Table 4.3: Solution using assumed mean method
Plant height(x) Frequency(f) \(d_i = x_i - 161\) \(f_i d_i\)
159 3 -2 -6
160 9 -1 -9
161 23 0 0
162 11 1 11
163 4 2 8
\(\sum_{i = 1}^{n}f_{i}= 50\) \(\sum_{i = 1}^{n}{f_{i}d_{i}}\)= 4

using Equation 4.3, \(\overline{x} = 161 + \frac{4}{50}\) = 161.08 cm

The mean plant height is 161.08 cm.

4.1.2 Mean of grouped frequency distribution

Direct method

For grouped data, replace the observations in each class by its class mark. This gives an approximate mean unless the actual within-class means equal the class marks. The formula is:

\[\overline{x} = \frac{\sum_{i = 1}^{k}{f_{i}x_{i}}}{n} \tag{4.4}\]

Where \(x_{i}\) = the mid-point of ith class (ith class mark); \(f_{i}\)= the frequency of ith class; \(n\) = the sum of the frequencies or total frequencies in a sample. Note that i =1, 2,…, k, i.e. there are k classes.

Example 4.3 Table 4.4 shows the distribution of the marks scored by 60 students in a Maths examination. Find the mean mark.

Table 4.4: Distribution of the marks scored by 60 students
Mark (%) 60-65 65-70 70-75 75-80 80-85
Number of students 2 15 25 14 4

Solution

The solution can be arranged as shown

Table 4.5: Mean of grouped frequency table using direct method
Marks Class mark(\({x}_{i}\)) Frequency(\({f}_{i}\)) \({f}_{i}{x}_{i}\)
60-65 62.5 2 125
65-70 67.5 15 1012.5
70-75 72.5 25 1812.5
75-80 77.5 14 1085
80-85 82.5 4 330
\(\sum_{i = 1}^{n}f_{i}\)= 60 \(\sum_{i = 1}^{n}{f_{i}x_{i}}\)= 4365

\(\overline{x} = \frac{\sum_{i = 1}^{n}{f_{i}x_{i}}}{\sum_{i = 1}^{n}f_{i}} = \frac{4365}{60}\)= 72.75

The mean mark is 72.75%.

Coding method or Indirect method

If all the class intervals of a grouped frequency distribution have equal size \(C\) (class width); then the following formula can be used instead of direct method above. This formula makes calculations easier.

\[\overline{x} = A + C\frac{\sum_{i = 1}^{n}{f_{i}u_{i}}}{\sum_{i = 1}^{n}f_{i}} \tag{4.5}\]

where \(A\) is a convenient assumed mean, often chosen as the class mark with the highest frequency, \(u_{i} = \frac{x_{i} - A}{C}\), \(f_{i}\) is the frequency of \(x_{i}\), C is the class width.

This is called the “coding” method for computing the mean. It can simplify hand calculations for a grouped frequency distribution with equal class widths; the direct method gives the same result.

Applying the coding method to the same data used in Example 4.3 (Table 4.4).

\(A\) = 72.5, class mark with highest frequency; \(C\) = 5

Table 4.6: Solution using coding method
Marks Class mark(\({x}_{i}\)) Frequency(\({f}_{i}\)) \({u}_{i}=\frac{x_i- 72.5}{5}\) \({f}_{i}{u}_{i}\)
60-65 62.5 2 -2 -4
65-70 67.5 15 -1 -15
70-75 72.5 25 0 0
75-80 77.5 14 1 14
80-85 82.5 4 2 8
\(\sum_{i = 1}^{k}f_{i}\)= 60 \(\sum_{i = 1}^{k}{f_{i}u_{i}}\)=3

using Equation 4.5, \(\overline{x} = 72.5 + 5 \times \left( \frac{3}{60} \right)\)= 72.75

The mean mark is 72.75%.

Merits and demerits of arithmetic mean

Merits

  1. It is rigidly defined.

  2. It is easy to understand and easy to calculate.

  3. For independent observations with finite variance, the sampling variance of the mean decreases as the sample size increases. A larger sample does not remove bias in selection or measurement.

  4. It is a calculated value and is not based on its position in the series.

  5. It is possible to calculate even if some of the details of the data are lacking.

  6. For a normal population, the sample mean has smaller sampling variance than common alternatives such as the sample median.

  7. It provides a good basis for comparison.

Demerits

  1. It cannot be obtained by inspection nor located through a frequency graph.

  2. It cannot be used in the study of qualitative phenomena not capable of numerical measurement i.e. Intelligence, beauty, honesty etc.

  3. It can ignore any single item only at the risk of losing its accuracy.

  4. It is affected very much by extreme values.

  5. It cannot be calculated for open-end classes.

  6. It may lead to fallacious conclusions, if the details of the data from which it is computed are not given.

4.1.3 Weighted average

A weighted average is a method of computing an average where some data points contribute more than others.

ImportantNote

If all the weights of the data point are equal then the weighted average is the same as the simple mean.

The formula for the weighted average is: \[\text{Weighted average} = \frac{\sum w_{i}x_{i}}{\sum w_{i}} \tag{4.6}\] where, \(x_{i}\) = individual data values; \(w_{i}\) = corresponding weights

Example 4.4 If \(x\) = [10, 20, 30] and its corresponding weights are \(w\) = [1, 2, 3] then calculate its weighted average

Solution

Using the Equation 4.6 \[\text{Weighted average} = \frac{(1\times10)+(2\times20)+(3\times30)}{1+2+3} = 23.33\]

Example 4.5 What is the weighted average of the first n natural numbers if the weights assigned to each number are equal to the numbers themselves?

Solution

Using the Equation 4.6

\[ \begin{aligned} \text{Weighted average} &=\frac{1^2+2^2+\cdots+n^2}{1+2+\cdots+n}\\ &=\frac{n(n+1)(2n+1)/6}{n(n+1)/2}\\ &=\frac{2n+1}{3}. \end{aligned} \]

4.1.4 Properties of the arithmetic mean

The sum of deviations from the arithmetic mean is zero:

\[\sum_{i=1}^n(x_i-\overline{x})=0.\]

The sum of squared deviations is smallest when deviations are taken from the mean. For any constant \(a\),

\[\sum_{i=1}^n(x_i-a)^2=\sum_{i=1}^n(x_i-\overline{x})^2+n(\overline{x}-a)^2.\]

If \(y_i=a+bx_i\), then \(\overline{y}=a+b\overline{x}\). For groups with sizes \(n_1,\ldots,n_g\) and means \(\overline{x}_1,\ldots,\overline{x}_g\), the combined mean is \(\sum n_j\overline{x}_j/\sum n_j\). Thus, group means should be weighted by their group sizes when combining observations.

4.2 The median

The median is the middle value in a set of data when the values are arranged in order from smallest to largest. If there is an odd number of values, the median is the one in the middle, with half of the values smaller and half larger. If there is an even number of values, the median is the average of the two middle values. The median is a positional measure: its location is determined by the ordered positions, while its numerical value is obtained from the observation or observations at those positions. It helps to find the central point of the data, especially when there are extreme values or outliers that could affect the average.

4.2.1 Median of ungrouped or raw data

Arrange the given n observations \(x_{1\ },x_{2},\ldots,x_{n}\) in ascending order. If the number of values is odd, median is the middle value. If the number of values is even, median is the mean of middle two values.

Arrange data in ascending then use the following formula

When n is odd, Median = Md =\(\left( \frac{n + 1}{2} \right)^{\text{th}}\)value

When n is even, Median = Md =\({\text{Average of}\left( \frac{n}{2} \right)^{th}\text{and }\left( \frac{n}{2} + 1 \right)}^{\text{th}}\)value

Example 4.6 Find the median of each of the following sets of numbers.

\(a)\) 12, 15, 22, 17, 20, 26, 22, 26, 12

\(b)\) 4, 7, 9, 10, 5, 1, 3, 4, 12, 10

Solution

\(a)\) Arranging the data in an increasing order of magnitude, we obtain 12, 12, 15, 17, 20, 22, 22, 26, 26. Here, N = 9 is odd, and so, median = \(\left( \frac{9 + 1}{2} \right)^{\text{th}}\)= 5th ordered observation = 20.

ImportantNote

If a number is repeated, we still count it the number of times it appears when we calculate the median.

\(b)\) Arranging the data in an increasing order of magnitude, we obtain 1, 3, 4, 4, 5, 7, 9, 10, 10, 12. Here, N = 10 is an even number and so median = \(\frac{1}{2}\){5th ordered observation + 6th ordered observation} = \(\frac{1}{2}\left( 5 + 7 \right) = 6\).

ImportantNote

At least half the observations are less than or equal to a median, and at least half are greater than or equal to it. With repeated values, exactly 50% need not lie strictly on either side.

4.2.2 Median of ungrouped frequency distribution

The median is the middle number in an ordered set of data. In a frequency table, the observations are already arranged in an ascending order. We can obtain the median by looking for the value in the middle position.

Odd number of observations

When the number of observations (n) is odd, then the median is the value at the \(\left( \frac{n + 1}{2} \right)^{\text{th}}\) positional value. For that we use less than cumulative frequency.

Example 4.7 The Table 4.7 shows the frequency of the score obtained in a mathematics quiz. Find the median score.

Table 4.7: Score obtained in a mathematics quiz
Score 0 1 2 3 4
Frequency 3 4 7 6 3

Solution

Total frequency = 3 + 4 + 7 + 6 + 3 = 23 (odd number). Since the number of scores is odd, the median is at \(\left( \frac{23 + 1}{2} \right)^{\text{th}} =\) 12th position.

Table 4.8: Less than cumulative frequency of the scores in mathematics quiz
Score 0 1 2 3 4
Frequency 3 4 7 6 3
Less than cumulative frequency 3 7 14 20 23

To find out the 12th position, we use less than cumulative frequencies in Table 4.8 which helps us track how many values are less than or equal to each score. In the table, the less than cumulative frequency for the score 0 is 3 (meaning the first 3 values are 0), for the score 1 is 7 (meaning the first 7 values are 0 and 1), and for the score 2 is 14 (meaning the first 14 values are 0, 1, and 2). The first 14 ordered observations are 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2. Thus the 12th observation is 2. The cumulative frequencies locate it without listing every observation.

Now, we need to find where the 12th value falls. The 12th value is between the 7th and 14th values, so based on less than cumulative frequency it is clear that 12th value is 2. So the median is 2.

Even number of observations

When the number of observations is even, then the median is the average of \({\left( \frac{n}{2} \right)^{th}\text{and}\left( \frac{n}{2} + 1 \right)}^{\text{th}}\) position values.

Example 4.8 The Table 4.9 is a frequency table of the marks obtained in a competition. Find the median score.

Table 4.9: Distribution of marks obtained in a competition.
Mark 0 1 2 3 4
Frequency 11 9 5 10 15

Solution

Total frequency = 11 + 9 + 5 + 10 + 15 = 50 (even number). Since the number of scores is even, the median is at the average of the values in \({\left( \frac{n}{2} \right)^{th} = 25\ and\ \left( \frac{n}{2} + 1 \right)}^{\text{th}} = 26\) positions. To find out the 25th position and 26th position, we add up the frequencies as shown:

Table 4.10: Less than cumulative frequency of marks obtained.
Mark 0 1 2 3 4
Frequency 11 9 5 10 15
Less than cumulative frequency 11 20 25 35 50

The mark at the 25th position is 2 and the mark at the 26th position is 3. The median is the average of the scores at 25th and 26th positions = \(\frac{2 + 3}{2} = 2.5\)

4.2.3 Median of grouped frequency distribution

The exact value of the median of a grouped data cannot be obtained because the actual values of a grouped data are not known. For a grouped frequency distribution, the median is in the class interval which contains the \(\left( \frac{N}{2} \right)^{\text{th}}\)ordered observation, where \(N\) is the total number of observations. This class interval is called the median class. The median of a grouped frequency distribution can be estimated by either of the following two methods:

Linear interpolation method

The median of a grouped frequency distribution can be estimated by linear interpolation. We assume that the observations are evenly spread through the median class. The median can then be computed by using the following formula:

\[Median = L + \left( \frac{\frac{1}{2}N - F}{f_{m}} \right)C \tag{4.7}\]

where, \(N\) = total number of observations, \(L\) = lower class boundary of the median class, \(F\) = sum of all frequencies below L(cumulative frequency), \(f_{m}\) = frequency of the median class, \(C\) = class width of the median class.

Estimation from cumulative frequency curve

The median of a grouped frequency distribution can be estimated from a cumulative frequency curve. A horizontal line is drawn from the point \(\frac{\text{N}}{2}\) on the vertical axis to meet the cumulative frequency curve. From the point of intersection, a vertical line is dropped to the horizontal axis. The value on the horizontal axis is equal to the median.

Median from a cumulative frequency curve

Example 4.9 Table 4.11 below gives the distribution of the heights of 60 students in a senior high school. Find the median height of the students

Table 4.11: Distribution of heights of 60 students
Height(cm) 145-150 150-155 155-160 160-165 165-170 170-175
Number of students 3 9 16 18 10 4

Solution

(i) Linear interpolation method

\(N\) = 60 (Sum of frequencies)

Median class= class interval which contains the \(\left( \frac{N}{2} \right)^{\text{th}}\)ordered observation; here \(\left( \frac{60}{2} \right)^{\text{th}} =\) 30th observation. Before the class 160-165 there are 3+9+16 = 28 observations so 30th observation will be in the class 160-165, therefore it is the median class.

\(L\) = lower class boundary of the median class = 160

\(F\) = sum of all frequencies below 160(cumulative frequency) = 16+9+3 = 28

\(f_{m}\) = frequency of the median class = 18

\(C\) = class width of the median class = 5

using Equation 4.7, \(median = 160 + \left( \frac{\frac{1}{2}60 - 28}{18} \right)5\) = 160.56

(ii) From a cumulative frequency curve

Figure 4.1: Median from a cumulative frequency curve for Example 4.9

Merits and demerits of median

Merits

  1. Median is not influenced by extreme values because it is a positional average.

  2. Median can be estimated with open-end classes if the median class itself has known boundaries and sufficient information is available.

  3. Median can sometimes be located with incomplete information, provided the middle ordered value or values can still be identified.

Demerits

  1. A slight change in the series may bring drastic change in median value.

  2. For even-sized raw datasets, the median is the exact average of the two middle values and need not be an observed value. For grouped data, interpolation gives an estimate.

  3. It is less convenient than the mean for some algebraic calculations, such as combining group summaries.

  4. It does not take into account all the observations.

4.3 The mode

The mode of a set of data is the value which occurs with the greatest frequency. The mode is therefore the most frequently occurring value in a dataset. The mode is an important measure in case of qualitative data. The mode can be used to describe both quantitative and qualitative data.

4.3.1 Mode of ungrouped or raw data

For ungrouped data or a series of individual observations, mode is often found by mere inspection.

Example 4.10 Find the mode of each of the following sets of numbers.

\(a)\) 1, 2, 2, 2, 3

\(b)\) 2, 3, 4, 4, 5, 5

\(c)\) (i) 3, 6, 8, 9; (ii) 4, 4, 4, 7, 7, 7, 9, 9, 9

Solution

\(a)\) The mode of 1, 2, 2, 2, 3 is 2.

\(b)\) The modes of 2, 3, 4, 4, 5, 5 are 4 and 5.

\(c)\) The mode does not exist for either data set, since every observation has the same frequency.

ImportantNote

It can be seen that the mode of a distribution may not exist, and even if it exists, it may not be unique. Distributions with a single mode are referred to as unimodal. Distributions with two modes are referred to as bimodal. Distributions may have several modes, in which case they are referred to as multimodal.

Example 4.11 20 patients selected at random had their blood groups determined. The results are given in the Table 4.12

Table 4.12: Blood group of 20 patients
Blood group A AB B O
No. of patients 2 4 6 8

Solution

The blood group with the highest frequency is O. The mode of the data is therefore blood group O. The largest group of patients selected has blood group O (8 out of 20); it is not a majority. Notice that the mean and the median cannot be applied to the data. This is because blood group is a nominal variable; numerical category codes would not make arithmetic meaningful. However, it can be seen that the mode can be used to describe both quantitative and qualitative data.

4.3.2 Mode of grouped data

For equal-width classes with a clear interior modal class, the mode can be estimated using the formula below. With unequal class widths, compare frequency densities rather than frequencies; the formula below must not be applied directly to the raw frequencies.

\[mode = L + \left( \frac{f_{m}-f_{p}}{2f_{m}-f_{p} - f_{s}} \right)C \tag{4.8}\]

Locate the highest frequency the class corresponding to that frequency is called the modal class.

where, \(L\) = lower class boundary of the modal class; \(f_{m}\) = the frequency of modal class; \(f_{p}\)= the frequency of the class preceding the modal class; \(f_{s}\)= the frequency of the class succeeding the modal class and \(C\) = class width

Example 4.12 For the frequency distribution of weights of sorghum ear-heads given in Table 4.13 below. Calculate the mode.

Table 4.13: Frequency distribution of weights of sorghum ear heads
Weights of ear heads (g) No of ear heads (f)
60-80 22
80-100 38
100-120 45
120-140 35
140-160 20

Solution

(i) Using the formula

Modal class is 100-120, since it is the class with highest frequency.

Using Equation 4.8 mode is calculated as below.

\(mode = 100 + \left( \frac{45-38}{90-38-35} \right)20 =\) 108.24

(ii) Using histogram

Consider the figure below. The modal class is the class interval which corresponds to rectangle \(\text{ABCD}\). An estimate of the mode of the distribution is the abscissa of the point of intersection of the line segments \(\overline{\text{AE}}\) and \(\overline{\text{BF}}\) in the figure.

Figure 4.2: Estimating the mode graphically from a histogram for Example 4.12

Merits and demerits of mode

Merits

  1. It is readily comprehensible and easy to compute. In some cases it can be computed merely by inspection.

  2. It is not affected by extreme values. It can be obtained even if the extreme values are not known.

  3. A modal category can be identified with open-end classes, but a numerical grouped-mode estimate requires sufficient information about the modal class and its neighbours.

  4. Mode can be located on the graph also.

  5. Mode can be used to describe both quantitative and qualitative data.

Demerits

  1. The mode is not unique i.e. there can be more than one mode for a given set of data.

  2. The mode of a set of data may not exist.

  3. It is not based upon all the observations.

4.4 Chapter Summary

Fill in the blanks

Answers are given at the end of the chapter.

  1. The sum of observations divided by their number is called the arithmetic __________.

  2. The sum of deviations from the arithmetic mean is __________.

  3. The average calculated using assigned weights is called the __________ mean.

  4. The middle value of an ordered dataset is called the __________.

  5. The value occurring most frequently is called the __________.

  6. A distribution with exactly two modes is called __________.

  7. The class containing the median position is called the __________ class.

  8. For equal class widths, the class with the highest frequency is called the __________ class.

  9. Among the mean and median, the measure less affected by extreme values is the __________.

  10. The sum of squared deviations is least when deviations are taken from the arithmetic __________.

  11. The measure of central tendency suitable for nominal data is the __________.

  12. Adding a constant to every observation increases the mean by the same __________.

Short-answer questions

  1. What is meant by central tendency? Explain its importance.

  2. Explain the characteristics of a good measure of central tendency.

  3. Explain the different measures of central tendency.

  4. Define arithmetic mean and explain its calculation for ungrouped data.

  5. Explain the direct method, assumed mean method, and coding method of calculating arithmetic mean.

  6. What is a weighted mean? When is it used?

  7. Define geometric mean and harmonic mean.

  8. Explain the relationship among arithmetic mean, geometric mean, and harmonic mean.

  9. Define median and explain how it is calculated for an ungrouped dataset.

  10. Explain the calculation of median for a frequency distribution.

  11. Explain the calculation of median for grouped data.

  12. What is a median class?

  13. Define mode and explain how it is determined for a frequency distribution.

  14. What is a modal class?

  15. Explain unimodal, bimodal, and multimodal distributions.

  16. Compare mean, median, and mode.

  17. State the advantages and disadvantages of arithmetic mean.

  18. State the advantages and disadvantages of median.

  19. State the advantages and disadvantages of mode.

  20. Which measure of central tendency is most appropriate when extreme values are present? Explain.

Numerical and conceptual questions

Answers are given at the end of the chapter.

  1. The mean of 100 observations is 50. If 5 is added to every observation, what is the new mean?

  2. The mean of 100 observations is 50. If 5 is subtracted from every observation, what is the new mean?

  3. What is the sum of deviations of 20 observations from their arithmetic mean?

  4. All 20 observations have the value 4. Find their mean, median and mode.

  5. If the mean of a set of observations is 25 and 10 is added to every observation, what will be the new mean?

  6. If the mean of a set of observations is 25 and every observation is multiplied by 3, what will be the new mean?

  7. The median of five observations is 12. If 10 is added to every observation, what is the new median?

  8. Find the mode of 3, 4, 4, 4, 5, 6.

  9. Find the weighted mean of 10 and 20 when their respective weights are 3 and 2.

  10. A moderately skewed distribution has mean 40 and mode 37. Estimate its median using the empirical mean–median–mode relationship.

Important formulae

Arithmetic mean:

\[ \bar{x}=\frac{\sum x_i}{n} \]

Arithmetic mean for a frequency distribution:

\[ \bar{x}=\frac{\sum f_ix_i}{\sum f_i} \]

Assumed mean method:

\[ \bar{x}=A+\frac{\sum f_id_i}{\sum f_i} \]

where

\[ d_i=x_i-A \]

Coding method:

\[ \bar{x}=A+C\frac{\sum f_iu_i}{\sum f_i} \]

where

\[ u_i=\frac{x_i-A}{C} \]

Weighted mean:

\[ \bar{x}_w=\frac{\sum w_ix_i}{\sum w_i} \]

Median for odd \(n\):

\[ Md=\left(\frac{n+1}{2}\right)^{\text{th}}\text{ observation} \]

Median for even \(n\):

\[ Md=\frac{1}{2} \left[ \left(\frac{n}{2}\right)^{\text{th}}\text{ observation} + \left(\frac{n}{2}+1\right)^{\text{th}}\text{ observation} \right] \]

Median for grouped data:

\[ Md=L+\left(\frac{\frac{N}{2}-F}{f}\right)C \]

Mode for grouped data:

\[ Mo=L+\left(\frac{f_m-f_p}{2f_m-f_p-f_s}\right)C \]

Relationship among arithmetic mean, geometric mean, and harmonic mean:

\[ AM\geq GM\geq HM \]

Quick revision

  • Mean → arithmetic average of observations.
  • Median → middle value after arranging observations.
  • Mode → most frequently occurring value.
  • Mean → uses all observations.
  • Median → based on position.
  • Mode → based on frequency.
  • Mean is affected by extreme values.
  • Median is less affected by extreme values.
  • Mode is useful for identifying the most common category or value.
  • Mean + constant → mean increases by the same constant.
  • Mean × constant → mean is multiplied by the same constant.
  • Adding a constant to every observation does not change the standard deviation.
  • Multiplying every observation by a constant multiplies the standard deviation by the absolute value of that constant.
  • Sum of deviations from the arithmetic mean = 0.
  • Standard deviation = 0 → all observations are identical.
  • For positive observations, \(AM\geq GM\geq HM\).
  • Symmetric unimodal distribution with a finite mean and a central mode → mean = median = mode.
  • In many familiar positively skewed unimodal distributions, mean > median > mode; this is not a universal theorem.
  • In many familiar negatively skewed unimodal distributions, mean < median < mode; this is not a universal theorem.

Answers to fill in the blanks

1. Mean 2. Zero 3. Weighted 4. Median 5. Mode 6. Bimodal 7. Median 8. Modal 9. Median 10. Mean 11. Mode 12. Constant

Solutions to numerical and conceptual questions

  1. Using Equation 4.1, adding a constant to every observation shifts the mean by that constant: new mean \(=50+5=55\).

  2. Subtracting a constant shifts the mean by that constant: new mean \(=50-5=45\).

  3. Since \(\sum(x_i-\bar{x})=0\) always, the sum of deviations is 0.

  4. Every observation is 4, so mean = median = mode = 4.

  5. Using Equation 4.1, new mean \(=25+10=35\).

  6. Using Equation 4.1, new mean \(=3(25)=75\).

  7. Adding the same constant preserves the ordering and shifts the median: new median \(=12+10=22\).

  8. The most frequent value is 4, so the mode is 4.

  9. Weighted mean \(=\dfrac{3(10)+2(20)}{3+2}=14\).

  10. Using \(Mode=3\,Median-2\,Mean\), \(37=3\,Median-80\), so the estimated median is 39. This empirical relationship gives an approximation.

CautionHistorical Insights

Ancient wall measuring with the mode!

Back in the 5th century BCE, the defenders of Plataea, allies of Athens under siege by the Spartans, used a clever “statistical hack” to plan their escape. Soldiers counted bricks in an unplastered section of the enemy’s wall multiple times, and the most frequent count (what we now call the mode) was taken as the best estimate. They then multiplied this by the height of a brick to calculate the wall’s height and build ladders tall enough to scale it and slip past the siege. Problem-solving with statistics!

Astronomy and the mean

Although the Greeks knew the concept of the arithmetic mean, it wasn’t generalized for multiple values until the 16th century. Simon Stevin’s influential 1585 account helped popularise calculation with decimal fractions in Europe. Astronomer Tycho Brahe was one of the first to use the mean, reducing errors in his estimates of celestial body locations.

Navigation and the median

The concept of the median first appeared in 1599 in Edward Wright’s book on navigation, Certaine errors in navigation. Wright used it to determine the most likely value in a series of compass readings. Later, in 1669, Christiaan Huygens noticed the difference between the mean and the median while working with Graunt’s tables. It’s amazing how these early navigators and mathematicians paved the way for the stats we use today.

TipQuotes to Inspire

“If the statistics are boring, you’ve got the wrong numbers.”
- Edward R. Tufte