Solved Exercises on Mean, Median, and Mode

Master measures of center: mean, median, and mode through these 5 detailed exercises covering calculation, interpretation, and comparison of central tendency measures.

Solution: Exercises 1 to 3
1 Basic Measures of Center
Exercise 1
Find the mean, median, and mode for the following dataset representing the number of hours students studied for a test: 2, 3, 4, 5, 5, 6, 7, 8, 9, 10, 12
Definition:

Mean: The arithmetic average, calculated by adding all values and dividing by the number of values.

Median: The middle value when data is arranged in order. If there's an even number of values, it's the average of the two middle values.

Mode: The value that occurs most frequently in the dataset.

Calculation methods:
  1. Mean: Sum of all values ÷ Number of values
  2. Median: Arrange data in order, find middle value
  3. Mode: Identify most frequently occurring value(s)
Step 1: Calculate the mean

Sum = 2 + 3 + 4 + 5 + 5 + 6 + 7 + 8 + 9 + 10 + 12 = 71

Number of values = 11

Mean = 71 ÷ 11 = 6.45 hours

Step 2: Calculate the median

Data is already arranged in ascending order: 2, 3, 4, 5, 5, 6, 7, 8, 9, 10, 12

With 11 values (odd number), median is the 6th value

Median = 6 hours

Step 3: Calculate the mode

Count frequency of each value:

2: 1 time, 3: 1 time, 4: 1 time, 5: 2 times, 6: 1 time, 7: 1 time, 8: 1 time, 9: 1 time, 10: 1 time, 12: 1 time

Mode = 5 hours (occurs most frequently)

Step 4: Verify calculations

Mean: (2+3+4+5+5+6+7+8+9+10+12) ÷ 11 = 71 ÷ 11 = 6.45 ✓

Median: 6th value in ordered list = 6 ✓

Mode: 5 appears twice, others appear once = 5 ✓

Step 5: Interpret the results

Mean = 6.45 hours (average study time)

Median = 6 hours (middle value)

Mode = 5 hours (most common study time)

Mean = 6.45, Median = 6, Mode = 5
Final answer:

Mean = 6.45 hours, Median = 6 hours, Mode = 5 hours. The mean is slightly higher than the median due to the influence of the higher values (10 and 12 hours).

Applied rules:

• Mean calculation: Σx ÷ n

• Median position: (n+1)/2 for odd n

• Mode identification: Value with highest frequency

2 Effect of Outliers
Exercise 2
A dataset of annual salaries (in thousands of dollars) for 10 employees is: 45, 48, 52, 55, 58, 60, 62, 65, 70, 150. Calculate the mean and median. Which measure is more representative of the typical salary? Explain why.
Definition:

Outlier: An extreme value that differs significantly from other observations in the dataset.

Robust measure: A measure that is not greatly affected by outliers.

Step 1: Calculate the mean

Sum = 45 + 48 + 52 + 55 + 58 + 60 + 62 + 65 + 70 + 150 = 665

Number of values = 10

Mean = 665 ÷ 10 = $66.5 thousand

Step 2: Calculate the median

Data is already arranged in ascending order: 45, 48, 52, 55, 58, 60, 62, 65, 70, 150

With 10 values (even number), median is average of 5th and 6th values

Median = (58 + 60) ÷ 2 = $59 thousand

Step 3: Identify the outlier

The value 150 is significantly higher than the rest of the data

This is likely the CEO's salary, which is an outlier

Step 4: Compare the measures

Mean = $66.5 thousand, Median = $59 thousand

Mean is $7.5 thousand higher than median

Step 5: Determine which is more representative

The median ($59 thousand) is more representative because it's not affected by the outlier

Eight of ten employees earn less than the mean, but only two earn more than the median

Mean = $66.5k, Median = $59k; Median is more representative
Final answer:

The median ($59 thousand) is more representative of the typical salary because it's not influenced by the outlier (CEO's salary of $150 thousand). The mean ($66.5 thousand) is skewed upward by the outlier.

Applied rules:

• Mean sensitivity: Mean is affected by outliers

• Median robustness: Median is resistant to outliers

• Outlier identification: Values significantly different from others

