【統計學:平均數、中位數、眾數、分佈域及四分位數】Statistics: Mean, Median, Mode, Range and Quartiles

SketchMath 數學團隊 SketchMath Maths Team | 更新 Updated 2026-10-20

平均數 = 總和 ÷ 數據個數。中位數 = 排序後的中間值。眾數 = 出現最多次的值。分佈域 = 最大值 − 最小值。四分位數把排序後的數據分成四等份,四分位數間距 = Q₃ − Q₁。中位數及四分位數間距較不受極端值影響;平均數及分佈域則會。Mean = sum ÷ number of values. Median = middle value of the ordered data. Mode = most frequent value. Range = largest − smallest. Quartiles split the ordered data into quarters, and IQR = Q₃ − Q₁. The median and IQR are not pulled around by extreme values; the mean and range are.

用 AI 逐步解統計學:平均數、中位數、眾數及四分位數題目 Solve it with AI練習 115 條 DSE 模擬題 Practise 115 DSE-style questions
把最後一個數 v 由 7 往右拖:紅色的平均數線向右移,藍色的中位數線卻留在 5。眾數是 5。 Drag the last value v from 7 upwards: the red mean line is pulled to the right, but the blue median stays at 5. Mode is 5. 自己試試 → Try it yourself →

統計學公式 Statistics Formulas

平均數Meanx̄ = Σx / n
頻數表的平均數Mean from a frequency tablex̄ = Σfx / Σf
中位數Median中間值;數據個數為偶數時,取中間兩個的平均數Middle value; for an even number of values, the mean of the middle two
分佈域Rangelargest − smallest
四分位數及四分位數間距Quartiles and IQRQ₁ = median of the lower half, Q₃ = median of the upper half, IQR = Q₃ − Q₁
↑ 返回頁頂 Back to top

平均值 Mean

相信大家都記得以前學過有關「統計圖」嘅課題,而統計學 Statistics 就係從統計數據之中理解當前趨勢嘅課題,就例如了解眾數、中位數、平均數、分佈域、四分位數,從而去做一啲推斷或者決定。

平均值(Mean)常用於表示統計對象嘅一般水平(average value),算式為「所有項數的數值 ÷ 所有項數的數目」,例如最近 7 日平均溫度、全班女同學平均身高、10 個橙嘅平均重量等等。

誤用情況:數據有太離散的項值,例如 3 個啞鈴分別為 1、2 及 60 公斤,於是乎平均值為「(1 + 2 + 60) ÷ 3 = 21 公斤」,然而因為受到極端值的影響,得出的結果其實是毫無意義或無法反映現實分布。

You remember the statistical diagrams from earlier years. Statistics is about reading the current trend from the data, for example through the mode, median, mean, range and quartiles, in order to make an inference or a decision.

The mean is the usual way to give the average level of the data: mean = (sum of all values) ÷ (number of values), for example the average temperature of the last 7 days, the average height of the girls in a class, or the average mass of 10 oranges.

Misuse: the data have a value that is far too extreme. Three dumbbells of 1 kg, 2 kg and 60 kg have a mean of (1 + 2 + 60) ÷ 3 = 21 kg, but because of the extreme value the result is meaningless and does not show the real spread.

↑ 返回頁頂 Back to top

眾數 Mode

眾數(Mode)= 頻數最高的數據(appear most),指一組數據中出現次數最多嘅數據值,例如「4、5、5、6、6、6、6、7、7」中,出現最多嘅係 6,因此眾數為 6。

眾數可以係一個數(例如 6),亦可以係多個數(例如上例無咗 6 嘅話,5 與 7 各出現兩次,因此眾數為 5 及 7);然而若每個數據值出現次數相同,則不存在眾數,例如「2、2、5、5、8、8」中,2、5、8 出現次數相同,因此此數據不存在眾數。

The mode is the value with the highest frequency (the one that appears most often). In 4, 5, 5, 6, 6, 6, 6, 7, 7 the value that appears most is 6, so the mode is 6.

A mode can be one number (6) or several (without the 6s above, 5 and 7 each appear twice, so the modes are 5 and 7). If every value appears the same number of times, there is no mode: in 2, 2, 5, 5, 8, 8 the values 2, 5 and 8 each appear twice, so there is no mode.

↑ 返回頁頂 Back to top

中位數 Median

