Learning Objectives

Terminology:

·       Mean (arithmetic mean)

·       Median

·       Quartiles (first quartile Q1Q_1, second quartile Q2Q_2, third quartile Q3Q_3)

·       Mode

Knowledge and Skills:

·       Select and compute measures of central tendency for a dataset: mean, median, quartiles, and mode.

·       Explain the statistical meaning and practical role of measures of central tendency in real-world datasets.

·       Draw conclusions and compare data distributions using measures of central tendency.

Mean and Median

a) Mean

Definition: The mean (arithmetic mean) of a sample dataset x1,x2,…,xnx_1, x_2, \dots, x_n, denoted by x‾\overline{x}, is given by the formula: x‾=x1+x2+⋯+xnn\overline{x} = \frac{x_1 + x_2 + \dots + x_n}{n}

Frequency Distribution Table: When the dataset is presented in a frequency table: x‾=m1x1+m2x2+⋯+mkxkn\overline{x} = \frac{m_1 x_1 + m_2 x_2 + \dots + m_k x_k}{n} where mkm_k is the frequency of value xkx_k and the sample size is n=m1+m2+⋯+mkn = m_1 + m_2 + \dots + m_k.

Statistical Meaning: The mean represents the center of gravity of a dataset when the distribution contains no outliers (extreme values that are unusually high or low).

Example 1: A survey recorded the number of books read by students in a class during 2021: 3 students read 1 book, 5 read 2 books, 15 read 3 books, 10 read 4 books, and 7 read 5 books. On average, how many books did each student read in 2021?

Solution for Example 1: • Total number of students: n=3+5+15+10+7=40n = 3 + 5 + 15 + 10 + 7 = 40 (students). • Mean number of books read per student: x‾=3⋅1+5⋅2+15⋅3+10⋅4+7⋅540=3+10+45+40+3540=13340=3.325 (books).\overline{x} = \frac{3 \cdot 1 + 5 \cdot 2 + 15 \cdot 3 + 10 \cdot 4 + 7 \cdot 5}{40} = \frac{3 + 10 + 45 + 40 + 35}{40} = \frac{133}{40} = 3.325\text{ (books)}.

Practice 1: The following table shows the 100 m sprint times (in seconds) of students in a class: 5 students ran in 12 s, 7 in 13 s, 10 in 14 s, 8 in 15 s, and 6 in 16 s. Calculate the mean time for the 100 m sprint.

Solution for Practice 1: • Total number of students: n=5+7+10+8+6=36n = 5 + 7 + 10 + 8 + 6 = 36 (students). • The mean sprint time is: x‾=5⋅12+7⋅13+10⋅14+8⋅15+6⋅1636=60+91+140+120+9636=50736=14.083⋯≈14.08 (seconds).\overline{x} = \frac{5 \cdot 12 + 7 \cdot 13 + 10 \cdot 14 + 8 \cdot 15 + 6 \cdot 16}{36} = \frac{60 + 91 + 140 + 120 + 96}{36} = \frac{507}{36} = 14.083\dots \approx 14.08\text{ (seconds)}.

b) Median

Concept and Procedure:

When a dataset contains outliers (atypical values that are exceptionally large or small compared to the majority), the mean becomes skewed and fails to accurately reflect the central tendency. In such cases, the median is preferred.

Steps to determine the median MeM_e of an ordered sample of size nn: • Step 1: Arrange the data in non-decreasing order. • Step 2:   + If nn is odd (n=2k+1n = 2k + 1), the median is the middle value at position k+1k + 1: Me=x_k+1M_e = x\_{k+1}.   + If nn is even (n=2kn = 2k), the median is the arithmetic mean of the two central values at positions kk and k+1k + 1: Me=xk+x_k+12M_e = \frac{x_k + x\_{k+1}}{2}.

Statistical Meaning: The median is resistant to outliers. It divides the ordered dataset into two halves containing an equal number of observations.

Example 2: A small enterprise consists of 1 director earning a monthly salary of 20 million VND and 5 employees each earning 4 million VND. Find the median and the mean of the salary distribution.