3 Mode in Different Distributions
Exercise 3
Find the mode for each of the following datasets and classify the distribution as unimodal, bimodal, or multimodal: A) 1, 2, 2, 3, 3, 3, 4, 5; B) 10, 15, 20, 25, 30; C) 7, 8, 8, 9, 9, 10, 10, 11
Definition:

Unimodal: A distribution with one mode (one value occurs most frequently).

Bimodal: A distribution with two modes (two different values occur with equal highest frequency).

Multimodal: A distribution with multiple modes (more than two values occur with equal highest frequency).

Step 1: Analyze Dataset A (1, 2, 2, 3, 3, 3, 4, 5)

Frequency count: 1: 1 time, 2: 2 times, 3: 3 times, 4: 1 time, 5: 1 time

The value 3 occurs most frequently (3 times)

Mode = 3, Distribution = Unimodal

Step 2: Analyze Dataset B (10, 15, 20, 25, 30)

Frequency count: Each value occurs 1 time

No value occurs more frequently than others

No mode exists, Distribution = Uniform (no clear mode)

Step 3: Analyze Dataset C (7, 8, 8, 9, 9, 10, 10, 11)

Frequency count: 7: 1 time, 8: 2 times, 9: 2 times, 10: 2 times, 11: 1 time

Values 8, 9, and 10 all occur 2 times (highest frequency)

Mode = 8, 9, and 10, Distribution = Multimodal

Step 4: Summarize findings

A: Mode = 3, Unimodal

B: No mode, Uniform

C: Modes = 8, 9, 10, Multimodal

Step 5: Interpret implications

Unimodal distributions have a single peak

Multimodal distributions suggest multiple groups or categories in the data

A: Mode=3 (unimodal), B: No mode, C: Modes=8,9,10 (multimodal)
Final answer:

Dataset A: Mode = 3, unimodal distribution. Dataset B: No mode, uniform distribution. Dataset C: Modes = 8, 9, 10, multimodal distribution. Multiple modes may indicate subgroups within the data.

Applied rules:

• Mode identification: Value(s) with highest frequency

• Distribution classification: Based on number of modes

• Multiple modes: May indicate subgroups in data

Measures of Center Comparison
Mean = \frac{\sum x}{n}
Mean Formula
Mean
Arithmetic Average
\frac{\sum x}{n}
Affected by outliers
Median
Middle Value
Ordered Data
Robust to outliers
Mode
Most Frequent
Value
May not exist
Key definitions:

Central tendency: Statistical measures that represent the center or typical value of a dataset.

Mean: The sum of all values divided by the number of values.

Median: The middle value when data is arranged in order.

Mode: The value that occurs most frequently.

When to use each measure:
  1. Mean: When data is symmetric and no significant outliers exist
  2. Median: When data is skewed or outliers are present
  3. Mode: For categorical data or when identifying most common value
Tip 1: Always arrange data in order before finding the median.
Tip 2: Mean is pulled toward outliers in the direction of the tail.
Tip 3: In symmetric distributions, mean ≈ median ≈ mode.
Tip 4: Mode may not exist or may not be unique.
Mean Properties: Uses all data values, affected by outliers, good for symmetric data.
Median Properties: Not affected by outliers, good for skewed data, always exists.
Relationship in skewed distributions:

• Right-skewed: Mean > Median > Mode

• Left-skewed: Mode > Median > Mean

• Symmetric: Mean ≈ Median ≈ Mode

Solution: Exercises 4 to 5
4 Impact of Data Changes
Exercise 4
Given the dataset: 12, 15, 18, 20, 22, 25, 28. If we add 5 to each value, how do the mean, median, and mode change? If we multiply each value by 2, how do they change?
Definition:

Linear transformation: Adding or subtracting a constant to each value in a dataset.

Scaling transformation: Multiplying or dividing each value in a dataset by a constant.

Step 1: Original dataset analysis

Original data: 12, 15, 18, 20, 22, 25, 28

Mean = (12+15+18+20+22+25+28) ÷ 7 = 140 ÷ 7 = 20

Median = 20 (middle value)

Mode = None (all values occur once)

Step 2: Add 5 to each value

New data: 17, 20, 23, 25, 27, 30, 33

New mean = (17+20+23+25+27+30+33) ÷ 7 = 175 ÷ 7 = 25

New median = 25 (middle value)

New mode = None

Step 3: Multiply each value by 2

New data: 24, 30, 36, 40, 44, 50, 56

