Chapter 2.2 - Descriptive Statistics (Part2)

Table of contents

  1. Descriptive Statistics
  2. Measures of central tendency
  3. Measures of Dispersion
  4. Measures of Position

1. Descriptive Statistics

1.1 Ungrouped data

Ungrouped data, also known as raw data or arrayed data, is numerical data in its original, authentic form. It consists of a collection of individual observations gathered during research or from a specified source.

This data is often presented as a jumble of values, which can be monotonous and time-consuming to analyze when the number of observations is large. To facilitate understanding, ungrouped data is typically presented in a tabular form, such as a frequency distribution table, or arranged in ascending or descending order if the observations are numerical 4.

This diagram displays the ages of 20 senior citizens, represented by numbers and corresponding cartoon figures.

The ages of 20 senior citizens are provided as an example of ungrouped data: 59, 59, 61, 61, 68, 68, 65, 60, 65 5.

1.2 Grouped data 7

Grouped data is created when raw data is assembled into a number of classes, resulting in a more condensed form. This method is employed when dealing with a large number of observations where arranging data individually is impractical due to time constraints.

Data is organized into class intervals, and a grouped frequency distribution indicates the frequency of occurrence for different values within these classes. This arrangement preserves all information while making the data more manageable 6.

A grouped frequency distribution for scores is presented as follows:

ScoresFrequency
5-94
10-1410
15-1919
20-2426
25-2921
30-3412
35-398

📝 The ages of 20 senior citizens are provided as an example of ungrouped data: 59, 59, 61, 61, 68, 68, 65, 60, 65 5.

1.3 Numerical measures

Numerical measures are used to describe and analyze data. These measures can be broadly categorized into several types:

  • Measures of central tendency: These describe the center or typical value of a dataset.
  • Measures of variation: These quantify the spread or dispersion of the data.
  • Measures of position: These indicate the relative standing of a particular data point within a dataset.
  • Measures of skewness: These describe the asymmetry of the data distribution 8.

Descriptive statistics are particularly useful for understanding ungrouped data 9.

2. Measures of central tendency

2.1 Introduction to measures of central tendency

Measures of central tendency are single summary values that represent the middle or typical point of a data distribution. They are used to:

  • Summarize large amounts of data.
  • Describe typical group performance.
  • Support data-driven decision-making 10.

The three main measures of central tendency are the mean, median, and mode 11.

2.2 Mean

The mean, also known as the mathematical average, is calculated by dividing the sum of all values by the total number of values. It is the most common measure of central tendency 12.

There are two types of mean:

  • Population mean: Calculated when considering the entire population, where NN is the population size.
  • Sample mean: Calculated when considering a sample from a population, where nn is the sample size 12.

The mean is highly sensitive to outliers, meaning extreme high or low values can significantly affect its value 11 12.

📝 The mean vacation days taken by employees across 8 branches is calculated as xˉ=2238=27.875\bar{x} = \frac{223}{8} = 27.875 days 16.

2.3 Median

The median is the midpoint of an ordered data set, with 50% of the values falling below it and 50% falling above it. It is not affected by extreme values, making it a better measure than the mean for data sets with outliers or skewed distributions 11 13.

To find the median:

  1. Arrange the data in ascending order.
  2. Calculate the position of the median using the formula (n+1)2\frac{(n+1)}{2}.
  • If the number of values (nn) is odd, the median is the middle number.
  • If the number of values (nn) is even, the median is the average of the two middle numbers.
  1. Locate the median value in the ordered data 13.

This diagram illustrates the process of finding the median of a dataset, including arranging the numbers in ascending order and identifying the middle value.

📝 For the vacation days data (13, 25, 25, 26, 28, 34, 35, 37), the median is the average of the 4th and 5th values: 26+282=27\frac{26 + 28}{2} = 27 17.

2.4 Mode

The mode, also known as the modal value, is the value that occurs most often in a data set. It is not affected by extreme values and can be used for both numerical and categorical data 11 14.