中位數(Median)= 由小至大排列後位於中間的數據(middle one after queued),意思即指一組數據經排列後劃分爲數量相等嘅上下兩部分,中間未被分組的數則為中位數(例如 1、4、5、7、8 的中位數為 5);如果數據為偶數,則中位數取最中間的兩個數值的平均數(例如 2、3、4、10 的中位數為 (3 + 4) ÷ 2 = 3.5)。

一般而言,平均數係最常被使用做為數據嘅集中趨勢,但如果有極端值存在,平均數嘅代表性就會降低。因此在有極端值嘅狀況下,中位數是比較好嘅集中趨勢代表,例如計算香港人每月收入分布。

The median is the middle value after the data are put in order (smallest to largest): the data are split into an upper and a lower part with the same number of values, and the middle value left over is the median. The median of 1, 4, 5, 7, 8 is 5. If the number of values is even, the median is the mean of the two middle values: the median of 2, 3, 4, 10 is (3 + 4) ÷ 2 = 3.5.

The mean is the most used measure of the centre of the data, but with extreme values its representativeness drops. In that case the median is the better choice, for example for the distribution of monthly incomes of Hong Kong people.

↑ 返回頁頂 Back to top

分佈域 Range

分佈域(Range)= 最大的數據 減去 最小的數據(largest data − smallest data)。例子:五人體重分別為 50 kg、60 kg、65 kg、67 kg、80 kg,分佈域則為 80 − 50 = 30 kg(需要寫單位)。

注意分佈域只係指出「最大同最細數據嘅差距」,並唔一定可以準確咁指數據嘅分散程度。例如 A 組數據 1、3、6、100,分佈域為 100 − 1 = 99;B 組數據 1、33、66、100,分佈域亦為 99。雖然 AB 組分佈域相同,明顯 A 組的頭三個數據更接近,其中 100 只是離散數據,影響整個統計分析。因此為了更準確知道數據分佈,數學家提出「四分位數間距」概念。

The range = the largest data value − the smallest data value. Example: five people weigh 50 kg, 60 kg, 65 kg, 67 kg and 80 kg, so the range is 80 − 50 = 30 kg (write the unit).

The range only shows the gap between the largest and the smallest value, so it does not always show how spread out the data really are. Group A: 1, 3, 6, 100 has range 100 − 1 = 99; group B: 1, 33, 66, 100 also has range 99. Yet the first three values of A are close together and the 100 is an outlier that distorts everything. To describe the spread better, we use the inter-quartile range.

↑ 返回頁頂 Back to top

四分位數間距 Inter-quartile range

四分位數間距(Inter-quartile range)= Q3 − Q1,當中 Q3 為上四分位數(75% 的數據在它之下)及 Q1 為下四分位數(25% 的數據在它之下)。

例:求數據 1, 100, 2, 6, 3, 7, 7, 8, 11 的四分位數間距。先把數據按大細排好:1 2 3 6 7 7 8 11 100。然後指出 25%、50% 及 75%,即 1 2 | 3 6 [7] 7 8 | 11 100。所以 Q1 = (2 + 3) ÷ 2 = 2.5,Q2 = 7,Q3 = (8 + 11) ÷ 2 = 9.5。四分位數間距 = 9.5 − 2.5 = 7。極端值 100 對它的影響很小。

The inter-quartile range (IQR) = Q3 − Q1, where Q1 is the lower quartile (25% of the data lie below it) and Q3 is the upper quartile (75% of the data lie below it).

Example: find the inter-quartile range of 1, 100, 2, 6, 3, 7, 7, 8, 11. Put them in order: 1, 2, 3, 6, 7, 7, 8, 11, 100. Mark off 25%, 50% and 75%: 1 2 | 3 6 [7] 7 8 | 11 100. So Q1 = (2 + 3) ÷ 2 = 2.5, Q2 = 7 and Q3 = (8 + 11) ÷ 2 = 9.5. The inter-quartile range is 9.5 − 2.5 = 7. The extreme value 100 hardly affects it.

↑ 返回頁頂 Back to top

統計學:平均數、中位數、眾數及四分位數例題詳解 Worked Examples

例題 1 Example 1:集中趨勢及離散程度 Measures of location and spread