Solution for Example 2: • Arranging the salaries in non-decreasing order: 4,4,4,4,4,204, 4, 4, 4, 4, 20 (million VND). • The sample size is n=6n = 6 (even). The two central values at positions 3 and 4 are both 4. Therefore, the median is Me=4+42=4 (million VND)M_e = \frac{4 + 4}{2} = 4\text{ (million VND)}. • The mean is x‾=4⋅5+206≈6.67 (million VND)\overline{x} = \frac{4 \cdot 5 + 20}{6} \approx 6.67\text{ (million VND)}. The mean is inflated by the director’s high salary (an outlier), making the median Me=4 million VNDM_e = 4\text{ million VND} a much more representative summary of employee earnings.

Practice 2: The lengths (in feet) of 7 adult whales are given as: 48, 53, 51, 31, 53, 112, 52. Find the mean and median of the dataset. Which measure is more appropriate to represent the typical length of these 7 adult whales?

Solution for Practice 2: • Arranging the data in non-decreasing order: 31,48,51,52,53,53,11231, 48, 51, 52, 53, 53, 112. • The sample size is n=7n = 7 (odd); the middle value at position 4 is 5252. Thus, the median is Me=52 feetM_e = 52\text{ feet}. • The mean is: x‾=31+48+51+52+53+53+1127=4007≈57.14 (feet).\overline{x} = \frac{31 + 48 + 51 + 52 + 53 + 53 + 112}{7} = \frac{400}{7} \approx 57.14\text{ (feet)}. • Evaluation: The observation 112 feet112\text{ feet} is an outlier (substantially larger than all other whales). Therefore, the median Me=52 feetM_e = 52\text{ feet} is more appropriate than the mean to represent the length of these whales.

Quartiles

a) Concept and Computation of Quartiles

Definition: Quartiles consist of three cut points Q1,Q2,Q3Q_1, Q_2, Q_3 that partition an ordered dataset into four quarters, each containing approximately 25%25\% of the data values.

Procedure for Finding Quartiles: • Step 1: Arrange the dataset in non-decreasing order. • Step 2: Find the median of the entire dataset; this is the second quartile Q2Q_2. • Step 3: Find the median of the lower half of the data below Q2Q_2 (excluding Q2Q_2 if nn is odd); this is the first (lower) quartile Q1Q_1. • Step 4: Find the median of the upper half of the data above Q2Q_2 (excluding Q2Q_2 if nn is odd); this is the third (upper) quartile Q3Q_3.

Geometric Meaning and Distribution Shape: The distances Q2−Q1Q_2 - Q_1 and Q3−Q2Q_3 - Q_2 illustrate data concentration or spread on either side of the median.

b) Illustrative Examples and Practice on Quartiles

Example 3: The sodium content (in mg) per 100 g of cereal for 20 brands is ordered as follows: 0, 50, 70, 100, 130, 140, 140, 150, 160, 180, 180, 180, 190, 200, 200, 210, 210, 220, 290, 340. Find the quartiles and interpret their distribution.

Solution for Example 3: • Ordered dataset (n=20n = 20): 0, 50, 70, 100, 130, 140, 140, 150, 160, 180, 180, 180, 190, 200, 200, 210, 210, 220, 290, 340. • The two central values at positions 10 and 11 are both 180, so: Q2=180+1802=180Q_2 = \frac{180 + 180}{2} = 180 • The lower half consists of the first 10 values: 0, 50, 70, 100, 130, 140, 140, 150, 160, 180.   The two central values are 130 and 140, hence: Q1=130+1402=135Q_1 = \frac{130 + 140}{2} = 135 • The upper half consists of the last 10 values: 180, 180, 190, 200, 200, 210, 210, 220, 290, 340.   The two central values are 200 and 210, hence: Q3=200+2102=205Q_3 = \frac{200 + 210}{2} = 205 • Distribution Interpretation: The spread Q2−Q1=180−135=45Q_2 - Q_1 = 180 - 135 = 45 is substantially larger than Q3−Q2=205−180=25Q_3 - Q_2 = 205 - 180 = 25, indicating that the data values are more densely clustered in the upper half above the median than in the lower half.