A data set can have one mode (unimodal), multiple modes (bimodal or multimodal), or no mode if no value repeats 11 14.

📝 In the vacation days data (34, 13, 37, 28, 25, 35, 26, 25), the value 25 occurs most frequently, making it the mode 18.

2.5 Example: Vacation days

A multinational company wants to analyze the number of annual vacation days taken by employees in its 8 branches. The data is: 34, 13, 37, 28, 25, 35, 26, 25 15.

2.6 Solution (mean)

The sum of the vacation days is 34+13+37+28+25+35+26+25=22334 + 13 + 37 + 28 + 25 + 35 + 26 + 25 = 223. The number of branches is n=8n=8.

The mean is xˉ=∑xn=2238=27.875\bar{x} = \frac{\sum x}{n} = \frac{223}{8} = 27.875. Interpretation: On average, employees take approximately 28 vacation days per year across the company's 8 branches 16.

2.7 Solution (median)

  1. Arrange in ascending order: 13, 25, 25, 26, 28, 34, 35, 37.
  2. The position of the median is (8+1)2=4.5\frac{(8+1)}{2} = 4.5.
  3. The median is the average of the 4th and 5th values: 26+282=27\frac{26 + 28}{2} = 27. Interpretation: 50% of the branches have vacation days more than 27 days per year, and 50% have less than 27 days per year 17.

2.8 Solution (mode)

The value that occurs most often in the data set is 25. Interpretation: Most of the branches have 25 vacation days per year 18.

2.9 Example: Division profit

