Mada za sehemu hiiStatisticsMada 2
- Measure Of Central Tendency
- Measure of Dispersion
A measure of central tendency is a value that describes a set of data by identifying the central position of a given set of values. It indicates the location or the general position of the distribution on the x-axis.
Methods for calculating the arithmetic mean
The arithmetic mean is defined as the sum of the values of all observations divided by the total number of observations. It is mostly used for normally distributed data but is influenced by outliers.
There are three methods of calculating the arithmetic mean: the common arithmetic mean method, the assumed mean method, and the coding method. This section focuses on the common arithmetic mean method.
Common arithmetic mean method
If and are the values and their corresponding frequencies of grouped data, respectively, then the common arithmetic mean, , is given by:
Where is the total number of observations, the formula can be written as:
Example 1
The number of students in a certain school who attended 30 programs during a bonanza are summarized in the following table:
| Number of students | Frequency |
|---|---|
| 2 | 6 |
| 5 | 10 |
| 6 | 8 |
| 10 | 1 |
| 12 | 5 |
Find the mean number of students who attended the programs.
Solution:
Therefore, the mean number of students who attended the programs is 6.
Example 2
The following table shows the masses of members at a certain sports club. Calculate the mean mass of the sports members.
| Mass (kg) | Frequency |
|---|---|
| 40 – 49 | 9 |
| 50 – 59 | 8 |
| 60 – 69 | 14 |
| 70 – 79 | 12 |
| 80 – 89 | 6 |
| 90 – 99 | 3 |
Solution:
| Mass (kg) | Frequency () | Class mark () | |
|---|---|---|---|
| 40 – 49 | 9 | 44.5 | 400.5 |
| 50 – 59 | 8 | 54.5 | 436 |
| 60 – 69 | 14 | 64.5 | 903 |
| 70 – 79 | 12 | 74.5 | 894 |
| 80 – 89 | 6 | 84.5 | 507 |
| 90 – 99 | 3 | 94.5 | 283.5 |
| N = 52 |
Therefore, the mean mass of the members is 65.8 kg.
Example 3
The following frequency distribution table shows the students' marks in a Mathematics mid-term test at a certain school.
| Marks | Number of students |
|---|---|
| 0 – 10 | 3 |
| 10 – 20 | 7 |
| 20 – 30 | 15 |
| 30 – 40 | 9 |
| 40 – 50 | 12 |
| 50 – 60 | 7 |
| 60 – 70 | 8 |
Calculate the mean of the students' marks to the nearest whole number.
Solution:
| Marks | Frequency () | Class mark () | |
|---|---|---|---|
| 0 – 10 | 3 | 5 | 15 |
| 10 – 20 | 7 | 15 | 105 |
| 20 – 30 | 15 | 25 | 375 |
| 30 – 40 | 9 | 35 | 315 |
| 40 – 50 | 12 | 45 | 540 |
| 50 – 60 | 7 | 55 | 385 |
| 60 – 70 | 8 | 65 | 520 |
| N = 61 |
Therefore, the mean of the students' marks to the nearest whole number is 37.
Example 4
The following data set represents the age distribution of a sample of 72 women having multiple delivery births in 2018.
| Age (years) | Number |
|---|---|
| 15 – 19 | 2 |
| 20 – 24 | 5 |
| 25 – 29 | 17 |
| 30 – 34 | 28 |
| 35 – 39 | 17 |
| 40 – 44 | 3 |
Find the mean age of the women in years.
Solution:
The frequency distribution table for women having multiple delivery births in 2018 is tabulated as follows.
| Age | Frequency () | Class mark () | |
|---|---|---|---|
| 15 – 19 | 2 | 17 | 34 |
| 20 – 24 | 5 | 22 | 110 |
| 25 – 29 | 17 | 27 | 459 |
| 30 – 34 | 28 | 32 | 896 |
| 35 – 39 | 17 | 37 | 629 |
| 40 – 44 | 3 | 42 | 126 |
| N = 72 |
From the common arithmetic mean formula,
Therefore, the mean age of women having multiple delivery is approximately 31.3 years. Rounding to the nearest whole number would give 31 years.
The assumed mean method is used to find the arithmetic mean of grouped data. This method is recommended for large datasets because it simplifies calculations.
Let A be an assumed mean and be the deviation of each data point or class mark from A, then .
Substituting equation (4.2) into the common mean formula (4.1) gives:
Since , we have:
Therefore, the arithmetic mean by the assumed mean method is given by:
Note: The assumed mean can be any class mark, but it's preferable to choose the class mark of the modal class or the central class.
Example 5
The following are tonnes of cement transported from the warehouse to retailers for 24 consecutive days:
66, 75, 79, 56, 61, 77, 92, 75, 78, 51, 82, 85, 59, 66, 91, 98, 90, 73, 71, 83, 85, 91, 77, 70.
Find the mean tonnes of the distribution using classes of width 10, starting with the class intervals , , ...
Solution:
Grouping the data and taking the assumed mean A to be 75 tonnes:
| Class interval | Frequency () | Class mark () | ||
|---|---|---|---|---|
| 50 – 59 | 3 | 55 | -20 | -60 |
| 60 – 69 | 3 | 65 | -10 | -30 |
| 70 – 79 | 9 | 75 | 0 | 0 |
| 80 – 89 | 4 | 85 | 10 | 40 |
| 90 – 99 | 5 | 95 | 20 | 100 |
| N = 24 |
From the formula :
Therefore, the mean tonnes of the cement transported from the warehouse to retailers is approximately 77.1 tonnes.
The coding method (also called step deviation) simplifies calculations when the values of x, or both x and f, are large. It involves taking deviations from an arbitrary value A and then dividing by a common class size c.
For grouped or continuous frequency data with class intervals of class size c and deviation , the coding number is calculated as:
Since , we have:
Rearranging equation (4.4) gives:
Substituting equation (4.5) into the common mean formula (4.1) gives:
Since , we have:
Therefore, the arithmetic mean by the coding method is given by:
Example 1
Use the coding method to calculate the mean for the following frequency distribution:
| Marks | Number of students |
|---|---|
| 0 – 10 | 6 |
| 10 – 20 | 5 |
| 20 – 30 | 8 |
| 30 – 40 | 15 |
| 40 – 50 | 7 |
| 50 – 60 | 6 |
| 60 – 70 | 3 |
Solution:
From the given distribution, and let the assumed mean be .
| Marks | Class mark () | Number of students () | ||
|---|---|---|---|---|
| 0 – 10 | 5 | 6 | -3 | -18 |
| 10 – 20 | 15 | 5 | -2 | -10 |
| 20 – 30 | 25 | 8 | -1 | -8 |
| 30 – 40 | 35 | 15 | 0 | 0 |
| 40 – 50 | 45 | 7 | 1 | 7 |
| 50 – 60 | 55 | 6 | 2 | 12 |
| 60 – 70 | 65 | 3 | 3 | 9 |
| N = 50 |
Using the coding method formula, :
Therefore, the mean of the distribution is 33.4.
Example 2
The following is a frequency distribution table for the seed yields from the plots. Use the coding method to calculate the mean of the seed yields per plot.
| Seed yields per plot in grams | Number of plots |
|---|---|
| 64.5 – 84.5 | 3 |
| 84.5 – 104.5 | 5 |
| 104.5 – 124.5 | 7 |
| 124.5 – 144.5 | 20 |
Solution:
From the frequency distribution table, class size . Let be the assumed mean.
| Seed yields in grams | Number of plots () | Class mark () | ||
|---|---|---|---|---|
| 64.5 – 84.5 | 3 | 74.5 | -1 | -3 |
| 84.5 – 104.5 | 5 | 94.5 | 0 | 0 |
| 104.5 – 124.5 | 7 | 114.5 | 1 | 7 |
| 124.5 – 144.5 | 20 | 134.5 | 2 | 40 |
| N = 35 |
Using the coding method formula, :
Therefore, the mean seed yields per plot is approximately 119.6 grams.
The median is a measure of central tendency representing the middle value of an ordered dataset. It divides the data into two equal halves. It's a positional value, depending on the data's position, not magnitude. The median is used for skewed distributions and is robust against outliers.
Median for grouped data
For grouped data, the median is found by:
- Arranging class intervals in ascending or descending order.
- Identifying the median class (the class interval containing half of the total observations).
The median () formula is derived from the cumulative frequency curve (ogive). Consider:
: Lower real limit of the median class : Frequency of the median class : Sum of frequencies of classes before the median class : Total number of frequencies : Class size
Figure 4.1 (Not included here, but assumed to be a standard ogive diagram)
From the (assumed) Figure 4.1, the tangent of angle in the right-angled triangle PQR is given by:
Here, is the difference between half the total frequencies () and the cumulative frequency before the median class ():
The difference between the median value () and the lower real limit () is related to the class size:
Substituting equations (4.8) and (4.9) into (4.7) would relate the change in cumulative frequency to the change in x on the ogive, leading to:
By comparing the ratios of changes (as in similar triangles on the ogive), we have the proportion:
Cross-multiplying and rearranging to solve for gives the median formula for grouped data:
This is the final formula for calculating the median of grouped data.
Example 1
Calculate the median for the following data.
| Height in inches | Number of samplings |
|---|---|
| 3 – 4 | 3 |
| 4 – 5 | 7 |
| 5 – 6 | 12 |
| 6 – 7 | 16 |
| 7 – 8 | 22 |
| 8 – 9 | 20 |
| 9 – 10 | 13 |
| 10 – 11 | 7 |
Solution:
| Class interval | Frequency () | Cumulative frequency |
|---|---|---|
| 3 – 4 | 3 | 3 |
| 4 – 5 | 7 | 10 |
| 5 – 6 | 12 | 22 |
| 6 – 7 | 16 | 38 |
| 7 – 8 | 22 | 60 |
| 8 – 9 | 20 | 80 |
| 9 – 10 | 13 | 93 |
| 10 – 11 | 7 | 100 |
Since , the median class is 7 – 8.
Therefore, , , , and .
Using the median formula:
Therefore, the median is approximately 7.55 inches.
Example 2
Suppose fifty timber trees are grown using special soil. After some days their heights (to the nearest millimetres) are measured and grouped as shown in the following table:
| Lengths (mm) | Frequency |
|---|---|
| 150 – 154 | 5 |
| 155 – 159 | 2 |
| 160 – 164 | 6 |
| 165 – 169 | 8 |
| 170 – 174 | 9 |
| 175 – 179 | 11 |
| 180 – 184 | 6 |
| 185 – 189 | 3 |
Find the median measure of height of the trees.
Solution:
| Length (mm) | Class boundaries | Frequency () | Cumulative frequency |
|---|---|---|---|
| 150 – 154 | 149.5 – 154.5 | 5 | 5 |
| 155 – 159 | 154.5 – 159.5 | 2 | 7 |
| 160 – 164 | 159.5 – 164.5 | 6 | 13 |
| 165 – 169 | 164.5 – 169.5 | 8 | 21 |
| 170 – 174 | 169.5 – 174.5 | 9 | 30 |
| 175 – 179 | 174.5 – 179.5 | 11 | 41 |
| 180 – 184 | 179.5 – 184.5 | 6 | 47 |
| 185 – 189 | 184.5 – 189.5 | 3 | 50 |
Since , the median class is 170 – 174.
Therefore, , , , and .
Therefore, the median height of the trees is approximately 171.7 mm.
Quartiles divide a dataset into four equal parts. The lower quartile (or first quartile), denoted by , separates the lowest 25% of the data from the rest. The upper quartile (or third quartile), denoted by , separates the highest 25% of the data from the rest. The median (second quartile, ) separates the data into two halves.
The formulas for computing quartiles are:
Where:
: Lower limit of the quartile class : Sum of frequencies preceding the quartile class : Frequency of the quartile class : Class size : Total number of observations
The general formula for the quartile is:
Interquartile range (IQR)
The interquartile range (IQR) measures the spread of the middle 50% of the data. It's the difference between the upper and lower quartiles:
Semi-interquartile range (SIR)
The semi-interquartile range (SIR) is half of the interquartile range. It provides a measure of dispersion around the median:
The procedure for finding and is the same as for the general formula, just with different values of .
Example 1
The following distribution table gives the amount of time (in minutes) spent on the internet each morning by a group of social workers.
| Time spent on internet | Number of social workers |
|---|---|
| 10 – 12 | 4 |
| 13 – 15 | 13 |
| 16 – 18 | 16 |
| 19 – 21 | 3 |
| 22 – 24 | 24 |
Find the interquartile range for the frequency distribution table.
Solution:
| Class interval | Class boundary | Frequency | Cumulative frequency |
|---|---|---|---|
| 10 – 12 | 9.5 – 12.5 | 4 | 4 |
| 13 – 15 | 12.5 – 15.5 | 13 | 17 |
| 16 – 18 | 15.5 – 18.5 | 16 | 33 |
| 19 – 21 | 18.5 – 21.5 | 3 | 36 |
| 22 – 24 | 21.5 – 24.5 | 24 | 60 |
The interquartile range is given by the formula, .
First quartile ():
. The cumulative frequency just greater than or equal to 15 is 17. The corresponding class is 13-15.
, , , .
Third quartile ():
. The cumulative frequency just greater than or equal to 45 is 60. The corresponding class is 22-24.
, , , .
Interquartile range (IQR):
Therefore, the interquartile range is approximately 7.59 minutes.
Example 2
The following table shows the distribution of maximum load, in tonnes, produced by a certain metropolitan company.
| Maximum load (in tonnes) | Number of cables |
|---|---|
| 8.75 – 9.25 | 3 |
| 9.25 – 9.75 | 2 |
| 9.75 – 10.25 | 5 |
| 10.25 – 10.75 | 9 |
| 10.75 – 11.25 | 11 |
| 11.25 – 11.75 | 14 |
| 11.75 – 12.25 | 5 |
| 12.25 – 12.75 | 2 |
| 12.75 – 13.25 | 5 |
| 13.25 – 13.75 | 4 |
Use the distribution table to find each of the following:
(a) First quartile (b) Third quartile (c) Interquartile range (d) Semi-interquartile range
Solution:
| Maximum load (in tonnes) | Frequency | Cumulative frequency |
|---|---|---|
| 8.75 – 9.25 | 3 | 3 |
| 9.25 – 9.75 | 2 | 5 |
| 9.75 – 10.25 | 5 | 10 |
| 10.25 – 10.75 | 9 | 19 |
| 10.75 – 11.25 | 11 | 30 |
| 11.25 – 11.75 | 14 | 44 |
| 11.75 – 12.25 | 5 | 49 |
| 12.25 – 12.75 | 2 | 51 |
| 12.75 – 13.25 | 5 | 56 |
| 13.25 – 13.75 | 4 | 60 |
,
(a) First quartile ():
. The cumulative frequency just greater than or equal to 15 is 19. The corresponding class is 10.25-10.75.
, , .
(b) Third quartile ():
. The cumulative frequency just greater than or equal to 45 is 49. The corresponding class is 11.75-12.25.
, , , and .
Therefore, 75% of the maximum load is less than or equal to 11.85 tonnes.
(c) Interquartile range (IQR):
Therefore, the interquartile range is 1.32 tonnes.
(d) Semi-interquartile range (SIR):
Therefore, the semi-interquartile range is 0.66 tonnes.
Percentiles divide the total frequency into one hundred equal parts. The general formula for the percentile is:
Where:
: Lower limit of the percentile class : Frequency of the percentile class : Class size : Total number of observations : Sum of the frequencies of all classes below the percentile class
Example 1
Given the following distribution table:
| Marks | Number of students |
|---|---|
| 5 – 10 | 5 |
| 10 – 15 | 6 |
| 15 – 20 | 15 |
| 20 – 25 | 10 |
| 25 – 30 | 5 |
| 30 – 35 | 4 |
| 35 – 40 | 2 |
| 40 – 45 | 2 |
Compute each of the following:
(a) The 50th percentile (b) The 70th percentile
Solution:
| Class interval | Frequency | Cumulative frequency |
|---|---|---|
| 5 – 10 | 5 | 5 |
| 10 – 15 | 6 | 11 |
| 15 – 20 | 15 | 26 |
| 20 – 25 | 10 | 36 |
| 25 – 30 | 5 | 41 |
| 30 – 35 | 4 | 45 |
| 35 – 40 | 2 | 47 |
| 40 – 45 | 2 | 49 |
| N | 49 |
(a) Computation of :
Position of :
The 24.5th position is in the cumulative frequency 26. The percentile class is 15-20.
, , , .
(b) Computation of :
Position of :
The 34.3rd position is in the cumulative frequency 36. The percentile class is 20-25.
, , , .
Example 2
Find the 20th percentile in the following information:
| Class interval | Frequency |
|---|---|
| 2 – 4 | 3 |
| 4 – 6 | 5 |
| 6 – 8 | 7 |
| 8 – 10 | 3 |
Solution:
| Class interval | Frequency | Cumulative frequency |
|---|---|---|
| 2 – 4 | 3 | 3 |
| 4 – 6 | 5 | 8 |
| 6 – 8 | 7 | 15 |
| 8 – 10 | 3 | 18 |
Computation of :
Position of :
The 3.6th value is in the cumulative frequency 8. The class interval is 4-6.
, , , .
Example 3
| Class interval | Class boundaries | Frequency | Cumulative frequency |
|---|---|---|---|
| 10 – 19 | 9.5 – 19.5 | 4 | 4 |
| 20 – 29 | 19.5 – 29.5 | 20 | 24 |
| 30 – 39 | 29.5 – 39.5 | 14 | 38 |
| 40 – 49 | 39.5 – 49.5 | 12 | 50 |
| 50 – 59 | 49.5 – 59.5 | 2 | 52 |
| 60 – 69 | 59.5 – 69.5 | 4 | 56 |
| 70 – 79 | 69.5 – 79.5 | 4 | 60 |
(a) The maximum mass of lower 35% of the children ():
Position of :
The 21st value falls within the cumulative frequency of 24. The corresponding class is 20-29.
, , , .
(b) The minimum mass of upper 35% of the children ():
This is equivalent to the 65th percentile.
Position of :
The 39th value falls within the cumulative frequency of 50. The corresponding class is 40-49.
, , , .
(c) The limits for the mass of middle 30% of the children:
The middle 30% lies between the 35th and 65th percentiles. Therefore, the limits are and , which are 28 kg and approximately 40.33 kg.
Therefore, the limits for the mass of the middle 30% of the children are approximately 28 kg and 40.33 kg.
The mode of a distribution is the most frequently occurring value. It represents the point of highest frequency density.
Consider the mode with:
: Lower real limit of the modal class : Upper real limit of the modal class : Difference between the modal class frequency and the frequency of the next lower class : Difference between the modal class frequency and the frequency of the next higher class : Class size
From the Figure, and using similar triangles, the mode can be calculated as follows:
Example 1
Compute the mode for the following distribution.
| Class interval | Frequency |
|---|---|
| 0 – 7 | 19 |
| 7 – 14 | 25 |
| 14 – 21 | 36 |
| 21 – 28 | 72 |
| 28 – 35 | 51 |
| 35 – 42 | 43 |
| 42 – 49 | 28 |
Solution:
The highest frequency is 72, in the class interval 21 – 28. This is the modal class.
, , , .
Therefore, the mode is approximately 25.42.
Example 2
Find the mode for the following distribution.
| Marks | Number of students |
|---|---|
| 0 – 20 | 5 |
| 20 – 40 | 4 |
| 40 – 60 | 10 |
| 60 – 80 | 12 |
| 80 – 100 | 6 |
| 100 – 120 | 3 |
Solution:
The highest frequency is 12. The modal class is 60 – 80.
, , , .
Therefore, the mode is 65.
Example 3
The number of words in each of the first eight sentences of a book were counted. The results were recorded as follows.
| Number of words | Number |
|---|---|
| 1 – 4 | 2 |
| 5 – 8 | 5 |
| 9 – 12 | 11 |
| 13 – 16 | 21 |
| 17 – 20 | 23 |
| 21 – 24 | 4 |
| 25 – 28 | 13 |
| 29 – 32 | 2 |
Estimate the modal length of the sentences correct to one decimal place.
Solution:
The highest frequency is 23. The modal class is 17 – 20. The class boundaries are 16.5-20.5
, , , .
Therefore, the modal length of the sentences is approximately 16.9.
Mwalimu
Unasoma somo hili? Niulize nikuelezee chochote kilichomo.
Ingia ili kumuuliza Mwalimu wa AI wa Sonza kuhusu mada hii.
Ingia ili kuuliza