Practice 3: The following frequency table shows the number of times per week 35 tenth-grade students access English learning platforms on the Internet: 0 times (2 students), 1 time (4 students), 2 times (6 students), 3 times (12 students), 4 times (8 students), 5 times (3 students). Determine the quartiles for this dataset.

Solution for Practice 3: • Total sample size: n=2+4+6+12+8+3=35n = 2 + 4 + 6 + 12 + 8 + 3 = 35 (odd). • The median Q2Q_2 is the observation at position 35+12=18\frac{35 + 1}{2} = 18.   Cumulative frequencies: up to 2 times is 2+4+6=122 + 4 + 6 = 12; up to 3 times is 12+12=2412 + 12 = 24. Thus, the 18th value is 3. Hence, Q2=3Q_2 = 3. • The lower half contains the first 17 observations. The first quartile Q1Q_1 is at position 17+12=9\frac{17 + 1}{2} = 9.   Cumulative frequencies: up to 1 time is 2+4=62 + 4 = 6; up to 2 times is 6+6=126 + 6 = 12. Thus, the 9th value is 2. Hence, Q1=2Q_1 = 2. • The upper half contains the last 17 observations (positions 19 to 35). The median of this half is at position 18+9=2718 + 9 = 27.   Cumulative frequencies: up to 3 times is 24; up to 4 times is 24+8=3224 + 8 = 32. Thus, the 27th value is 4. Hence, Q3=4Q_3 = 4. • Conclusion: Q1=2Q_1 = 2, Q2=3Q_2 = 3, Q3=4Q_3 = 4.

Mode

a) Definition and Significance of the Mode

Definition: The mode of a dataset is the value that appears with the highest frequency, denoted by MoM_o.

Significance: The mode measures central tendency when multiple repeated values exist. It is widely used in business, commerce, and retail (e.g., determining the best-selling clothing or shoe size to optimize procurement).

Key Characteristics: • A dataset may have a unique mode (unimodal), multiple modes (bimodal or multimodal), or no mode (when all values occur with equal frequency). • The mode is the only measure of central tendency that is applicable to categorical (qualitative) data (e.g., consumer brand preferences, voting choices).

b) Illustrative Examples on the Mode

Example 4: Daily Internet access times (in hours) of a sample of students were recorded as: 0, 0, 1, 1, 1, 3, 4, 4, 5, 6. Find the mode of this dataset.

Solution for Example 4: • The value 1 appears with the highest frequency (3 times). Therefore, the mode is Mo=1 (hour)M_o = 1\text{ (hour)}.

Applications and Exercises

a) Applied Problem Comparing Learning Methods

Application: Two distinct English learning methods were implemented in two classes A and B of comparable initial proficiency. The survey test scores (on a 10-point scale) after two months for each class (each comprising 25 students) were recorded as follows: Class A: 2, 7, 6, 3, 9, 8, 6, 7, 9, 2, 5, 7, 5, 9, 8, 8, 7, 4, 3, 5, 5, 4, 5, 7, 7. Class B: 6, 7, 6, 4, 7, 9, 3, 8, 7, 5, 5, 6, 8, 7, 4, 3, 10, 5, 7, 9, 6, 7, 6, 7, 5. Calculate the measures of central tendency to compare the effectiveness of the two instructional methods.

Solution for Application: • Ordered scores for Class A (n=25n = 25): 2, 2, 3, 3, 4, 4, 5, 5, 5, 5, 5, 6, 6, 7, 7, 7, 7, 7, 7, 8, 8, 8, 9, 9, 9.   + Mean: x‾_A=14725=5.88\overline{x}\_A = \frac{147}{25} = 5.88.   + Median: The 13th observation is Me=6M_e = 6.   + Quartiles: Q1=4+52=4.5Q_1 = \frac{4 + 5}{2} = 4.5; Q2=6Q_2 = 6; Q3=7+82=7.5Q_3 = \frac{7 + 8}{2} = 7.5.   + Mode: Mo=7M_o = 7 (frequency: 6 times). • Ordered scores for Class B (n=25n = 25): 3, 3, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 8, 8, 9, 9, 10.   + Mean: x‾_B=15725=6.28\overline{x}\_B = \frac{157}{25} = 6.28.   + Median: The 13th observation is Me=6M_e = 6.   + Quartiles: Q1=5+52=5Q_1 = \frac{5 + 5}{2} = 5; Q2=6Q_2 = 6; Q3=7+72=7Q_3 = \frac{7 + 7}{2} = 7.   + Mode: Mo=7M_o = 7 (frequency: 7 times). • Analysis & Conclusion: Class B achieved a higher mean score (x‾_B=6.28>x‾_A=5.88\overline{x}\_B = 6.28 > \overline{x}\_A = 5.88) and a higher lower quartile (Q_1(B)=5>Q_1(A)=4.5Q\_{1(B)} = 5 > Q\_{1(A)} = 4.5), indicating that the method applied to Class B yielded overall superior and more consistent learning performance.