A retail company wants to summarize typical division profit for bonus planning. The profits (in RM '000) for the last quarter are: Division A: 50, B: 55, C: 53, D: 52, E: 200 20.

2.10 Solution (mean)

The sum of the profits is 50+55+53+52+200=41050 + 55 + 53 + 52 + 200 = 410. The number of divisions is n=5n=5.

The mean is xˉ=4105=82\bar{x} = \frac{410}{5} = 82. Interpretation: On average, the profit of all 5 branches in the last quarter is RM 82,000.

However, this value is misleading because one branch (RM 200k) is significantly higher than others, overestimating typical performance 21.

2.11 Solution (median)

  1. Arrange in ascending order: 50, 52, 53, 55, 200.
  2. The position of the median is (5+1)2=3\frac{(5+1)}{2} = 3.
  3. The median is the 3rd value: 53. Interpretation: 50% of the branches have profits more than RM 53,000, and 50% have profits less than RM 53,000. This value is not affected by the extreme profit (RM 200k) and better represents what most branches earn 22.

2.12 Solution (mode)

The data set is 50, 52, 53, 55, 200. There are no repeated values, so there is no mode. Interpretation: There is no common profit level among branches, making the mode not useful in this case 23.

2.13 Choosing the appropriate measure

The choice of the most appropriate measure of central tendency depends on the distribution of the data 24.

Distribution TypeAppropriate MeasureReason
Approximately SymmetricMeanUses every observation and is sensitive to all values.
Skewed or has OutliersMedianUnaffected by extreme values, retaining the true center.
Categorical DataModeIdentifies the most frequent category.

2.14 Exercise: Monthly sales

A retail store owner wants to analyze monthly sales (in thousands of RM) over the last 7 months. The recorded sales are: Jan: 45, Feb: 50, Mar: 55, Apr: 60, May: 50, Jun: 65, Jul: 70 25.

Calculate the mean, median, and mode for the monthly sales and interpret the results 25.

3. Measures of Dispersion

3.1 Why the mean is not enough

While the mean provides a central value for a dataset, it can be misleading if the data is widely scattered. Two datasets with the same mean can have vastly different distributions, making it crucial to understand the spread of the data 27.

  • Class A vs. Class B example: Two classrooms might have an average score of 72. However, Class A's scores are clustered closely around the mean, indicating consistent performance. Class B, in contrast, has a wide range of scores, with some students failing and others achieving perfect marks, showing inconsistent performance 27.

3.2 What is dispersion?

Dispersion, also known as variability or spread, quantifies how close together or far apart data values are from a central point, typically the mean. A low dispersion indicates that data points are clustered together and are very similar, suggesting consistency.

High dispersion means data points are spread out and significantly different from each other, indicating inconsistency 28 29.

  • Low dispersion: Data values are close together, indicating consistency.
  • High dispersion: Data values are far apart, indicating inconsistency 28.
  • Purpose: Dispersion measures help answer whether numbers are similar or very different, complementing measures of central tendency by showing data consistency or scatter 29.

Two diagrams illustrating measures of dispersion, with concentric circles and scattered points representing data distribution.

3.3 Importance of dispersion

Understanding dispersion is vital because relying solely on the mean can lead to misinterpretations of reality. Dispersion provides insight into the reliability of the data and highlights potential issues in various contexts 30.

  • Education: Low dispersion in marks suggests students perform similarly, while high dispersion indicates a significant gap, potentially requiring extra support.
  • Business: Low dispersion in profits signifies stable, predictable earnings, whereas high dispersion points to an unstable, high-risk business.
  • Salary: Low dispersion in salaries suggests fair and equal pay, while high dispersion indicates massive wage inequality 30.

3.4 Measures of dispersion

Several measures quantify the spread of data, each offering a different perspective on variability. These include the range, variance, standard deviation, and coefficient of variation 32.

3.5 Range

The range is the simplest measure of dispersion, calculated as the difference between the maximum and minimum values in a dataset. It provides a quick, rough estimate of the total spread but is highly sensitive to extreme values (outliers) and ignores all data points between the extremes 32 33.

  • Calculation: Range = Maximum Value - Minimum Value 32.
  • Limitation: It only considers two data points and disregards the variation within the rest of the dataset 33.

3.6 Variance

Variance measures the average squared deviation of each data point from the mean. Squaring the deviations prevents positive and negative differences from canceling each other out, providing a measure of the overall spread 32.

3.7 Standard deviation (SD)

The standard deviation is the square root of the variance. It represents the typical or average amount that data points deviate from the mean.

A higher standard deviation indicates greater spread, while a lower one suggests data points are closer to the mean 32 35.

  • Interpretation: It indicates the average typical spread of data around the mean, not that every observation is exactly that distance from the mean 35.

3.8 Population Standard Deviation & Variance

These formulas are used when the data represents the entire population.

MeasureFormula
Population Standard Deviationσ=∑(X−μ)2N\sigma = \sqrt{\frac{\sum (X - \mu)^2}{N}}
Population Varianceσ2=∑(X−μ)2N\sigma^2 = \frac{\sum (X - \mu)^2}{N}

Where:

  • NN is the population size 36.

Formulas for population standard deviation and variance are presented.

3.9 Sample Standard Deviation & Variance

These formulas are used when the data is a sample taken from a larger population. The denominator is typically n−1n-1 (Bessel's correction) to provide a less biased estimate of the population variance.

MeasureFormula
Sample Standard Deviations=∑(x−xˉ)2n−1s = \sqrt{\frac{\sum (x - \bar{x})^2}{n-1}}
Sample Variances2=∑(x−xˉ)2n−1s^2 = \frac{\sum (x - \bar{x})^2}{n-1}

Where:

  • nn is the sample size 37.

3.10 Understanding Standard Deviation in Context

Standard deviation helps interpret the consistency of data relative to its mean. For example, two classes with the same mean score of 70 can have different standard deviations: a low SD indicates consistent performance, while a high SD shows widely spread marks 38.

3.11 Relative Variability

Determining if a spread is "large" or "small" is relative and depends on the magnitude of the mean. A standard deviation that is small compared to the mean indicates low dispersion and similar values, while a standard deviation close to the mean suggests high dispersion and very different values 39.

3.12 Example: Calculating Range and Standard Deviation

For the data set: 9, 11, 12, 13, 15, 17, 21, 22, 31, 38.

  • The range is calculated as the difference between the highest and lowest values, resulting in 29 9 38.
  • The sample standard deviation is approximately 9.3606, indicating the typical spread of these numbers around their mean 40.

📝 For the data set 9, 11, 12, 13, 15, 17, 21, 22, 31, 38:

  • Range: 38−9=2938 - 9 = 29.
  • Sample Standard Deviation: s=110−1(4359−(189)210)≈9.3606s = \sqrt{\frac{1}{10-1} \left(4359 - \frac{(189)^2}{10}\right)} \approx 9.3606 40.

3.13 Exercise: Air-conditioner Sales Data

The following data represents air-conditioner sales for a company in a week: 18, 11, 14, 8, 11, 11, 8. Calculate the range, variance, and standard deviation 41.

3.14 Coefficient of Variation (CV)

The coefficient of variation addresses the "scale problem" where comparing standard deviations directly is difficult for datasets with different means. The CV expresses the standard deviation as a percentage of the mean, providing a measure of relative variability 42 43.

  • Purpose: It allows for the comparison of dispersion between datasets with different scales or means 43.
  • Interpretation: A lower CV indicates greater consistency and less dispersion relative to the mean, while a higher CV signifies less consistency and more dispersion 44.

3.15 Calculation and Application

The formula for the coefficient of variation is: CV=Standard DeviationMean×100%CV = \frac{\text{Standard Deviation}}{\text{Mean}} \times 100\% This metric is particularly useful in finance for comparing the risk (volatility) of different investments. For instance, an investment with a higher absolute standard deviation might have a lower CV if its mean return is also significantly higher, indicating greater consistency relative to its average 45.

  • Investment A: Mean Return = 10%, SD = 2%. CV = 2%10%×100%=20%\frac{2\%}{10\%} \times 100\% = 20\%.
  • Investment B: Mean Return = 20%, SD = 3%. CV = 3%160×100%=6.25%\frac{3\%}{160} \times 100\% = 6.25\% 45 46.

📝 Typist Ani types an average of 40 words per minute with a standard deviation of 5. Typist Jura types an average of 160 words per minute with a variance of 100 (SD = 10).

  • Typist Ani CV: 540×100%=12.5%\frac{5}{40} \times 100\% = 12.5\%.
  • Typist Jura CV: 100160×100%=10160×100%=6.25%\frac{\sqrt{100}}{160} \times 100\% = \frac{10}{160} \times 100\% = 6.25\%. The result shows that the typing ability of typist Jura is more consistent than typist Ani 46.

3.16 Exercise: Company Salary Comparison

Two companies, A and B, track monthly employee salaries (in RM). Company A has a mean salary of RM 5,000 with a standard deviation of RM 600. Company B has a mean salary of RM 4,800 with a standard deviation of RM 900. Whose investment is considered to be more consistent 47?

4. Measures of Position

4.1 The meaning of position

A single data value gains its true significance when its position within the entire dataset is understood. Measures of position function like GPS coordinates for data, answering whether a value is low, average, or high relative to other values in the set 49 50.

4.2 Slicing the data

To determine a data point's position, datasets are first sorted in ascending order and then divided into equal segments. These divisions are categorized by the number of equal parts they create:

  • Quartiles: Divide data into 4 equal parts. The second quartile (Q2) is equivalent to the median (50% of the data).
  • Deciles: Divide data into 10 equal parts.
  • Percentiles: Divide data into 100 equal parts 51.

📝 For the dataset 5, 6, 12, 13, 15, 18, 22, 28, Q1 is 9, Q2 is 14, and Q3 is 20. This means 25% of students read fewer than 9 books, 50% read fewer than 14, and 75% read fewer than 20 books 55 56 57.

4.3 Quartiles and the interquartile range

Quartiles divide an ordered dataset into four equal segments, representing the 0%, 25%, 50%, 75%, and 100% marks of the data.

  • Q1 (First Quartile): Marks the end of the first 25% of the data.
  • Q2 (Second Quartile): Marks the end of the second 25% of the data, also known as the median.
  • Q3 (Third Quartile): Marks the end of the third 25% of the data.

The Interquartile Range (IQR) is the difference between Q3 and Q1 (IQR=Q3−Q1IQR = Q3 - Q1). It quantifies the spread of the middle 50% of the data.

Combined with the minimum and maximum values, these form the Five-Number Summary, which is the basis for a box plot 52.

4.4 Calculating quartiles

The process for calculating quartiles involves arranging the data, determining the position of each quartile, and then locating the quartile value.

  1. Arrange the data: Sort the dataset in ascending order.
  2. Calculate quartile positions:
  • Position of Q1 (PQ1PQ1) = (n+1)/4(n+1)/4
  • Position of Q2 (PQ2PQ2) = (n+1)/2(n+1)/2
  • Position of Q3 (PQ3PQ3) = 3(n+1)/43(n+1)/4 where nn is the number of data points.
  1. Locate quartiles:
  • If the position value is an integer, the quartile is the observation at that position.
  • If the position value is halfway between two integers, the quartile is the average of the observations at those two positions 53.

📝 To calculate Q1 for a dataset of 8 students, find the position PQ1=(8+1)/4=2.25PQ1 = (8+1)/4 = 2.25. Since this is not an integer, Q1 is located between the 2nd and 3rd values, and is the average of those two observations 53 55.

4.5 The interquartile range and outliers

The IQR is a measure of dispersion used to identify outliers and assess data variability.

  • Outliers: Data values that are extremely high or low compared to the rest of the dataset.
  • A data value is considered an outlier if it is less than Q1−1.5(IQR)Q1 - 1.5(IQR) or greater than Q3+1.5(IQR)Q3 + 1.5(IQR) 54.

4.6 Example: Calculating quartiles and IQR

The following dataset shows the number of books read by 8 students in a month: 5, 6, 12, 13, 15, 18, 22, 28. Calculate Q1, Q2, Q3, interpret their meanings, and find the IQR.

Solution:

  1. Arrange in ascending order: 5, 6, 12, 13, 15, 18, 22, 28. (n=8n=8)
  2. Calculate positions:
  • PQ1=(8+1)/4=9/4=2.25PQ1 = (8+1)/4 = 9/4 = 2.25
  • PQ2=(8+1)/2=9/2=4.5PQ2 = (8+1)/2 = 9/2 = 4.5
  • PQ3=3(8+1)/4=27/4=6.75PQ3 = 3(8+1)/4 = 27/4 = 6.75
  1. Locate quartiles:
  • Q1 is between the 2nd and 3rd values: (6+12)/2=9(6 + 12) / 2 = 9.
  • Q2 is between the 4th and 5th values: (13+15)/2=14(13 + 15) / 2 = 14.
  • Q3 is between the 6th and 7th values: (18+22)/2=20(18 + 22) / 2 = 20.

a. Q1, Q2, Q3 and interpretation:

  • Q1 = 9: 25% of students read fewer than 9 books, and 75% read more.
  • Q2 = 14: 50% of students read fewer than 14 books, and 50% read more.
  • Q3 = 20: 75% of students read fewer than 20 books, and 25% read more.

b. Interquartile Range (IQR):

  • IQR=Q3−Q1=20−9=11IQR = Q3 - Q1 = 20 - 9 = 11 55 56 57.

4.7 Exercise: Study hours

The number of study hours per week spent in a library by 10 students is given below: 3, 1.5, 1.5, 5, 2.5, 6, 7, 5, 2.5, 10. a. Calculate Q1, Q2, and Q3. b. Interpret the value of Q3 obtained 58.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also