New mean = (24+30+36+40+44+50+56) ÷ 7 = 280 ÷ 7 = 40

New median = 40 (middle value)

New mode = None

Step 4: Identify patterns

Adding 5: Mean increased by 5 (20→25), Median increased by 5 (20→25)

Multiplying by 2: Mean multiplied by 2 (20→40), Median multiplied by 2 (20→40)

Step 5: State the general rules

For any constant c added to each value:

• Mean_new = Mean_original + c

• Median_new = Median_original + c

For any constant c multiplied by each value:

• Mean_new = Mean_original × c

• Median_new = Median_original × c

Adding c: Mean/Median increase by c; Multiplying by c: Mean/Median multiply by c
Final answer:

When adding a constant to each value: mean and median increase by that constant. When multiplying each value by a constant: mean and median are multiplied by that constant. The mode follows the same pattern if it exists.

Applied rules:

• Linear transformation: Mean and median change by the same amount

• Scaling transformation: Mean and median scale by the same factor

• Mode behavior: Follows same transformation if unique

5 Real-World Application
Exercise 5
A company tracks the number of customer complaints per day over a week: 3, 2, 5, 4, 3, 8, 25. Which measure of center best represents the typical number of complaints? Justify your answer and discuss the implications.
Definition:

Business applications: Using statistical measures to inform decision-making in real-world contexts.

Data interpretation: Understanding what statistical measures reveal about practical situations.

Step 1: Calculate all measures

Mean = (3+2+5+4+3+8+25) ÷ 7 = 50 ÷ 7 = 7.14 complaints

Median: Arrange data: 2, 3, 3, 4, 5, 8, 25 → Median = 4 complaints

Mode: Values 2 and 3 occur once, value 3 occurs twice → Mode = 3 complaints

Step 2: Identify the outlier

The value 25 is significantly higher than other values

This could represent a special event, system failure, or unusual circumstance

Step 3: Compare the measures

Mean = 7.14, Median = 4, Mode = 3

The mean is pulled upward by the outlier

Step 4: Determine the best representative measure

The median (4) is most representative because it's not affected by the outlier

Five of seven days had fewer complaints than the mean

Step 5: Discuss implications

Using the mean (7.14) might lead to overestimating typical complaints

The median (4) provides a better baseline for planning and staffing

The outlier (25) deserves separate investigation

Median (4) is best representative measure
Final answer:

The median (4 complaints) best represents the typical number of complaints. The outlier (25 complaints) significantly skews the mean (7.14). For business planning, the median provides a more realistic expectation of daily complaints, while the outlier should be investigated separately.

Applied rules:

• Real-world context: Consider practical implications of statistical choices

• Outlier impact: Investigate outliers separately from typical patterns

• Decision-making: Choose measures that inform practical decisions

Comprehensive Guide to Measures of Center
\text{Mean} = \frac{\sum_{i=1}^{n} x_i}{n}
Mean Formula
Key definitions:

Measures of center: Statistical measures that describe the central or typical value of a dataset.

Mean (arithmetic average): The sum of all values divided by the number of values. Sensitive to outliers.

Median: The middle value when data is arranged in order. Robust to outliers.

Mode: The value that occurs most frequently. May not exist or may not be unique.

Outliers: Extreme values that differ significantly from other observations.

Calculation procedures:
  1. Mean calculation: Add all values and divide by the number of values
  2. Median calculation: Arrange data in order, find middle value (average of two middle values if even count)
  3. Mode identification: Count frequency of each value, identify most frequent
Tip 1: Always sort data before finding the median to avoid errors.
Tip 2: In skewed distributions, the mean is pulled toward the tail.
Tip 3: The median is the 50th percentile of the data.
Tip 4: A dataset can have multiple modes or no mode at all.
Tip 5: For symmetric distributions, mean ≈ median ≈ mode.
Tip 6: The mean uses all data values, making it mathematically efficient.
Mean Properties: Uses all data, affected by outliers, exists for all datasets, good for symmetric data, mathematical properties make it useful for inference.
Median Properties: Not affected by outliers, always exists, divides data in half, robust measure, good for skewed data.
Mode Properties: May not exist, may not be unique, not affected by outliers, useful for categorical data, represents most common value.
Distribution relationships:

• Right-skewed: Mean > Median > Mode (tail pulls mean right)

• Left-skewed: Mode > Median > Mean (tail pulls mean left)

• Symmetric: Mean ≈ Median ≈ Mode (balanced distribution)

• Transformation: Adding constant: all measures change by constant; multiplying by constant: all measures change by same factor

Measures of Center Visualization
Understanding Center Measures
Key characteristics of measures of center:
Mean: Affected by all values, sensitive to outliers
Median: Middle value, robust to extreme values
Mode: Most frequent value, may not exist
Choose based on data distribution and purpose

Analysis: Different measures of center provide different perspectives on typical values in a dataset.

  • Mean: Arithmetic average, uses all data points
  • Median: Middle value, resistant to outliers
  • Mode: Most common value, useful for categorical data
  • Selection: Depends on distribution shape and analysis goals

Questions & Answers

Question: I'm confused about when to use mean vs. median. How do I decide which one is better for my data?

Answer: The choice depends on your data characteristics:

  • Use the mean when: Your data is symmetric with no significant outliers, you want to use all data points, or you're planning to do further mathematical calculations.
  • Use the median when: Your data is skewed, contains outliers, or you want a measure that represents the typical value without being influenced by extremes.

Quick decision rule:

  • If mean and median are close, either is acceptable
  • If mean and median differ significantly, median is often more representative
  • If outliers are present, median is usually preferred

For example, household income data is typically right-skewed due to high earners, so the median income is more representative of the typical household than the mean income.

Question: Can the mode be misleading? When might it not be helpful?

Answer: Yes, the mode can sometimes be misleading or unhelpful:

  • No mode: When all values occur with equal frequency, there is no mode
  • Multiple modes: When several values tie for highest frequency, it may not represent a clear center
  • Insensitive to changes: The mode doesn't change even if other values in the dataset change significantly
  • Limited for continuous data: With precise measurements, each value might occur only once

When mode is most helpful:

  • Categorical or discrete data with repeated values
  • Identifying the most popular choice
  • Describing the most common occurrence

For continuous data or when you need to use all data points, mean or median are generally more informative than mode.

Question: What happens to the mean, median, and mode when I add the same number to every value in my dataset?

Answer: When you add the same constant (c) to every value in your dataset:

  • Mean: Increases by c (Mean_new = Mean_original + c)
  • Median: Increases by c (Median_new = Median_original + c)
  • Mode: Increases by c (Mode_new = Mode_original + c), if a mode exists

Example: Original data: 2, 4, 6, 8, 10

Mean = 6, Median = 6, Mode = none

After adding 5 to each: 7, 9, 11, 13, 15

New Mean = 11 (= 6 + 5), New Median = 11 (= 6 + 5)

This property holds because adding a constant shifts the entire distribution by that amount without changing its shape or relative positions.

The same principle applies when subtracting a constant, but the measures decrease instead of increase.

Question: How do I know if my data is skewed, and what does that mean for my choice of center measure?

Answer: You can identify skewness in several ways:

  • Visual inspection: Look at a histogram or box plot. If one tail is longer than the other, the data is skewed in the direction of the longer tail.
  • Compare mean and median: If mean > median, the data is likely right-skewed. If mean < median, the data is likely left-skewed.
  • Look for outliers: Extreme values on one side indicate skewness in that direction.

Implications for center measures:

  • Right-skewed: Mean is pulled right by high values, median is more representative
  • Left-skewed: Mean is pulled left by low values, median is more representative
  • Symmetric: Mean and median are similar, either is appropriate

For example, income data is typically right-skewed because a few high earners pull the mean much higher than the median.

Question: When reporting results, should I report just one measure of center or multiple measures?

Answer: The best practice is to report multiple measures of center when they provide different insights:

  • Report both mean and median: This gives readers information about the distribution shape and the presence of outliers
  • Include the mode: When it provides meaningful information about the most common value
  • Context matters: In some fields, one measure is traditionally emphasized, but providing multiple offers completeness

Example reporting: "The average test score was 78.5 (mean), with a median score of 82. The most common score was 85."

Benefits of multiple measures:

  • Readers can assess the distribution shape
  • Presence of outliers becomes apparent
  • More complete picture of the data
  • Allows for different interpretations

However, always prioritize the measure that best answers your research question or serves your analytical purpose.