b) Detailed Section Exercises

Exercise 5.7: Find the mean, median, mode, and quartiles for each of the following datasets: a) Points scored by 5 basketball players in a game: 9, 8, 15, 8, 20. b) Prices of various shoe models (in thousand VND): 350, 300, 650, 300, 450, 500, 300, 250. c) Number of channels offered by several cable TV providers: 36, 38, 33, 34, 32, 30, 34, 35.

Solution for Exercise 5.7: • a) Ordered data: 8, 8, 9, 15, 20 (n=5n = 5).   + Mean: x‾=8+8+9+15+205=605=12\overline{x} = \frac{8 + 8 + 9 + 15 + 20}{5} = \frac{60}{5} = 12.   + Median: Me=Q2=9M_e = Q_2 = 9.   + Quartiles: Q1=8Q_1 = 8; Q3=15+202=17.5Q_3 = \frac{15 + 20}{2} = 17.5.   + Mode: Mo=8M_o = 8 (frequency: 2). • b) Ordered data: 250, 300, 300, 300, 350, 450, 500, 650 (n=8n = 8).   + Mean: x‾=250+300⋅3+350+450+500+6508=31008=387.5 (thousand VND)\overline{x} = \frac{250 + 300 \cdot 3 + 350 + 450 + 500 + 650}{8} = \frac{3100}{8} = 387.5\text{ (thousand VND)}.   + Median: Me=Q2=300+3502=325 (thousand VND)M_e = Q_2 = \frac{300 + 350}{2} = 325\text{ (thousand VND)}.   + Quartiles: Q1=300+3002=300Q_1 = \frac{300 + 300}{2} = 300; Q3=450+5002=475Q_3 = \frac{450 + 500}{2} = 475.   + Mode: Mo=300 (thousand VND)M_o = 300\text{ (thousand VND)} (frequency: 3). • c) Ordered data: 30, 32, 33, 34, 34, 35, 36, 38 (n=8n = 8).   + Mean: x‾=30+32+33+34+34+35+36+388=2728=34\overline{x} = \frac{30 + 32 + 33 + 34 + 34 + 35 + 36 + 38}{8} = \frac{272}{8} = 34.   + Median: Me=Q2=34+342=34M_e = Q_2 = \frac{34 + 34}{2} = 34.   + Quartiles: Q1=32+332=32.5Q_1 = \frac{32 + 33}{2} = 32.5; Q3=35+362=35.5Q_3 = \frac{35 + 36}{2} = 35.5.   + Mode: Mo=34M_o = 34 (frequency: 2).

Exercise 5.8: Select the most appropriate measure of central tendency for each dataset, justify your choice, and compute its value: a) Number of known moons of the planets: Mercury (0), Venus (0), Earth (1), Mars (2), Jupiter (63), Saturn (34), Uranus (27), Neptune (13). b) Number of successful passes made by 5 football players: 32, 24, 20, 14, 23. c) IQ scores of a group of students: 80, 102, 83, 103, 108, 94, 110, 106, 104, 100. d) Errors in a series of measurements: 10, 15, 18, 15, 14, 13, 42, 15, 12, 14, 42.