求 2, 3, 3, 4, 5, 5, 5, 8 的平均數、中位數、眾數、分佈域及四分位數間距。Find the mean, median, mode, range and IQR of 2, 3, 3, 4, 5, 5, 5, 8.

  1. mean = 35 / 8 = 4.375
  2. 中位數:中間兩個是 4 及 5,所以是 4.5。眾數:5。分佈域:8 − 2 = 6Median: the middle two are 4 and 5, so 4.5. Mode: 5. Range: 8 − 2 = 6
  3. 下半部 2, 3, 3, 4:Q₁ = 3。上半部 5, 5, 5, 8:Q₃ = 5Lower half 2, 3, 3, 4: Q₁ = 3. Upper half 5, 5, 5, 8: Q₃ = 5

答案: Answer: 平均數 4.375、中位數 4.5、眾數 5、分佈域 6、四分位數間距 5 − 3 = 2Mean 4.375, median 4.5, mode 5, range 6, IQR 5 − 3 = 2

例題 2 Example 2:由頻數表求平均數 Mean from a frequency table

分數 1、2、3、4 分別出現 2、5、8、5 次,求平均數。Scores 1, 2, 3, 4 occur 2, 5, 8, 5 times. Find the mean.

  1. Σf = 2 + 5 + 8 + 5 = 20
  2. Σfx = 2 + 10 + 24 + 20 = 56

答案: Answer: 56 / 20 = 2.8

例題 3 Example 3:極端值的影響 The effect of an extreme value

在 2, 3, 3, 4, 5, 5, 5, 8 加入第九個數 40,比較新舊平均數及中位數。A ninth value 40 is added to 2, 3, 3, 4, 5, 5, 5, 8. Compare the new mean and median with the old ones.

  1. new mean = 75 / 9 ≈ 8.33 (was 4.375)
  2. 排序後第 5 個數是 5,所以中位數是 5(原本 4.5)The ordered middle (5th) value is 5, so the median is 5 (was 4.5)

答案: Answer: 平均數幾乎增加一倍,中位數卻幾乎不變。The mean almost doubles but the median barely moves.

↑ 返回頁頂 Back to top

💡 應試陷阱與秘訣 Exam Traps & Secrets

⚠️ 先排序 Order the data first要先把數據由小至大排序,才能求中位數及四分位數。The median and quartiles only make sense after sorting the values from smallest to largest.
⚠️ 可以有兩個眾數,或沒有眾數 Two modes, or none若有兩個值並列最高頻數,便有兩個眾數;若每個值只出現一次,便沒有眾數。If two values tie for the highest frequency there are two modes; if every value occurs once, there is no mode.
↑ 返回頁頂 Back to top

✏️ 自我測試:互動練習 Self-Test: Interactive Practice

溫習方法:點擊以下任何題目,即時在坐標網格載入並核對計算步驟。How to study: click any question to load it on the coordinate grid and check your steps.

(平均數 Averages)求 12, 15, 15, 18, 20, 22, 25 的平均數、中位數及眾數。Find the mean, median and mode of 12, 15, 15, 18, 20, 22, 25.
(平均數 Mean)5 個數的平均數是 8,加入第六個數後平均數變成 9,求這個數。The mean of 5 numbers is 8. A sixth number is added and the mean becomes 9. Find it.
(詮釋 Interpret)描述一間公司的典型薪酬,平均數還是中位數較好?解釋原因。Which is better to describe the typical salary of a company, the mean or the median? Explain.
↑ 返回頁頂 Back to top

統計學:平均數、中位數、眾數及四分位數練習題(DSE 模擬題) Exercises: DSE-Style Practice

SketchMath 題庫內的 DSE 風格練習,選擇題及長題目均附解答。 DSE-style practice from the SketchMath question bank, with solutions for every MC and long question.

集中趨勢的量度 · 中三
16 條選擇題 16 MC · 9 條長題目 9 long questions
離差的量度 · 中五
71 條選擇題 71 MC · 19 條長題目 19 long questions

常見問題 Frequently Asked Questions

↑ 返回頁頂 Back to top

相關主題 Related Topics

統計圖 Statistical Diagrams標準分及正態分佈 Standard Score and Normal Distribution離散程度的度量 Measures of DispersionHKDSE 數學全部課題 HKDSE Math: all topicsDSE 數學公式表(全課題) HKDSE Maths Formula SheetDSE 數學練習(按年級) DSE Maths Practice by Form
統計學:平均數、中位數、眾數及四分位數 DSE 練習題 Try a DSE Practice Question