Mada za sehemu hiiStatisticsMada 3
- Collection, Organization And Presentation of Data
- Measure Of Central Tendency Of Grouped And Ungrouped Data
- Measure Of Dispersion Of Grouped And Ungrouped Data
Measures of central tendency for grouped and ungrouped data
Measures of central tendency are quantitative measures that capture the central value of a data set. They identify a single score as representative of the entire data set. A measure of central tendency is a value between the minimum and maximum values and best represents unimodal and symmetric distributions. Five measures will be discussed: mean, median, mode, quartile, and percentile.
Remark: Quartiles, deciles, and percentiles are measures of position but are also considered measures of central tendency as they can sometimes equal the median.
The mean (arithmetic mean) is the average of scores in the data, denoted by for scores .
a) Mean for ungrouped data
Using sigma notation:
When values occur with frequencies , the mean is:
Example 6.9
Heights of five students: 80, 90, 100, 110, 120 cm. Find the mean height.
Example 6.10
Find the mean of the following ungrouped data:
| Scores | Frequencies |
|---|---|
| 4 | 2 |
| 8 | 1 |
| 11 | 2 |
| 13 | 5 |
| 15 | 4 |
| 17 | 1 |
b) The mean for grouped data
i) Common mean method
where represents class marks, represents total data entries, and represents class frequency.
Example 6.11
| Marks | Frequencies |
|---|---|
| 15 – 19 | 6 |
| 20 – 24 | 11 |
| 25 – 29 | 9 |
| 30 – 34 | 8 |
| 35 – 39 | 2 |
| 40 – 44 | 3 |
| 45 – 49 | 1 |
| Class intervals | Class marks () | Frequencies () | () |
|---|---|---|---|
| 15 – 19 | 17 | 6 | 102 |
| 20 – 24 | 22 | 11 | 242 |
| 25 – 29 | 27 | 9 | 243 |
| 30 – 34 | 32 | 8 | 256 |
| 35 – 39 | 37 | 2 | 74 |
| 40 – 44 | 42 | 3 | 126 |
| 45 – 49 | 47 | 1 | 47 |
| 40 | |||
| 1090 |
Assumed mean method
Let be the assumed mean and be the deviation of each data point or class mark from , then . Thus, .
Example 6.12
| Marks | Number of students |
|---|---|
| 10 – 20 | 4 |
| 20 – 30 | 5 |
| 30 – 40 | 4 |
| 40 – 50 | 5 |
| 50 – 60 | 3 |
| 60 – 70 | 4 |
| 70 – 80 | 16 |
| 80 – 90 | 13 |
| 90 – 100 | 11 |
Let .
| Class intervals | Class marks () | Frequencies () | ||
|---|---|---|---|---|
| 10 – 20 | 15 | 4 | -40 | -160 |
| 20 – 30 | 25 | 5 | -30 | -150 |
| 30 – 40 | 35 | 4 | -20 | -80 |
| 40 – 50 | 45 | 5 | -10 | -50 |
| 50 – 60 | 55 | 3 | 0 | 0 |
| 60 – 70 | 65 | 4 | 10 | 40 |
| 70 – 80 | 75 | 16 | 20 | 320 |
| 80 – 90 | 85 | 13 | 30 | 390 |
| 90 – 100 | 95 | 11 | 40 | 440 |
| Totals | 65 | 750 |
ii) Mean by coding method
where:
- = assumed mean
- = class size (width)
- = deviation per class size
- = frequency
Example 6.13
| Class intervals | Frequency |
|---|---|
| 60 – 62 | 5 |
| 63 – 65 | 18 |
| 66 – 68 | 42 |
| 69 – 71 | 27 |
| 72 – 74 | 8 |
, .
| Class intervals | Class marks () | Frequencies | |||
|---|---|---|---|---|---|
| 60 – 62 | 61 | 5 | -6 | -2 | -10 |
| 63 – 65 | 64 | 18 | -3 | -1 | -18 |
| 66 – 68 | 67 | 42 | 0 | 0 | 0 |
| 69 – 71 | 70 | 27 | 3 | 1 | 27 |
| 72 – 74 | 73 | 8 | 6 | 2 | 16 |
| 100 | |||||
| 15 |
The median is the middle value of a set of data when the data are arranged in ascending or descending order. It divides the dataset into two equal halves.
a) Median for ungrouped data
Case 1: Odd number of values
If the number of data values, , is odd, the median is the value at the position:
Case 2: Even number of values
If is even, the median is the average of the two middle values at positions:
Example
Find the median of the values: 27, 25, 19, 23, 31, 42, 51, 17, 22
Solution:
Total number of values: (odd)
Arrange the data in ascending order: 17, 19, 22, 23, 25, 27, 31, 42, 51
Median = 5th value = 25
Example
Find the median of the values: 2, 5, 5, 7, 12, 13, 15, 15, 16, 19
Solution:
(even)
5th value = 12, 6th value = 13
Example
Given the following frequency table, find the median:
| Scores (x) | Frequencies (f) |
|---|---|
| 1 | 1 |
| 2 | 3 |
| 3 | 2 |
| 4 | 5 |
| 5 | 8 |
Solution:
- Total frequency,
- Median position: value
- Cumulative frequencies: 1, 4, 6, 11, 19
10th value lies in the 4th score (which is 4), next is 11th value (score = 5)
b) Median for grouped data
The median of grouped data is found using the formula:
Where:
- = lower boundary of the median class
- = total frequency
- = cumulative frequency before the median class
- = frequency of the median class
- = class width
Example: Table of children's ages
| Age (months) | Frequency |
|---|---|
| 10–15 | 30 |
| 15–20 | 42 |
| 20–25 | 20 |
| 25–30 | 23 |
| 30–35 | 13 |
| 35–40 | 8 |
| 40–45 | 4 |
Solution:
- Total frequency:
- Median position: value
- Cumulative frequencies:
- 10–15: 30
- 15–20: 72
- Median class: 15–20
- , , ,
Therefore, the median age is approximately 19.26 months.
The mode is the value that occurs most frequently in a data set. A distribution may have:
- One mode (unimodal)
- Two modes (bimodal)
- Three or more modes (multimodal)
The mode is particularly useful when the most typical or common value is needed. It is also applicable for categorical (nominal) data such as religious preference, gender, or political affiliation. In business, the mode can help identify the most preferred commodity by customers in a specific location.
a) Mode of ungrouped data
Example
a) Find the mode of the values:
9, 8, 10, 10, 10, 12, 6, 11, 12, 10, 8, 8
| Value | Frequency |
|---|---|
| 6 | 1 |
| 8 | 3 |
| 9 | 1 |
| 10 | 4 |
| 11 | 1 |
| 12 | 2 |
The value with the highest frequency is 10, occurring 4 times.
∴ Mode = 10
b) Find the mode of the values:
110, 120, 70, 90, 90, 100, 80, 130, 40
| Value | Frequency |
|---|---|
| 40 | 1 |
| 70 | 1 |
| 80 | 1 |
| 90 | 2 |
| 100 | 1 |
| 110 | 1 |
| 120 | 1 |
| 130 | 1 |
The value with the highest frequency is 90.
∴ Mode = 90
b) Mode of grouped data
To find the mode for grouped data, we use the following formula:
Where:
- = lower boundary of the modal class
- : frequency of modal class minus frequency of class before
- : frequency of modal class minus frequency of class after
- = class width
Example
Find the mode from the following frequency distribution:
| Class interval | Frequency |
|---|---|
| 15 – 19 | 6 |
| 20 – 24 | 11 |
| 25 – 29 | 9 |
| 30 – 34 | 8 |
| 35 – 39 | 2 |
| 40 – 44 | 3 |
| 45 – 49 | 1 |
Modal class = 20 – 24, with frequency = 11
, , ,
Example
Find the mode from the following data:
| Class interval | Frequency |
|---|---|
| 300 – 320 | 32 |
| 321 – 340 | 30 |
| 341 – 360 | 42 |
| 361 – 380 | 22 |
| 381 – 400 | 20 |
| 401 – 420 | 35 |
| 421 – 440 | 40 |
| 441 – 460 | 38 |
| 461 – 480 | 41 |
Modal class = 341 – 360, with frequency = 42
, , ,
Estimation of mode using histogram
The mode of data can be estimated from the drawn histogram as follows:
- Draw a straight line from top left corner of the tallest rectangle to the top left corner of the rectangle in the right of it.
- Draw a straight line from top right corner of the tallest rectangle to the top right corner of the rectangle which is in the left hand side.
- Observe where these lines intersect.
- Mode is the point of intersection which can be read on the horizontal axis.
a) The quartiles
Quartiles are statistical values that divide a given data set into four equal parts or quarters after the data has been arranged in ascending order. These divisions help us understand the distribution and spread of the data by identifying key positional values. The three main quartiles are:
- First quartile (): Also called the lower quartile, it marks the 25th percentile of the data.
- Second quartile (): The median of the data, corresponding to the 50th percentile.
- Third quartile (): Also called the upper quartile, it marks the 75th percentile.
Each quartile divides the data into segments such that:
- 25% of the data lies below , and 75% lies above it.
- 50% of the data lies below and above (the median).
- 75% of the data lies below , and 25% lies above it.
Quartiles are not only measures of position but also useful indicators of central tendency and variability within the data set. They are foundational for understanding the spread and are often used to construct box plots.
i. Quartile calculation for ungrouped data
Suppose you have observations arranged in ascending order. To find the position of the quartiles (which may not always be integers), use the following formulas:
If the calculated position is not an integer, the quartile value is obtained by interpolation: that is, by taking the weighted average between the values at the closest ranks. For example, if lies between the 4th and 5th values, then
where is the fractional part of the position.
Detailed interpretation of quartiles
- First quartile : The median of the lower half of the data (excluding the overall median if the number of observations is odd). It separates the lowest 25% of the data from the rest.
- Second quartile : This is the overall median. For an odd number of data points, it is the middle value. For even number of points, it is the mean of the two central values.
- Third quartile : The median of the upper half of the data (excluding the overall median if odd). It separates the lowest 75% from the highest 25%.
In practice, the quartiles can also be viewed as quantiles dividing the distribution into four parts, each containing approximately an equal number of data points.
Example. Given the data set:
3, 7, 8, 5, 12, 14, 21, 13, 18
Arrange the data in ascending order:
3, 5, 7, 8, 12, 13, 14, 18, 21
Find the median : Since (odd), the median is the middle value (position value):
Identify the lower half and upper half for quartiles calculation:
- Lower half (values before median): 3, 5, 7, 8
- Upper half (values after median): 13, 14, 18, 21
Find the first quartile (median of lower half): Since the lower half has 4 values (even),
Find the third quartile (median of upper half): Similarly,
Result:
ii. Interquartile range (I.Q.R)
The interquartile range measures the spread or variability of the middle 50% of the data. It is the difference between the third and first quartiles:
In the previous example,
The I.Q.R is a robust measure of dispersion, less sensitive to outliers than the full range.
iii. Semi-interquartile range (S.I.Q.R)
This is half of the interquartile range and provides an average deviation of the middle 50% from the median:
Using the example data:
Example: Quartiles and I.Q.R for another dataset
Data: 14, 23, 39, 4, 11, 19, 45, 31, 7, 30, 42, 17
Arrange data in ascending order:
4, 7, 11, 14, 17, 19, 23, 30, 31, 39, 42, 45
- Median position: value = 19 (or average of 6th and 7th: )
- Lower half: 4, 7, 11, 14, 17, 19
- Upper half: 23, 30, 31, 39, 42, 45
- = median of lower half =
- = median of upper half =
iv. Quartiles for grouped data
Quartiles for grouped data are determined using cumulative frequencies and the following formula:
Where:
- : The th quartile (, , )
- : Lower class boundary of the quartile class
- : Total number of frequencies (observations)
- : Cumulative frequency before the quartile class
- : Frequency of the quartile class
- : Width of the class interval
Example
Given the following frequency distribution:
| Class interval | Frequency |
|---|---|
| 5 – 10 | 18 |
| 11 – 16 | 26 |
| 17 – 22 | 20 |
| 23 – 28 | 12 |
| 29 – 34 | 11 |
| 35 – 40 | 10 |
| 41 – 46 | 3 |
Total frequency .
a. Calculate the lower quartile ()
First, compute the cumulative frequencies:
| Class interval | Frequency | Cumulative frequency |
|---|---|---|
| 5 – 10 | 18 | 18 |
| 11 – 16 | 26 | 44 |
| 17 – 22 | 20 | 64 |
| 23 – 28 | 12 | 76 |
| 29 – 34 | 11 | 87 |
| 35 – 40 | 10 | 97 |
| 41 – 46 | 3 | 100 |
To find , calculate the position:
This lies in the class 11–16. So,
b. Calculate the upper quartile ()
This lies in the class 23–28. So,
v) Estimating quartiles using cumulative frequency curve (ogive)
Quartiles can also be estimated graphically from an ogive (cumulative frequency curve):
- Plot cumulative frequency on the vertical axis and upper class boundaries on the horizontal axis.
- Locate:
- for
- for (Median)
- for
- Draw horizontal lines from these cumulative frequency values to the ogive, then drop perpendiculars to the x-axis to estimate the quartiles.
Note: This method is approximate and useful for visual estimation.
b. Percentiles
Percentiles divide a set of data into 100 equal parts. While quartiles split data into four equal parts, percentiles provide a more detailed positional measure, particularly useful in education and health fields. They help identify the position of a value in a data set and give insights into how values are spread across the entire range.
i. Percentiles for ungrouped data
To compute the percentile , the rank (or position) is determined using the formula:
Where:
- is the percentile (1 ≤ k ≤ 99)
- is the total number of data values
- is the rank or position of the percentile
Example: Given , find the rank of the 55 percentile.
Using the formula:
Therefore, the 55 percentile is the 66 value in the ordered list.
ii. Percentiles for grouped data
To compute the percentile in grouped data, the formula used is:
Where:
- : Lower class boundary of the class containing the percentile
- : Cumulative frequency before the percentile class
- : Frequency of the percentile class
- : Class width
- : Total frequency
Example: The frequency distribution of history scores is given below:
| Marks | Frequency | Cumulative frequency |
|---|---|---|
| 10 – 19 | 1 | 1 |
| 20 – 29 | 8 | 9 |
| 30 – 39 | 12 | 21 |
| 40 – 49 | 20 | 41 |
| 50 – 59 | 18 | 59 |
| 60 – 69 | 10 | 69 |
| 70 – 79 | 7 | 76 |
| 80 – 89 | 4 | 80 |
a. Find the 85 percentile
Total frequency .
Rank:
The 85 percentile lies in the class 60 – 69 (cumulative frequency just reaches or exceeds 68).
Using:
∴ The 85 percentile is 68.5.
b. Find the 50 percentile (median)
Rank:
The 50 percentile lies in the class 40 – 49.
Using:
∴ The 50 percentile (median) is 49.
Mwalimu
Unasoma somo hili? Niulize nikuelezee chochote kilichomo.
Ingia ili kumuuliza Mwalimu wa AI wa Sonza kuhusu mada hii.
Ingia ili kuuliza