Solution for Exercise 5.8: • a) Ordered dataset: 0, 0, 1, 2, 13, 27, 34, 63 (n=8n = 8). Due to prominent high outliers (63, 34), the median is the most appropriate measure: Me=2+132=7.5M_e = \frac{2 + 13}{2} = 7.5. • b) The data points are moderately spread with no outliers; hence, the mean is the most suitable measure: x‾=32+24+20+14+235=1135=22.6 (passes).\overline{x} = \frac{32 + 24 + 20 + 14 + 23}{5} = \frac{113}{5} = 22.6\text{ (passes)}. • c) The IQ scores are distributed evenly without extreme outliers; therefore, the mean is the preferred measure: x‾=80+102+83+103+108+94+110+106+104+10010=99010=99.\overline{x} = \frac{80 + 102 + 83 + 103 + 108 + 94 + 110 + 106 + 104 + 100}{10} = \frac{990}{10} = 99. • d) Ordered data: 10, 12, 13, 14, 14, 15, 15, 15, 18, 42, 42 (n=11n = 11). Because of the heavy outliers at 42, the median Me=15M_e = 15 (the 6th value) is the most robust measure. (Alternatively, the mode Mo=15M_o = 15 is also meaningful as it appears 3 times).

Exercise 5.9: The number of National Excellent Student Competition awardees in the 2018–2019 academic year for 10 high schools is: 0, 0, 4, 0, 0, 0, 10, 0, 6, 0. a) Find the mean, mode, and quartiles of this dataset. b) Explain why the first quartile and the median coincide.

Solution for Exercise 5.9: • a) Ordered dataset (n=10n = 10): 0, 0, 0, 0, 0, 0, 0, 4, 6, 10.   + Mean: x‾=0⋅7+4+6+1010=2010=2\overline{x} = \frac{0 \cdot 7 + 4 + 6 + 10}{10} = \frac{20}{10} = 2.   + Mode: Mo=0M_o = 0 (frequency: 7 times).   + Median: Q2=0+02=0Q_2 = \frac{0 + 0}{2} = 0.   + Quartiles: Lower half contains 5 zeros, so Q1=0Q_1 = 0. Upper half is 0, 0, 4, 6, 10, whose median is the middle value, hence Q3=4Q_3 = 4. • b) Explanation: 7 out of 10 observations are equal to 0, representing 70%70\% of the total sample size at the lower end. Since over half of the dataset is 0, both the 25th percentile (Q1Q_1) and the 50th percentile (Q2Q_2) fall on 0, leading to Q1=Q2=0Q_1 = Q_2 = 0.

Exercise 5.10: Seating capacities of football stadiums used in the 2018 Vietnam National Championship: Cam Pha (20,120), Thien Truong (21,315), Hang Day (23,405), Thanh Hoa (20,120), My Dinh (37,546). How are the mean, median, and mode affected if My Dinh National Stadium is omitted from the dataset?

Solution for Exercise 5.10: • Initial sample of 5 stadiums in order: 20,120; 20,120; 21,315; 23,405; 37,546.   + Initial Mean: x‾_1=20,120+20,120+21,315+23,405+37,5465=122,5065=24,501.2\overline{x}\_1 = \frac{20\\,120 + 20\\,120 + 21\\,315 + 23\\,405 + 37\\,546}{5} = \frac{122\\,506}{5} = 24\\,501.2.   + Initial Median: M_e1=21,315M\_{e1} = 21\\,315.   + Initial Mode: M_o1=20,120M\_{o1} = 20\\,120. • After removing My Dinh (37,546 seats), the remaining 4 stadiums are: 20,120; 20,120; 21,315; 23,405.   + New Mean: x‾_2=20,120+20,120+21,315+23,4054=84,9604=21,240\overline{x}\_2 = \frac{20\\,120 + 20\\,120 + 21\\,315 + 23\\,405}{4} = \frac{84\\,960}{4} = 21\\,240.   + New Median: M_e2=20,120+21,3152=20,717.5M\_{e2} = \frac{20\\,120 + 21\\,315}{2} = 20\\,717.5.   + New Mode: M_o2=20,120M\_{o2} = 20\\,120. • Summary of Effects:   + The mean decreases substantially (from 24,501.224\\,501.2 to 21,24021\\,240, a decrease of 3,261.23\\,261.2 seats) because the omitted data point was a substantial high outlier.   + The median decreases slightly (from 21,31521\\,315 to 20,717.520\\,717.5, a decrease of 597.5597.5 seats).   + The mode remains unchanged (20,12020\\,120).