← All Units← 返回单元列表 ← Course Hub← 课程主页
I B  M A T H  A A  H L
Unit D2 · SolutionsUnit D2 · 解析

Probability — Solutions概率 —— 解析

Companion to the IB-Style Practice SetIB 风格练习题的解析配套

EASYMEDIUMHARD Paper 1APaper 1BPaper 2Paper 3 HL ONLY

Syllabus 4.5 – 4.6 SL + AHL 4.10 Bayes考纲 4.5 – 4.6 SL + AHL 4.10 贝叶斯(Bayes' theorem) AA HL



PART I  ·  PAPER 1 SECTION A — SOLUTIONS第一部分  ·  第一卷 A 节 —— 解析No calculator · 22 marks不可使用计算器 · 22 分

Section A — Worked SolutionsA 节 —— 详细解析

Q1EASYPaper 1A4.5 Sample Spaces[5 marks]

Two fair dice. (a) $P(\text{sum}=7)$. (b) $P(\text{sum even})$. (c) $P(\text{at least one }6)$.两枚均匀骰子。(a) $P(\text{sum}=7)$。(b) $P(\text{sum even})$。(c) $P(\text{at least one }6)$。

Answers:答案:  (a) $\dfrac{1}{6}$  ·  (b) $\dfrac{1}{2}$  ·  (c) $\dfrac{11}{36}$

(a) Sum equals $7$ M1·A1

Pairs giving sum $7$: $(1,6),(2,5),(3,4),(4,3),(5,2),(6,1)$ — exactly $6$ outcomes out of $36$. $P = 6/36 = \boxed{\tfrac{1}{6}}.$

(b) Sum is even A1

Sum is even iff both dice match parity. Both odd: $3 \times 3 = 9$ pairs. Both even: $3 \times 3 = 9$ pairs. Total $18/36 = \boxed{\tfrac{1}{2}}$.

(c) At least one $6$ — complement trick M1·A1

$P(\text{no }6 \text{ on either die}) = (5/6)^2 = 25/36$. So $$ P(\text{at least one }6) \;=\; 1 - \tfrac{25}{36} \;=\; \boxed{\tfrac{11}{36}}. $$
Complement first. "At least one" almost always opens with the complement rule. Counting the at-least-one outcomes directly is error-prone (double-counting); $1 - P(\text{none})$ is bulletproof.

(a) 点数和等于 $7$ M1·A1

点数和为 $7$ 的样本空间(sample space)中的结果(outcome):$(1,6),(2,5),(3,4),(4,3),(5,2),(6,1)$ —— $36$ 个结果中恰有 $6$ 个。$P = 6/36 = \boxed{\tfrac{1}{6}}.$

(b) 点数和为偶数 A1

点数和为偶数当且仅当两枚骰子奇偶性相同。两枚都为奇:$3 \times 3 = 9$ 对;两枚都为偶:$3 \times 3 = 9$ 对。共 $18/36 = \boxed{\tfrac{1}{2}}$。

(c) 至少一枚为 $6$ —— 余事件技巧 M1·A1

$P(\text{no }6 \text{ on either die}) = (5/6)^2 = 25/36$。因此用余事件(complement): $$ P(\text{at least one }6) \;=\; 1 - \tfrac{25}{36} \;=\; \boxed{\tfrac{11}{36}}. $$
先用余事件。 题目里出现 "at least one" 几乎都从余事件入手。直接枚举 "至少一次" 容易重复计数;用 $1 - P(\text{none})$ 几乎不出错。
Where this goes wrong.错在哪里。 (a) A common slip is to count only the three unordered pairs \((1,6),(2,5),(3,4)\), which gives \(3/36=1/12\) instead of the six ordered outcomes. (b) Another slip is to say an even sum means one even and one odd, which gives \(18/36=1/2\) from the wrong event. (c) A frequent error is to use \(1-\frac56\) for at least one \(6\), forgetting the square and getting \(1/6\).(a) 常见失误是只数到三个无序配对 \((1,6),(2,5),(3,4)\),于是写成 \(3/36=1/12\),把顺序对漏掉了。 (b) 另一种失误是把偶数和误看成一奇一偶,得到 \(18/36=1/2\),但这是错的事件。 (c) 常见错误是写 \(1-\frac56\),忘了两次都没有 \(6\),要平方,所以会得到 \(1/6\)。
Markscheme, 5 marks.评分标准,共 5 分。 (a) 1: Lists the six ordered outcomes with sum \(7\) or counts \(6\) favourable pairs (M1) · 1: Converts to \(6/36=1/6\) (A1) · (b) 1: Uses parity, both odd or both even gives \(18/36\) or \(1/2\) (A1) · (c) 1: Uses complement \(P(\text{no }6)\) (M1) · 1: Calculates \(1-(5/6)^2=11/36\) (A1)(a) 1 分:列出 \(7\) 的六个有序结果,或正确数出 \(6\) 个有利配对 (M1) · 1 分:化成 \(6/36=1/6\) (A1) · (b) 1 分:用奇偶性,偶奇同号时得到 \(18/36\) 或 \(1/2\) (A1) · (c) 1 分:用补集 \(P(\text{没有 }6)\) (M1) · 1 分:算出 \(1-(5/6)^2=11/36\) (A1)
Q2EASYPaper 1A4.5 Complementary / Expected[5 marks]

$P(\text{rain}) = 0.4$, days independent. (a) $P(\text{no rain})$. (b) Expected rainy days in $30$. (c) $P(\ge 1\text{ rainy day in }3)$.$P(\text{rain}) = 0.4$,各天独立。(a) $P(\text{no rain})$。(b) $30$ 天内下雨天数的期望。(c) $P(\ge 1\text{ rainy day in }3)$。

Answers:答案:  (a) $0.6$  ·  (b) $12$  ·  (c) $0.784$

(a) A1

$P(R^{\,\prime}) = 1 - 0.4 = 0.6.$

(b) Expected frequency M1·A1

$E[\text{rainy days in }30] = n \cdot p = 30 \cdot 0.4 = \boxed{12}$ days.

(c) At least one rainy day in three M1·A1

$P(\text{no rain on any of 3 days}) = 0.6^3 = 0.216$. $P(\ge 1 \text{ rainy}) = 1 - 0.216 = \boxed{0.784}.$
Expected frequency vs probability. $E[X] = np$ is a count (units: "days"); $P$ is a probability (unitless, $[0,1]$). Keep them straight in answer writing.

(a) A1

$P(R^{\,\prime}) = 1 - 0.4 = 0.6.$(余事件 complement)

(b) 期望频数 M1·A1

$E[\text{rainy days in }30] = n \cdot p = 30 \cdot 0.4 = \boxed{12}$ 天。

(c) 三天中至少有一天下雨 M1·A1

$P(\text{no rain on any of 3 days}) = 0.6^3 = 0.216$。 $P(\ge 1 \text{ rainy}) = 1 - 0.216 = \boxed{0.784}.$
期望频数与概率的区别。 $E[X] = np$ 是一个计数(单位是 "天");$P$ 是概率(probability,无量纲,取值 $[0,1]$)。答题时务必区分清楚。
Where this goes wrong.错在哪里。 (a) A natural mistake is to copy the rainy probability and write \(0.4\), but the not rainy probability is its complement. (b) Another slip is to multiply by \(0.6\) instead of \(0.4\), giving \(30\cdot0.6=18\) rainy days. (c) A common error is to use \(1-0.4^3\), which treats \(0.4\) as the chance of no rain and gives \(0.936\).(a) 常见失误是直接写成下雨概率 \(0.4\),但不下雨概率应取补集。 (b) 另一种失误是把 \(0.4\) 写成 \(0.6\),于是得到 \(30\cdot0.6=18\) 个雨天。 (c) 常见错误是写 \(1-0.4^3\),把 \(0.4\) 当成三天都不下雨的概率,结果得到 \(0.936\)。
Markscheme, 5 marks.评分标准,共 5 分。 (a) 1: Complements rainfall, \(1-0.4=0.6\) (A1) · (b) 1: Uses \(E=np\) with \(30\cdot0.4\) (M1) · 1: Gives \(12\) (A1) · (c) 1: Uses complement for no rain over 3 days, \(0.6^3\) (M1) · 1: Calculates \(1-0.216=0.784\) (A1)(a) 1 分:取补集,\(1-0.4=0.6\) (A1) · (b) 1 分:用 \(E=np\),写出 \(30\cdot0.4\) (M1) · 1 分:得到 \(12\) (A1) · (c) 1 分:对三天都不下雨用补集,写出 \(0.6^3\) (M1) · 1 分:算出 \(1-0.216=0.784\) (A1)
Q3MEDIUMPaper 1A4.6 Mutually Exclusive vs Independent[6 marks]

$P(A) = 0.3$, $P(B) = 0.5$. (a) ME: $P(A \cup B)$. (b) Ind: $P(A \cap B)$. (c) Ind: $P(A \cup B)$.$P(A) = 0.3$,$P(B) = 0.5$。(a) 互斥时 $P(A \cup B)$。(b) 独立时 $P(A \cap B)$。(c) 独立时 $P(A \cup B)$。

Answers:答案:  (a) $0.8$  ·  (b) $0.15$  ·  (c) $0.65$

(a) Mutually exclusive case M1·A1

ME means $A \cap B = \varnothing$, so $P(A \cap B) = 0$. Addition rule: $$ P(A \cup B) \;=\; P(A) + P(B) - P(A \cap B) \;=\; 0.3 + 0.5 - 0 \;=\; \boxed{0.8}. $$

(b) Independent: intersection M1·A1

Independence means $P(A \cap B) = P(A)\,P(B) = 0.3 \cdot 0.5 = \boxed{0.15}.$

(c) Independent: union M1·A1

Apply addition rule with the intersection from (b): $$ P(A \cup B) \;=\; 0.3 + 0.5 - 0.15 \;=\; \boxed{0.65}. $$
ME $\ne$ Independent. Mutually exclusive events with non-zero probability are never independent ($P(A \cap B) = 0 \ne P(A)P(B) > 0$). The two concepts are often confused. Use them as opposites of each other.

(a) 互斥(mutually exclusive)情形 M1·A1

互斥意味着 $A \cap B = \varnothing$,故 $P(A \cap B) = 0$。由加法公式(并 union): $$ P(A \cup B) \;=\; P(A) + P(B) - P(A \cap B) \;=\; 0.3 + 0.5 - 0 \;=\; \boxed{0.8}. $$

(b) 独立(independent)时的交(intersection) M1·A1

独立意味着 $P(A \cap B) = P(A)\,P(B) = 0.3 \cdot 0.5 = \boxed{0.15}.$

(c) 独立时的并 M1·A1

用 (b) 的交代入加法公式: $$ P(A \cup B) \;=\; 0.3 + 0.5 - 0.15 \;=\; \boxed{0.65}. $$
互斥 $\ne$ 独立。 概率非零的互斥事件永远不可能独立($P(A \cap B) = 0 \ne P(A)P(B) > 0$)。这两个概念常被混淆,应把它们视为对立的两种关系。
Where this goes wrong.错在哪里。 (a) A common slip is to use the independent style subtraction \(0.3+0.5-0.15=0.65\), but mutual exclusivity means the intersection is \(0\). (b) Another slip is to add the probabilities and write \(0.3+0.5=0.8\) for the intersection, when multiplication is required for independence. (c) A frequent error is to forget to subtract the overlap and again write \(0.3+0.5=0.8\), even though the intersection is already counted once.(a) 常见失误是套用独立情形的减法 \(0.3+0.5-0.15=0.65\),但互斥意味着交集为 \(0\)。 (b) 另一种失误是把交集写成加法 \(0.3+0.5=0.8\),而独立时交集应由乘法求出。 (c) 常见错误是忘记减去交集,再次写成 \(0.3+0.5=0.8\),但交集已经被算过一次了。
Markscheme, 6 marks.评分标准,共 6 分。 (a) 1: Sets \(P(A\cap B)=0\) for mutually exclusive events (M1) · 1: Applies addition rule to get \(0.3+0.5=0.8\) (A1) · (b) 1: Uses independence product \(P(A)P(B)\) (M1) · 1: Computes \(0.3\cdot0.5=0.15\) (A1) · (c) 1: Substitutes the intersection into the addition rule (M1) · 1: Computes \(0.3+0.5-0.15=0.65\) (A1)(a) 1 分:互斥时令 \(P(A\cap B)=0\) (M1) · 1 分:用加法公式得到 \(0.3+0.5=0.8\) (A1) · (b) 1 分:用独立性乘积 \(P(A)P(B)\) (M1) · 1 分:算出 \(0.3\cdot0.5=0.15\) (A1) · (c) 1 分:在加法公式中代入交集 (M1) · 1 分:算出 \(0.3+0.5-0.15=0.65\) (A1)
Q4MEDIUMPaper 1A4.6 Conditional from Table[6 marks]

Two-way table: $50$ M + $50$ F; $65$ pass total; $30$ M pass. (a) $P(\text{Pass})$. (b) $P(\text{Pass}\mid\text{Male})$. (c) $P(\text{Female}\mid\text{Pass})$. (d) Independence?列联表:$50$ 男 + $50$ 女;共 $65$ 人通过;男生通过 $30$ 人。(a) $P(\text{Pass})$。(b) $P(\text{Pass}\mid\text{Male})$。(c) $P(\text{Female}\mid\text{Pass})$。(d) 是否独立?

Answers:答案:  (a) $\tfrac{13}{20} = 0.65$  ·  (b) $\tfrac{3}{5} = 0.6$  ·  (c) $\tfrac{7}{13}$  ·  (d) not independent不独立

(a) A1

$P(\text{Pass}) = 65/100 = \boxed{0.65}.$

(b) M1·A1

Condition on Male; restrict to the male row: $P(\text{Pass}\mid\text{Male}) = 30/50 = \boxed{0.6}.$

(c) M1·A1

Condition on Pass; restrict to the pass column: $P(\text{Female}\mid\text{Pass}) = 35/65 = \boxed{7/13} \approx 0.538.$

(d) Independence check R1

$P(\text{Pass} \cap \text{Male}) = 30/100 = 0.3$. $P(\text{Pass})\,P(\text{Male}) = 0.65 \cdot 0.5 = 0.325$. Since $0.3 \ne 0.325$, the two events are not independent.
Conditional restricts the universe. $P(B \mid A)$ reads "given $A$"; the denominator switches from $n(U) = 100$ to $n(A)$. Both numerator and denominator change.

(a) A1

$P(\text{Pass}) = 65/100 = \boxed{0.65}.$

(b) M1·A1

以 Male 为条件(条件概率 conditional probability,P(A|B)):仅看男生这一行,$P(\text{Pass}\mid\text{Male}) = 30/50 = \boxed{0.6}.$

(c) M1·A1

以 Pass 为条件:仅看通过这一列,$P(\text{Female}\mid\text{Pass}) = 35/65 = \boxed{7/13} \approx 0.538.$

(d) 独立性检验 R1

$P(\text{Pass} \cap \text{Male}) = 30/100 = 0.3$,$P(\text{Pass})\,P(\text{Male}) = 0.65 \cdot 0.5 = 0.325$。由 $0.3 \ne 0.325$ 可知两事件不独立。
条件概率改变样本范围。 $P(B \mid A)$ 读作 "在 $A$ 发生的条件下",分母从 $n(U) = 100$ 变为 $n(A)$。分子与分母都同时改变。
Where this goes wrong.错在哪里。 (a) A common slip is to read the wrong total and write \(50/100=0.5\), which is \(P(\text{Male})\), not \(P(\text{Pass})\). (b) Another slip is to use the whole class as the denominator, giving \(30/100=0.3\) instead of conditioning on males. (c) A frequent error is to divide the female pass count by \(100\), giving \(35/100=0.35\), instead of by the pass total \(65\). (d) For independence, some students compare \(0.6\) and \(0.65\) and say they are close enough, but the exact test is whether \(0.3=0.325\), which it is not.(a) 常见失误是读错总数,写成 \(50/100=0.5\),这其实是 \(P(\text{Male})\),不是 \(P(\text{Pass})\)。 (b) 另一种失误是直接用全班人数作分母,得到 \(30/100=0.3\),而不是按男生条件化。 (c) 常见错误是把女生及格人数除以 \(100\),得到 \(35/100=0.35\),而不是除以及格总数 \(65\)。 (d) 有些同学只比较 \(0.6\) 和 \(0.65\) 就说差不多,但独立性的精确检验是看 \(0.3\) 是否等于 \(0.325\),这里并不相等。
Markscheme, 6 marks.评分标准,共 6 分。 (a) 1: Uses total passes over total students, \(65/100\) (A1) · (b) 1: Conditions on males and uses the male row denominator \(50\) (M1) · 1: Computes \(30/50=0.6\) (A1) · (c) 1: Conditions on pass and uses the pass column denominator \(65\) (M1) · 1: Computes \(35/65=7/13\) (A1) · (d) 1: Compares \(P(\text{Pass}\cap\text{Male})\) with \(P(\text{Pass})P(\text{Male})\) and sees they differ (R1)(a) 1 分:用及格总数除以总人数,写出 \(65/100\) (A1) · (b) 1 分:按男生条件化,并用男生这一行的分母 \(50\) (M1) · 1 分:算出 \(30/50=0.6\) (A1) · (c) 1 分:按及格条件化,并用及格这一列的分母 \(65\) (M1) · 1 分:算出 \(35/65=7/13\) (A1) · (d) 1 分:比较 \(P(\text{Pass}\cap\text{Male})\) 与 \(P(\text{Pass})P(\text{Male})\),发现不相等 (R1)
PART II  ·  PAPER 1 SECTION B — SOLUTIONS第二部分  ·  第一卷 B 节 —— 解析No calculator · 23 marks不可使用计算器 · 23 分

Section B — Extended SolutionsB 节 —— 长答题解析

Q5MEDIUMPaper 1B4.6 Tree Diagram[7 marks]

$4$ red, $6$ blue. Two draws without replacement.$4$ 红、$6$ 蓝。不放回抽取两次。

Answers:答案:  (b) $\tfrac{2}{15}$  ·  (c) $\tfrac{8}{15}$  ·  (d) $\tfrac{2}{3}$

(a) Tree diagram M1·A1

                  3/9  R   →  RR : 4/10 · 3/9 = 12/90 = 2/15
              ___/
       4/10  R
       _____/    \___ 6/9  B   →  RB : 4/10 · 6/9 = 24/90 = 4/15
      |
      |
      |_____ 6/10  B
              ___       4/9  R   →  BR : 6/10 · 4/9 = 24/90 = 4/15
                 \___/
                      5/9  B   →  BB : 6/10 · 5/9 = 30/90 = 1/3
      
Award M1 for the structure (two-stage, branch probabilities reduced by $1$ on the second draw because no replacement); A1 for correctly written conditional probabilities.

(b) $P(RR)$ M1·A1

$P(RR) = \dfrac{4}{10} \cdot \dfrac{3}{9} = \dfrac{12}{90} = \boxed{\dfrac{2}{15}}.$

(c) One of each colour M1·A1

$P(RB) + P(BR) = \dfrac{4}{10}\cdot\dfrac{6}{9} + \dfrac{6}{10}\cdot\dfrac{4}{9} = \dfrac{24}{90} + \dfrac{24}{90} = \dfrac{48}{90} = \boxed{\dfrac{8}{15}}.$

(d) $P(\text{second blue} \mid \text{first red})$ A1

Given the first ball was red, the bag now has $3$ red and $6$ blue ($9$ total). $P(B_2 \mid R_1) = \boxed{\dfrac{6}{9} = \dfrac{2}{3}}.$
Symmetry check. The two "one-of-each" paths $RB$ and $BR$ give identical probabilities here ($24/90$). This is always true when independence (or in this case, just symmetric-sample-space) is involved — useful as an arithmetic check.

(a) 树状图(tree diagram) M1·A1

                  3/9  R   →  RR : 4/10 · 3/9 = 12/90 = 2/15
              ___/
       4/10  R
       _____/    \___ 6/9  B   →  RB : 4/10 · 6/9 = 24/90 = 4/15
      |
      |
      |_____ 6/10  B
              ___       4/9  R   →  BR : 6/10 · 4/9 = 24/90 = 4/15
                 \___/
                      5/9  B   →  BB : 6/10 · 5/9 = 30/90 = 1/3
      
给 M1 的依据是树的结构(两阶段;由于不放回,第二次抽取的分母减 $1$);A1 给的是正确写出的条件概率。

(b) $P(RR)$ M1·A1

$P(RR) = \dfrac{4}{10} \cdot \dfrac{3}{9} = \dfrac{12}{90} = \boxed{\dfrac{2}{15}}.$

(c) 一红一蓝 M1·A1

$P(RB) + P(BR) = \dfrac{4}{10}\cdot\dfrac{6}{9} + \dfrac{6}{10}\cdot\dfrac{4}{9} = \dfrac{24}{90} + \dfrac{24}{90} = \dfrac{48}{90} = \boxed{\dfrac{8}{15}}.$

(d) $P(\text{second blue} \mid \text{first red})$ A1

已知第一球为红,袋中剩 $3$ 红 $6$ 蓝(共 $9$ 个)。$P(B_2 \mid R_1) = \boxed{\dfrac{6}{9} = \dfrac{2}{3}}.$
对称性检查。 此处两条 "一红一蓝" 路径 $RB$ 与 $BR$ 给出相同的概率(均为 $24/90$)。只要涉及独立性(或本题这样的对称样本空间)这都成立,可作为计算的快速检查。
Where this goes wrong.错在哪里。 (a) A common tree error is to keep the second draw as if it were a replacement draw, so the second stage still uses $4/10$ and $6/10$ instead of $3/9$ and $6/9$. (b) Another slip is to forget one red ball is removed and write $4/10\cdot4/9=8/45$ for both red, which is the right idea in a neighbouring case but not here. (c) A frequent mistake is to count only $RB$ or only $BR$, which gives $4/15$ instead of adding both orders to get $8/15$. (d) A common conditional slip is to use the original blue chance $6/10=3/5$ rather than the updated chance $6/9=2/3$ after the first red.(a) 常见的树图错误是把第二次抽取当成有放回,所以第二层仍写成 $4/10$ 和 $6/10$,而不是 $3/9$ 和 $6/9$。 (b) 另一个失误是忘记已经拿走了一颗红球,把“两个红球”写成 $4/10\cdot4/9=8/45$,这在邻近情形里看起来合理,但这里不对。 (c) 常见错误是只算 $RB$ 或只算 $BR$,得到 $4/15$,而不是把两个顺序都加起来得到 $8/15$。 (d) 条件概率里常见的失误是仍用原来的蓝球机会 $6/10=3/5$,而不是在先红之后更新成 $6/9=2/3$。
Markscheme, 7 marks.评分标准,共 7 分。 (a) 1: Draws a two stage tree and reduces the second draw counts after the first ball (M1) · 1: Labels the branch probabilities correctly as $4/10$, $6/10$, $3/9$, $6/9$, $4/9$, $5/9$ (A1) · (b) 1: Multiplies the two red branches $4/10\cdot3/9$ (M1) · 1: Simplifies to $2/15$ (A1) · (c) 1: Includes both orders $RB$ and $BR$ (M1) · 1: Adds them to get $8/15$ (A1) · (d) 1: Conditions on first red so the second draw is $6$ blue out of $9$ (A1)(a) 1 分:画出两层树图,并在第一次抽后减少第二次抽的数量 (M1) · 1 分:正确标出各分支概率 $4/10$、$6/10$、$3/9$、$6/9$、$4/9$、$5/9$ (A1) · (b) 1 分:计算两个红球分支的乘积 $4/10\cdot3/9$ (M1) · 1 分:化简得到 $2/15$ (A1) · (c) 1 分:包含两种顺序 $RB$ 和 $BR$ (M1) · 1 分:相加得到 $8/15$ (A1) · (d) 1 分:条件在先红之后,第二次抽取为 $9$ 个里有 $6$ 个蓝球 (A1)
Q6HARDPaper 1B4.6 Venn / Two-Event Independence[8 marks]

$n=100$; $|M|=65$, $|P|=50$, $|M \cap P|=25$. (a) Venn. (b) Neither. (c) Exactly one. (d) $P(P\mid M)$. (e) Independence.$n=100$;$|M|=65$、$|P|=50$、$|M \cap P|=25$。(a) 维恩图。(b) 两门都不选。(c) 恰选一门。(d) $P(P\mid M)$。(e) 是否独立。

Answers:答案:  (b) $10$  ·  (c) $0.65$  ·  (d) $\tfrac{5}{13}$  ·  (e) not independent不独立

(a) Venn diagram regions M1·A1

Centre (both): $25$. Math-only: $65 - 25 = 40$. Physics-only: $50 - 25 = 25$. Outside (neither): $100 - 40 - 25 - 25 = 10$.

(b) Neither A1

$|(M \cup P)^{\,\prime}| = 100 - |M \cup P| = 100 - (65 + 50 - 25) = 100 - 90 = \boxed{10}.$

(c) Exactly one M1·A1

$|M\text{-only}| + |P\text{-only}| = 40 + 25 = 65 \Rightarrow P = \boxed{65/100 = 0.65}.$

(d) $P(P \mid M)$ M1·A1

$$ P(P \mid M) \;=\; \frac{P(P \cap M)}{P(M)} \;=\; \frac{25/100}{65/100} \;=\; \frac{25}{65} \;=\; \boxed{\frac{5}{13}}. $$

(e) Independence test R1

$P(M \cap P) = 25/100 = 0.25$ vs $P(M)\,P(P) = 0.65 \cdot 0.5 = 0.325$. Since $0.25 \ne 0.325$, $M$ and $P$ are not independent. (Taking one subject makes the other less likely — the events are negatively associated here.)
Two routes to independence-check. Either compare $P(A \cap B)$ to $P(A)P(B)$, or compare $P(A \mid B)$ to $P(A)$. They are equivalent — pick whichever uses numbers already on the page.

(a) 维恩图(Venn diagram)的各区域 M1·A1

中间(两门都选):$25$。仅数学:$65 - 25 = 40$。仅物理:$50 - 25 = 25$。外部(两门都不选):$100 - 40 - 25 - 25 = 10$。

(b) 两门都不选 A1

$|(M \cup P)^{\,\prime}| = 100 - |M \cup P| = 100 - (65 + 50 - 25) = 100 - 90 = \boxed{10}.$

(c) 恰好选一门 M1·A1

$|M\text{-only}| + |P\text{-only}| = 40 + 25 = 65 \Rightarrow P = \boxed{65/100 = 0.65}.$

(d) $P(P \mid M)$ M1·A1

$$ P(P \mid M) \;=\; \frac{P(P \cap M)}{P(M)} \;=\; \frac{25/100}{65/100} \;=\; \frac{25}{65} \;=\; \boxed{\frac{5}{13}}. $$

(e) 独立性检验 R1

$P(M \cap P) = 25/100 = 0.25$,对照 $P(M)\,P(P) = 0.65 \cdot 0.5 = 0.325$。由 $0.25 \ne 0.325$ 知 $M$ 与 $P$ 不独立。(选了其中一门会让另一门变得更不可能 —— 两事件在此呈负相关。)
独立性检验的两种路径。 可以比较 $P(A \cap B)$ 与 $P(A)P(B)$,也可以比较 $P(A \mid B)$ 与 $P(A)$。二者等价 —— 哪种用到已经写在纸上的数字就用哪种。
Where this goes wrong.错在哪里。 (a) A common Venn error is to treat the \(65\) and \(50\) as non overlapping totals, which double counts the overlap and breaks the region totals. (b) Another slip is to find neither by \(100-65-50\), giving \(-15\), because the intersection must be added back once before subtracting from \(100\). (c) A frequent error is to use the whole union for exactly one, so \(90/100=0.9\), instead of adding only the two non shared regions \(40\) and \(25\). (d) A conditional slip is to divide the intersection by \(100\), giving \(0.25\), instead of by the \(65\) students who take Mathematics. (e) Some students compare \(0.25\) and \(0.325\) and call them close enough, but independence needs exact equality, which fails here.(a) 常见的文氏图错误是把 \(65\) 和 \(50\) 当作互不重叠的总数,这会把交集重复计算,导致各区域人数不对。 (b) 另一种失误是用 \(100-65-50\) 求 neither,得到 \(-15\),因为在从 \(100\) 中减去之前,必须先把交集加回来。 (c) 常见错误是把 exactly one 误当成整个并集,于是写成 \(90/100=0.9\),而不是只加两个独有区域 \(40\) 和 \(25\)。 (d) 条件概率的常见失误是把交集除以 \(100\),得到 \(0.25\),而不是除以修读 Mathematics 的 \(65\) 人。 (e) 有些同学看到 \(0.25\) 和 \(0.325\) 就说差不多,但独立性需要严格相等,这里不成立。
Markscheme, 8 marks.评分标准,共 8 分。 (a) 1: Places \(25\) in the overlap and derives \(40\) math only and \(25\) physics only from the set totals (M1) · 1: Finds neither as \(10\) by subtracting the union from \(100\) (A1) · (b) 1: Uses \(|M\cup P|=65+50-25\) and then takes the complement from \(100\) (A1) · (c) 1: Counts exactly one as \(40+25\) rather than the whole union (M1) · 1: Converts \(65\) students to \(65/100=0.65\) (A1) · (d) 1: Forms \(P(P \mid M)=25/65\) from the \(M\) column (M1) · 1: Simplifies to \(5/13\) (A1) · (e) 1: Compares \(P(M\cap P)=0.25\) with \(P(M)P(P)=0.325\) and concludes they are not equal (R1)(a) 1 分:把 \(25\) 放在交集,并由总数推出只有 Mathematics 的 \(40\) 和只有 Physics 的 \(25\) (M1) · 1 分:从 \(100\) 中减去并集得到 neither 为 \(10\) (A1) · (b) 1 分:用 \(|M\cup P|=65+50-25\),再从 \(100\) 取补集 (A1) · (c) 1 分:exactly one 只算 \(40+25\),而不是整个并集 (M1) · 1 分:把 \(65\) 人换成 \(65/100=0.65\) (A1) · (d) 1 分:从 \(M\) 这一列写出 \(P(P \mid M)=25/65\) (M1) · 1 分:化简为 \(5/13\) (A1) · (e) 1 分:比较 \(P(M\cap P)=0.25\) 与 \(P(M)P(P)=0.325\),并判断不相等 (R1)
Q7HARDPaper 1BAHL 4.10 Bayes[8 marks]HL

Two machines $A$ (60%), $B$ (40%); defect rates $2\%, 5\%$. (a) Tree. (b) $P(D)$. (c) $P(A \mid D)$. (d) Why $P(A\mid D) < P(A)$?两台机器 $A$(60%)、$B$(40%);不合格率分别为 $2\%, 5\%$。(a) 树状图。(b) $P(D)$。(c) $P(A \mid D)$。(d) 为何 $P(A\mid D) < P(A)$?

Answers:答案:  (b) $0.032$  ·  (c) $P(A\mid D) = \tfrac{3}{8} = 0.375$  ·  (d) $B$ has higher defect rate$B$ 的不合格率更高

(a) Tree diagram M1·A1

                  0.02  D    →  P(A∩D) = 0.6 · 0.02 = 0.012
              ___/
       0.6  A
       ____/    \___ 0.98  D′   →  P(A∩D′) = 0.588
      |
      |____ 0.4  B
              ___       0.05  D    →  P(B∩D) = 0.4 · 0.05 = 0.020
                 \___/
                      0.95  D′   →  P(B∩D′) = 0.380
      

(b) Law of total probability M1·A1

$$ P(D) \;=\; P(A)P(D\mid A) + P(B)P(D\mid B) \;=\; 0.6 \cdot 0.02 + 0.4 \cdot 0.05 \;=\; 0.012 + 0.020 \;=\; \boxed{0.032}. $$

(c) Bayes' Theorem M1·M1·A1

$$ P(A \mid D) \;=\; \frac{P(D \mid A)\,P(A)}{P(D)} \;=\; \frac{0.02 \cdot 0.6}{0.032} \;=\; \frac{0.012}{0.032} \;=\; \boxed{\frac{3}{8} = 0.375}. $$

(d) Why posterior $<$ prior R1

Machine $B$ has a defect rate ($5\%$) more than double Machine $A$'s ($2\%$). So among defective items, $B$ is over-represented relative to its $40\%$ share of output, which pulls $P(A \mid D)$ below $P(A) = 0.6$.
Bayes in one symbolic line. Memorise the equation $P(H \mid E) = \dfrac{P(E \mid H)\,P(H)}{P(E)}$ where $H$ is the hypothesis and $E$ is the evidence. Then $P(E)$ is always built from the law of total probability. The whole AA HL Bayes machinery sits in those two formulas.

(a) 树状图 M1·A1

                  0.02  D    →  P(A∩D) = 0.6 · 0.02 = 0.012
              ___/
       0.6  A
       ____/    \___ 0.98  D′   →  P(A∩D′) = 0.588
      |
      |____ 0.4  B
              ___       0.05  D    →  P(B∩D) = 0.4 · 0.05 = 0.020
                 \___/
                      0.95  D′   →  P(B∩D′) = 0.380
      

(b) 全概率公式(law of total probability) M1·A1

$$ P(D) \;=\; P(A)P(D\mid A) + P(B)P(D\mid B) \;=\; 0.6 \cdot 0.02 + 0.4 \cdot 0.05 \;=\; 0.012 + 0.020 \;=\; \boxed{0.032}. $$

(c) 贝叶斯定理(Bayes' theorem) M1·M1·A1

$$ P(A \mid D) \;=\; \frac{P(D \mid A)\,P(A)}{P(D)} \;=\; \frac{0.02 \cdot 0.6}{0.032} \;=\; \frac{0.012}{0.032} \;=\; \boxed{\frac{3}{8} = 0.375}. $$

(d) 为何后验(posterior)$<$ 先验(prior) R1

机器 $B$ 的不合格率($5\%$)是 $A$($2\%$)的两倍多。所以在不合格品中,$B$ 的占比远大于其 $40\%$ 的产量份额,这把 $P(A \mid D)$ 拉到了低于 $P(A) = 0.6$ 的水平。
一行公式即贝叶斯。 记住 $P(H \mid E) = \dfrac{P(E \mid H)\,P(H)}{P(E)}$,其中 $H$ 是假设,$E$ 是证据。$P(E)$ 始终通过全概率公式构造。AA HL 全部贝叶斯题型都靠这两条公式。
Where this goes wrong.错在哪里。 (a) A tree can be incomplete if it shows only the defect rates $0.02, 0.98, 0.05, 0.95$ but omits the source branches $0.6$ and $0.4$; the mark is for the full two stage structure. (b) A natural slip is to add the defect rates, $0.02+0.05=0.07$, instead of weighting them by the machine shares, which would miss the small overall defect rate $0.032$. (c) Another error is to divide by $P(A)$ instead of $P(D)$ in Bayes' theorem, giving $0.012/0.6=0.02$ or a similar wrong posterior. (d) Saying only that A makes more items is not enough; the reason $P(A\mid D)$ falls below $P(A)$ is that B's defect rate is higher, so defective items are over represented from B.(a) 如果树图只写出缺陷率 $0.02$、$0.98$、$0.05$、$0.95$,却漏掉来源分支 $0.6$ 和 $0.4$,那就是不完整的;这一问要的是完整的两层结构。 (b) 一个自然的失误是把缺陷率直接相加,写成 $0.02+0.05=0.07$,而不是按两台机器的占比加权,这样就会错过整体很小的 $0.032$。 (c) 另一个错误是在贝叶斯公式里除以 $P(A)$ 而不是 $P(D)$,会得到 $0.012/0.6=0.02$ 或类似的错误后验。 (d) 只说 A 产量更多还不够;$P(A\mid D)$ 低于 $P(A)$ 的原因是 B 的缺陷率更高,所以有缺陷的样品会更多来自 B。
Markscheme, 8 marks.评分标准,共 8 分。 (a) 1: Draws source branches $0.6$ and $0.4$ and the four quality branches $0.02$, $0.98$, $0.05$, $0.95$ (M1) · 1: Produces a clear two stage tree for source then quality (A1) · (b) 1: Uses the law of total probability with both machines (M1) · 1: Calculates $0.6\cdot0.02+0.4\cdot0.05=0.032$ (A1) · (c) 1: Writes Bayes' theorem for $P(A\mid D)$ (M1) · 1: Substitutes $0.02\cdot0.6$ and $0.032$ correctly (M1) · 1: Simplifies to $3/8=0.375$ (A1) · (d) 1: States that B has the higher defect rate, so defects come disproportionately from B (R1)(a) 1 分:画出来源分支 $0.6$ 和 $0.4$,以及质量分支 $0.02$、$0.98$、$0.05$、$0.95$ (M1) · 1 分:画出清楚的两层树图,先来源后质量 (A1) · (b) 1 分:使用全概率公式并包含两台机器 (M1) · 1 分:计算 $0.6\cdot0.02+0.4\cdot0.05=0.032$ (A1) · (c) 1 分:写出 $P(A\mid D)$ 的贝叶斯公式 (M1) · 1 分:正确代入 $0.02\cdot0.6$ 和 $0.032$ (M1) · 1 分:化简得到 $3/8=0.375$ (A1) · (d) 1 分:指出 B 的缺陷率更高,所以有缺陷的产品更可能来自 B (R1)
PART III  ·  PAPER 2 — SOLUTIONS第三部分  ·  第二卷 —— 解析Calculator · 18 marks允许计算器 · 18 分

Section C — Paper 2 (Calculator) SolutionsC 节 —— 第二卷(允许计算器)解析

Q8EASYPaper 24.6 Two-Way Table[5 marks]

$200$ students; Y11 = 100 (60 AA, 40 AI); Y12 = 100 (70 AA, 30 AI).$200$ 名学生;11 年级 100 人(60 AA、40 AI);12 年级 100 人(70 AA、30 AI)。

Answers:答案:  (a) $0.5$  ·  (b) $0.7$  ·  (c) $0.3$  ·  (d) not independent不独立

(a)–(c) A1·A1·A1

$P(\text{Y11}) = 100/200 = 0.5$; $\ P(\text{AA}\mid\text{Y12}) = 70/100 = 0.7$; $\ P(\text{Y11}\cap\text{AA}) = 60/200 = 0.3$.

(d) Independence check M1·R1

$P(\text{Y11})\,P(\text{AA}) = 0.5 \cdot (130/200) = 0.5 \cdot 0.65 = 0.325$. Compare with $P(\text{Y11}\cap\text{AA}) = 0.3$. Since $0.3 \ne 0.325$, the events are not independent.
Marginal probabilities first. Always read marginal $P(\text{AA}) = 130/200$ from the column total before comparing with conditionals. The full marginal/joint/conditional set is what tells you whether independence holds.

(a)–(c) A1·A1·A1

$P(\text{Y11}) = 100/200 = 0.5$;$\ P(\text{AA}\mid\text{Y12}) = 70/100 = 0.7$;$\ P(\text{Y11}\cap\text{AA}) = 60/200 = 0.3$。

(d) 独立性检验 M1·R1

$P(\text{Y11})\,P(\text{AA}) = 0.5 \cdot (130/200) = 0.5 \cdot 0.65 = 0.325$。 与 $P(\text{Y11}\cap\text{AA}) = 0.3$ 比较,$0.3 \ne 0.325$,因此不独立。
先读边际概率。 在与条件概率比较之前,务必先从列总计读出边际概率 $P(\text{AA}) = 130/200$。要回答 "是否独立",需要把边际、联合、条件三套概率都列齐。
Where this goes wrong.错在哪里。 (b) A common slip is to use the AA column total $130/200=0.65$, which is $P(\text{AA})$, not $P(\text{AA}\mid\text{Year 12})$; the correct denominator is the Year 12 total $100$. (c) Another error is to read the Year 11 and AA cell as $100/200=0.5$, but the joint cell is $60/200=0.3$. (d) A frequent independence mistake is to compare only the marginals $0.5$ and $0.65$ and stop there; the test is whether $0.5\cdot0.65=0.325$ matches $0.3$, and it does not.(b) 常见失误是把 AA 的列总数 $130/200=0.65$ 当成 $P(\text{AA}\mid\text{Year 12})$,但这其实是 $P(\text{AA})$;条件概率的分母应该是 Year 12 的行总数 $100$。 (c) 另一个错误是把 Year 11 和 AA 的交叉格读成 $100/200=0.5$,而真正的联合概率应该来自交叉格 $60/200=0.3$。 (d) 常见的独立性判断错误是只比较边际概率 $0.5$ 和 $0.65$ 就停下;真正的检验是看 $0.5\cdot0.65=0.325$ 是否等于 $0.3$,这里并不相等。
Markscheme, 5 marks.评分标准,共 5 分。 (a) 1: Uses the Year 11 row total $100$ over $200$ (A1) · (b) 1: Conditions on Year 12 and uses the Year 12 row total $100$ in the denominator (A1) · (c) 1: Uses the joint cell $60$ over the grand total $200$ (A1) · (d) 1: Computes $P(\text{Y11})P(\text{AA})=0.5\cdot0.65=0.325$ (M1) · 1: Compares with $0.3$ and states not independent (R1)(a) 1 分:使用 Year 11 的行总数 $100$ 除以 $200$ (A1) · (b) 1 分:条件在 Year 12 上,并使用 $100$ 作为分母 (A1) · (c) 1 分:使用交叉格 $60$ 除以总数 $200$ (A1) · (d) 1 分:计算 $P(\text{Y11})P(\text{AA})=0.5\cdot0.65=0.325$ (M1) · 1 分:将其与 $0.3$ 比较并判断不独立 (R1)
Q9MEDIUMPaper 24.6 Sequential Draws[7 marks]

$5$ white, $3$ black, no replacement.$5$ 白、$3$ 黑,不放回。

Answers:答案:  (a) $\tfrac{5}{14}$  ·  (b) $\tfrac{9}{14}$  ·  (c) $\tfrac{5}{7}$  ·  (d) $\tfrac{1}{2}$

(a) M1·A1

$P(WW) = \dfrac{5}{8} \cdot \dfrac{4}{7} = \dfrac{20}{56} = \boxed{\dfrac{5}{14}}.$

(b) Complement M1·A1

$P(\ge 1 \text{ black in 2 draws}) = 1 - P(WW) = 1 - \dfrac{5}{14} = \boxed{\dfrac{9}{14}}.$

(c) Conditional M1·A1

After drawing a black, the bag has $5$ white and $2$ black ($7$ total). $P(W_2 \mid B_1) = \boxed{\dfrac{5}{7}}.$

(d) Third draw A1

Two whites already drawn — bag now has $3$ white and $3$ black. $P(B_3 \mid W_1 \cap W_2) = \dfrac{3}{6} = \boxed{\dfrac{1}{2}}.$
Without replacement = condition on history. Each new draw updates the bag composition. Track the conditional bag state, not the original counts.

(a) M1·A1

$P(WW) = \dfrac{5}{8} \cdot \dfrac{4}{7} = \dfrac{20}{56} = \boxed{\dfrac{5}{14}}.$

(b) 余事件 M1·A1

$P(\ge 1 \text{ black in 2 draws}) = 1 - P(WW) = 1 - \dfrac{5}{14} = \boxed{\dfrac{9}{14}}.$

(c) 条件概率 M1·A1

抽出一个黑球后,袋中剩 $5$ 白 $2$ 黑(共 $7$ 个)。$P(W_2 \mid B_1) = \boxed{\dfrac{5}{7}}.$

(d) 第三次抽取 A1

已抽出两个白球,袋中剩 $3$ 白 $3$ 黑。$P(B_3 \mid W_1 \cap W_2) = \dfrac{3}{6} = \boxed{\dfrac{1}{2}}.$
不放回(without replacement)= 以历史为条件。 每抽一次袋中组成就更新。要追踪条件下的袋内状态,而不是原始数量。
Where this goes wrong.错在哪里。 (a) A common error is to treat the draws as independent, so $P(WW)=5/8\cdot5/8=25/64$ instead of updating the second fraction to $4/7$. (b) Another slip is to use the wrong complement, for example $1-P(BB)=1-3/28=25/28$, which is the probability of not both black, not at least one black. (c) A frequent conditional mistake is to keep the original white chance $5/8$, giving $P(W_2\mid B_1)=5/8$ instead of updating the bag to $5$ white and $2$ black. (d) A common update error is to forget that two whites have already been removed, so the third draw is taken as $3/8$ rather than $3/6=1/2$.(a) 常见错误是把两次抽取当成独立事件,所以写成 $P(WW)=5/8\cdot5/8=25/64$,而没有把第二次更新为 $4/7$。 (b) 另一个失误是用错补集,例如写成 $1-P(BB)=1-3/28=25/28$;这表示“不是两个黑球都出现”,而不是“至少有一个黑球”。 (c) 条件概率里常见的失误是仍用原来的白球概率 $5/8$,得到 $P(W_2\mid B_1)=5/8$,而没有把袋子更新成 $5$ 白 $2$ 黑。 (d) 常见的更新错误是忘记前两次已经拿走了两颗白球,于是把第三次抽取当成 $3/8$,而不是 $3/6=1/2$。
Markscheme, 7 marks.评分标准,共 7 分。 (a) 1: Multiplies $5/8$ by $4/7$ for two whites without replacement (M1) · 1: Simplifies to $5/14$ (A1) · (b) 1: Uses the complement of two whites (M1) · 1: Calculates $1-5/14=9/14$ (A1) · (c) 1: Updates the bag after drawing a black to $5$ white and $2$ black (M1) · 1: Computes $5/7$ (A1) · (d) 1: Updates again after two whites so the third draw is from $3$ white and $3$ black and computes $3/6=1/2$ (A1)(a) 1 分:无放回地用 $5/8$ 乘以 $4/7$ 求两个白球 (M1) · 1 分:化简得到 $5/14$ (A1) · (b) 1 分:使用“两次都为白球”的补集 (M1) · 1 分:计算 $1-5/14=9/14$ (A1) · (c) 1 分:抽到黑球后把袋子更新为 $5$ 白 $2$ 黑 (M1) · 1 分:计算 $5/7$ (A1) · (d) 1 分:再次更新后,第三次从 $3$ 白 $3$ 黑中抽取,并计算 $3/6=1/2$ (A1)
Q10HARDPaper 24.6 Tree + Conditional[6 marks]

$P(B) = 0.7$ bus, $P(W) = 0.3$ walks; $P(OT\mid B) = 0.85$, $P(OT\mid W) = 0.6$.$P(B) = 0.7$ 乘公交,$P(W) = 0.3$ 步行;$P(OT\mid B) = 0.85$、$P(OT\mid W) = 0.6$。

Answers:答案:  (a) $0.775$  ·  (b) $0.595$  ·  (c) $\tfrac{119}{155} \approx 0.768$

(a) Law of total probability M1·M1·A1

$$ P(OT) \;=\; P(B)P(OT \mid B) + P(W)P(OT \mid W) \;=\; 0.7 \cdot 0.85 + 0.3 \cdot 0.6 \;=\; 0.595 + 0.18 \;=\; \boxed{0.775}. $$

(b) Joint A1

$P(B \cap OT) = P(B) \cdot P(OT \mid B) = 0.7 \cdot 0.85 = \boxed{0.595}.$

(c) Reverse conditional M1·A1

$$ P(B \mid OT) \;=\; \frac{P(B \cap OT)}{P(OT)} \;=\; \frac{0.595}{0.775} \;=\; \frac{119}{155} \;\approx\; \boxed{0.768}. $$ (Sanity: $P(B \mid OT) > P(B) = 0.7$ — yes, because the bus has a higher on-time rate, so knowing she was on time raises the posterior on the bus.)
Reverse-conditional = mini-Bayes. $P(B \mid OT) = \dfrac{P(OT \mid B)P(B)}{P(OT)}$. At SL this is framed as "two-way reading of the tree"; at HL it's exactly Bayes' Theorem. Same formula either way.

(a) 全概率公式 M1·M1·A1

$$ P(OT) \;=\; P(B)P(OT \mid B) + P(W)P(OT \mid W) \;=\; 0.7 \cdot 0.85 + 0.3 \cdot 0.6 \;=\; 0.595 + 0.18 \;=\; \boxed{0.775}. $$

(b) 联合概率 A1

$P(B \cap OT) = P(B) \cdot P(OT \mid B) = 0.7 \cdot 0.85 = \boxed{0.595}.$

(c) 反向条件概率 M1·A1

$$ P(B \mid OT) \;=\; \frac{P(B \cap OT)}{P(OT)} \;=\; \frac{0.595}{0.775} \;=\; \frac{119}{155} \;\approx\; \boxed{0.768}. $$ (直觉检查:$P(B \mid OT) > P(B) = 0.7$ —— 没错,因为公交的准时率更高,所以已知 "准时" 会拉高 "乘公交" 的后验概率。)
反向条件概率 = 小型贝叶斯。 $P(B \mid OT) = \dfrac{P(OT \mid B)P(B)}{P(OT)}$。在 SL 阶段它叫做 "树状图反向读";在 HL 阶段它就是贝叶斯定理。两边其实是同一公式。
Where this goes wrong.错在哪里。 (a) A common slip is to use the walk on time rate as \(0.4\), giving \(0.7\cdot0.85+0.3\cdot0.4=0.655\), but the walk on time probability is \(0.6\). (b) Another slip is to take the conditional \(0.85\) as the joint probability and write \(0.85\) instead of \(0.595\). (c) A frequent Bayes error is to divide by \(0.7\), which gives \(0.595/0.7=0.85\); that is just \(P(OT\mid B)\), not \(P(B\mid OT)\).(a) 常见失误是把步行准时率当成 \(0.4\),于是算成 \(0.7\cdot0.85+0.3\cdot0.4=0.655\),但步行准时的概率其实是 \(0.6\)。 (b) 另一种失误是把条件概率 \(0.85\) 直接当成联合概率,写成 \(0.85\),而不是 \(0.595\)。 (c) Bayes 的常见错误是除以 \(0.7\),得到 \(0.595/0.7=0.85\);这只是 \(P(OT\mid B)\),不是 \(P(B\mid OT)\)。
Markscheme, 6 marks.评分标准,共 6 分。 (a) 1: Uses the law of total probability with bus and walk branches (M1) · 1: Multiplies each branch by its on time rate (M1) · 1: Adds to get \(0.775\) (A1) · (b) 1: Forms the joint bus and on time probability as \(0.7\cdot0.85\) (A1) · (c) 1: Uses \(P(B\mid OT)=\dfrac{P(B\cap OT)}{P(OT)}\) (M1) · 1: Substitutes \(0.595/0.775\) and simplifies to \(119/155\) (A1)(a) 1 分:用总概率公式,把乘车与步行两条分支都算进去 (M1) · 1 分:各分支都乘上各自的准时率 (M1) · 1 分:相加得到 \(0.775\) (A1) · (b) 1 分:把乘车且准时的联合概率写成 \(0.7\cdot0.85\) (A1) · (c) 1 分:用 \(P(B\mid OT)=\dfrac{P(B\cap OT)}{P(OT)}\) (M1) · 1 分:代入 \(0.595/0.775\) 并化成 \(119/155\) (A1)
PART IV  ·  PAPER 3 (HL) — SOLUTIONS第四部分  ·  第三卷(HL) —— 解析Calculator · 28 marks允许计算器 · 28 分

Section D — Paper 3 (HL Extended) SolutionsD 节 —— 第三卷(HL 长题探究)解析

Q11HARDPaper 3AHL 4.10 Multi-Source Bayes[12 marks]HL

Three regions; prevalence/sensitivity/specificity differ; find regional posteriors then a population-weighted posterior.三个地区;患病率/灵敏度/特异度各不相同;先求各地区后验概率,再求按人口加权的后验概率。

Answers:答案:  (a) $P(D \mid +)_A = \tfrac{1}{3} \approx 0.333$  ·  (b) B: $0.400$; C: $0.286$  ·  (d) $P(B \mid +) \approx 0.515$

Statement of Bayes (used throughout) R1

$$ P(D \mid +) \;=\; \frac{P(+ \mid D)\,P(D)}{P(+)}, \qquad P(+) \;=\; P(+\mid D)P(D) + P(+\mid D^{\,\prime})P(D^{\,\prime}). $$ Note $P(+ \mid D^{\,\prime}) = 1 - \text{specificity}$ (the false-positive rate).

(a) Region A M1·A1·A1

$P(D) = 0.05$, $P(+\mid D) = 0.95$, $P(+\mid D^{\,\prime}) = 1 - 0.90 = 0.10$. $$ P(+) \;=\; 0.05 \cdot 0.95 + 0.95 \cdot 0.10 \;=\; 0.0475 + 0.095 \;=\; 0.1425. $$ $$ P(D \mid +)_A \;=\; \frac{0.0475}{0.1425} \;=\; \boxed{\frac{1}{3} \approx 0.333}. $$

(b) Regions B and C M1·A1·A1

Region B: $P(+) = 0.10 \cdot 0.90 + 0.90 \cdot 0.15 = 0.09 + 0.135 = 0.225$. $$ P(D \mid +)_B \;=\; \frac{0.09}{0.225} \;=\; \boxed{0.400}. $$ Region C: $P(+) = 0.02 \cdot 0.98 + 0.98 \cdot 0.05 = 0.0196 + 0.049 = 0.0686$. $$ P(D \mid +)_C \;=\; \frac{0.0196}{0.0686} \;\approx\; \boxed{0.286}. $$

(c) Low-prevalence paradox R1·R1

Region C has only $2\%$ prevalence, so even a highly accurate test produces many false positives by sheer volume: $5\%$ of the $98\%$ healthy population $\approx 4.9\%$ test positive falsely, which dwarfs the $2\% \cdot 98\% = 1.96\%$ true positives. Result: most positives in Region C are false. Posterior probability depends on prevalence, not test accuracy alone.

(d) Population-weighted posterior — was the positive person from B? M1·M1·A1·A1

Use $P(+ \mid \text{region}) = $ values computed above:
Region$P(\text{Region})$$P(+\mid \text{Region})$Joint $P(\text{Region}\cap +)$
A$0.40$$0.1425$$0.0570$
B$0.35$$0.225$$0.07875$
C$0.25$$0.0686$$0.01715$
$P(+)$$0.1529$
$$ P(B \mid +) \;=\; \frac{P(B \cap +)}{P(+)} \;=\; \frac{0.07875}{0.1529} \;\approx\; \boxed{0.515}. $$
Three layers of conditioning. Part (d) compounds two Bayes layers: within a region you mix disease vs no-disease; across regions you mix the regional populations. The general rule: when posterior depends on a hierarchy of mixtures, build the joint distribution first (the table above), then condition on the observed evidence.

贝叶斯公式陈述(贯穿全题使用) R1

$$ P(D \mid +) \;=\; \frac{P(+ \mid D)\,P(D)}{P(+)}, \qquad P(+) \;=\; P(+\mid D)P(D) + P(+\mid D^{\,\prime})P(D^{\,\prime}). $$ 注意 $P(+ \mid D^{\,\prime}) = 1 - \text{specificity}$,即假阳性率(false positive rate)。

(a) 地区 A M1·A1·A1

$P(D) = 0.05$、$P(+\mid D) = 0.95$、$P(+\mid D^{\,\prime}) = 1 - 0.90 = 0.10$。 $$ P(+) \;=\; 0.05 \cdot 0.95 + 0.95 \cdot 0.10 \;=\; 0.0475 + 0.095 \;=\; 0.1425. $$ $$ P(D \mid +)_A \;=\; \frac{0.0475}{0.1425} \;=\; \boxed{\frac{1}{3} \approx 0.333}. $$

(b) 地区 B 与 C M1·A1·A1

地区 B:$P(+) = 0.10 \cdot 0.90 + 0.90 \cdot 0.15 = 0.09 + 0.135 = 0.225$。 $$ P(D \mid +)_B \;=\; \frac{0.09}{0.225} \;=\; \boxed{0.400}. $$ 地区 C:$P(+) = 0.02 \cdot 0.98 + 0.98 \cdot 0.05 = 0.0196 + 0.049 = 0.0686$。 $$ P(D \mid +)_C \;=\; \frac{0.0196}{0.0686} \;\approx\; \boxed{0.286}. $$

(c) 低患病率悖论 R1·R1

地区 C 患病率仅 $2\%$,所以即便检测准确度很高,从绝对数量上看仍会产生大量假阳性:$98\%$ 健康人群中 $5\%$ 检测为假阳性 $\approx 4.9\%$,远超 $2\% \cdot 98\% = 1.96\%$ 的真阳性。结果是地区 C 的阳性结果大多为假阳性。后验概率取决于患病率,而不仅仅取决于检测准确度。

(d) 按人口加权的后验 —— 阳性者来自地区 B 的概率? M1·M1·A1·A1

使用上面算出的 $P(+ \mid \text{region})$ 值:
地区$P(\text{Region})$$P(+\mid \text{Region})$联合 $P(\text{Region}\cap +)$
A$0.40$$0.1425$$0.0570$
B$0.35$$0.225$$0.07875$
C$0.25$$0.0686$$0.01715$
$P(+)$$0.1529$
$$ P(B \mid +) \;=\; \frac{P(B \cap +)}{P(+)} \;=\; \frac{0.07875}{0.1529} \;\approx\; \boxed{0.515}. $$
三层条件化。 (d) 把两层贝叶斯叠加:在同一地区内混合患病与未患病;跨地区混合各地区人口分布。一般法则:当后验依赖于层层混合时,先把联合分布列出来(见上表),再以观测到的证据为条件。
Where this goes wrong.错在哪里。 (a) A natural slip is to treat specificity $0.90$ as the false positive rate, so $P(+)=0.05\cdot0.95+0.95\cdot0.90=0.9025$ and the posterior becomes $0.0475/0.9025\approx0.053$ instead of $1/3$. (b) In Region B, copying Region A's false positive rate $0.10$ instead of using $0.15$ gives $P(+)=0.10\cdot0.90+0.90\cdot0.10=0.18$, so the posterior becomes $0.09/0.18=0.500$. (c) The explanation should compare true positives with false positives, not just say the test is accurate; with only $2\%$ prevalence, the healthy group is so large that even a tiny false positive rate produces many positives. (d) A common mistake is to condition on the Region B row alone or ignore the region weights; the correct method is to form the three regional joint probabilities first, then divide the B joint by their sum.(a) 一个自然的失误是把特异性 $0.90$ 直接当成假阳性率,所以写成 $P(+)=0.05\cdot0.95+0.95\cdot0.90=0.9025$,于是后验变成 $0.0475/0.9025\approx0.053$,而不是正确的 $1/3$。 (b) 在 B 区,把 A 区的假阳性率 $0.10$ 直接照搬过来,而不是用 $0.15$,会得到 $P(+)=0.10\cdot0.90+0.90\cdot0.10=0.18$,于是后验变成 $0.09/0.18=0.500$。 (c) 解释时要比较真正阳性和假阳性,而不是只说“测试很准确”;在只有 $2\%$ 患病率时,健康人群太大,所以即使假阳性率很小,也会产生很多阳性结果。 (d) 常见错误是只看 B 区这一行,或者忽略各地区权重;正确方法是先算出三个地区的联合概率,再用 B 的联合概率除以总和。
Markscheme, 12 marks.评分标准,共 12 分。 (a) 1: states Bayes theorem and uses $P(+\mid D')=0.10$ from specificity $0.90$ (M1) · 1: calculates $P(+)=0.1425$ (A1) · 1: obtains $P(D\mid +)_A=1/3\approx0.333$ (A1) · (b) 1: sets up the posterior for at least one of B or C with the correct false positive rate from specificity (M1) · 1: gets $P(D\mid +)_B=0.400$ (A1) · 1: gets $P(D\mid +)_C=0.286$ (A1) · (c) 1: explains that low prevalence means many false positives arise from the healthy group in absolute numbers (R1) · 1: links the low posterior to the healthy group overwhelming the true positive group (R1) · (d) 1: forms the three regional joint probabilities for a positive result (M1) · 1: sums them to get $P(+)=0.1529$ (M1) · 1: computes the B joint $0.07875$ (A1) · 1: divides to get $P(B\mid +)\approx0.515$ (A1)(a) 1 分:写出贝叶斯公式,并用特异性 $0.90$ 得到 $P(+\mid D')=0.10$ (M1) · 1 分:计算 $P(+)=0.1425$ (A1) · 1 分:得到 $P(D\mid +)_A=1/3\approx0.333$ (A1) · (b) 1 分:对 B 或 C 至少一个地区,用特异性推出正确的假阳性率并列式 (M1) · 1 分:得到 $P(D\mid +)_B=0.400$ (A1) · 1 分:得到 $P(D\mid +)_C=0.286$ (A1) · (c) 1 分:说明低患病率会使健康人群产生大量假阳性 (R1) · 1 分:把低后验与健康人群数量远大于真阳性人群联系起来 (R1) · (d) 1 分:先写出三个地区的阳性联合概率 (M1) · 1 分:相加得到 $P(+)=0.1529$ (M1) · 1 分:计算 B 区联合概率 $0.07875$ (A1) · 1 分:相除得到 $P(B\mid +)\approx0.515$ (A1)
Q12HARDPaper 3AHL 4.10 Sequential Bayes[16 marks]HL

Rare-marker screening, $P(D) = 0.01$, sens $0.99$, spec $0.95$, conditionally independent retests. Updates the posterior across one then two positives, then explores false-alarm rate and a weak-spec scenario.罕见标志物筛查,$P(D) = 0.01$、灵敏度 $0.99$、特异度 $0.95$,复检条件独立。先后用一次、两次阳性更新后验,并探究假阳性率与较低特异度的情景。

Answers:答案:  (b) $P(D \mid +) = \tfrac{1}{6} \approx 0.167$  ·  (c) $P(D \mid +,+) \approx 0.798$  ·  (e) $P(+,+ \mid D^{\,\prime}) = 0.0025$  ·  (f) $n = 4$, posterior后验 $\approx 0.990$

(a) Statement of Bayes + identification R1·A1

$$ P(D \mid +) \;=\; \frac{P(+ \mid D)\,P(D)}{P(+)}, \qquad P(+) \;=\; P(+\mid D)P(D) + P(+\mid D^{\,\prime})P(D^{\,\prime}). $$ For this scenario: $P(D) = 0.01$, $P(+\mid D) = 0.99$ (sensitivity), $P(+\mid D^{\,\prime}) = 1 - 0.95 = 0.05$ (false-positive rate). So $P(D^{\,\prime}) = 0.99$.

(b) Posterior after one positive M1·M1·A1

$$ P(+) \;=\; (0.99)(0.01) + (0.05)(0.99) \;=\; 0.0099 + 0.0495 \;=\; 0.0594. $$ $$ P(D \mid +) \;=\; \frac{0.0099}{0.0594} \;=\; \boxed{\frac{1}{6} \approx 0.167}. $$ Even with $99\%$ sensitivity, the posterior only reaches $\sim 17\%$ — the $1\%$ base rate dominates after one positive.

(c) Posterior after two consecutive positives M1·M1·A1

New prior $P(D) = 1/6$, so $P(D^{\,\prime}) = 5/6$. Apply Bayes again with the same test characteristics: $$ P(+) \;=\; (0.99)\!\cdot\!\tfrac{1}{6} + (0.05)\!\cdot\!\tfrac{5}{6} \;=\; \tfrac{0.99 + 0.25}{6} \;=\; \tfrac{1.24}{6} \;\approx\; 0.2067. $$ $$ P(D \mid +,+) \;=\; \frac{0.99 \cdot \tfrac{1}{6}}{1.24/6} \;=\; \frac{0.99}{1.24} \;\approx\; \boxed{0.798}. $$ Direct sanity check via the original prior: $$ P(D \mid +,+) \;=\; \frac{P(D)\,[P(+\mid D)]^{2}}{P(D)[P(+\mid D)]^{2} + P(D^{\,\prime})[P(+\mid D^{\,\prime})]^{2}} \;=\; \frac{0.01 \cdot 0.9801}{0.01 \cdot 0.9801 + 0.99 \cdot 0.0025} \;\approx\; 0.798. \;\checkmark $$

(d) Why one positive $\to$ two positives is so dramatic R1·R1

Bayes is multiplicative in odds: each independent positive multiplies the prior odds by the likelihood ratio $\text{LR}^{+} = \dfrac{P(+\mid D)}{P(+\mid D^{\,\prime})} = \dfrac{0.99}{0.05} = 19.8$. Prior odds $0.01/0.99 \approx 1/99$. One positive: odds $\to 19.8/99 \approx 0.2$ (so probability $\approx 1/6$). Two positives: odds $\to 19.8^{2}/99 \approx 3.96$ (probability $\approx 0.798$). The second positive doesn't "add" — it multiplies, and a $\approx 20\times$ amplifier applied twice gives a $\approx 400\times$ shift in the odds.

(e) False-alarm rate for two consecutive positives M1·A1·R1

Conditional independence given non-disease: $$ P(+,+ \mid D^{\,\prime}) \;=\; [P(+\mid D^{\,\prime})]^{2} \;=\; (0.05)^{2} \;=\; \boxed{0.0025}. $$ Screening interpretation. In a population of $100{,}000$ healthy patients screened twice, expect $\approx 250$ to test positive twice in a row purely by chance — still rare per individual ($0.25\%$), but a sizeable absolute number once the screen is large, so two-positive protocols need a confirmatory third assay or follow-up.

(f) Weaker specificity $0.90$ — smallest $n$ for posterior $> 0.95$ M1·M1·A1

Now $P(+\mid D^{\,\prime}) = 0.10$, so $\text{LR}^{+} = 0.99/0.10 = 9.9$. Posterior odds after $n$ independent positives: $$ \text{odds}_n \;=\; \text{prior odds} \times (\text{LR}^{+})^{n} \;=\; \frac{0.01}{0.99} \cdot (9.9)^{n} \;=\; \frac{(9.9)^{n}}{99}. $$ Want posterior prob $> 0.95 \Leftrightarrow$ odds $> 19$: $$ \frac{(9.9)^{n}}{99} > 19 \;\Longleftrightarrow\; (9.9)^{n} > 1881 \;\Longleftrightarrow\; n > \frac{\log 1881}{\log 9.9} \approx \frac{3.274}{0.9956} \approx 3.29. $$ Iterate on GDC:
$n$oddsposterior
$3$$9.9^{3}/99 \approx 9.80$$\approx 0.907$ (fails)
$4$$9.9^{4}/99 \approx 97.03$$\approx \boxed{0.990}$ (succeeds)
Smallest $n = \boxed{4}$, with posterior $\approx 0.990$.
The screening-test design heuristic. Doubling the specificity (lowering false positives) buys you posterior power much faster than improving sensitivity, because in low-prevalence settings the denominator $P(+)$ is dominated by false positives from the healthy majority. That's why two-stage screens (a cheap sensitive test, then an expensive specific confirmatory test) outperform any single test at fixed cost — they engineer the multiplication in (d) on purpose.

(a) 贝叶斯公式陈述 + 量的识别 R1·A1

$$ P(D \mid +) \;=\; \frac{P(+ \mid D)\,P(D)}{P(+)}, \qquad P(+) \;=\; P(+\mid D)P(D) + P(+\mid D^{\,\prime})P(D^{\,\prime}). $$ 本情境下:$P(D) = 0.01$、$P(+\mid D) = 0.99$(灵敏度 sensitivity)、$P(+\mid D^{\,\prime}) = 1 - 0.95 = 0.05$(假阳性率 false positive rate)。因此 $P(D^{\,\prime}) = 0.99$。

(b) 一次阳性后的后验 M1·M1·A1

$$ P(+) \;=\; (0.99)(0.01) + (0.05)(0.99) \;=\; 0.0099 + 0.0495 \;=\; 0.0594. $$ $$ P(D \mid +) \;=\; \frac{0.0099}{0.0594} \;=\; \boxed{\frac{1}{6} \approx 0.167}. $$ 即便灵敏度高达 $99\%$,一次阳性后后验也只到约 $17\%$ —— $1\%$ 的基率(base rate)依然占主导。

(c) 连续两次阳性后的后验 M1·M1·A1

新先验 $P(D) = 1/6$,因此 $P(D^{\,\prime}) = 5/6$。用同样的检测参数再做一次贝叶斯: $$ P(+) \;=\; (0.99)\!\cdot\!\tfrac{1}{6} + (0.05)\!\cdot\!\tfrac{5}{6} \;=\; \tfrac{0.99 + 0.25}{6} \;=\; \tfrac{1.24}{6} \;\approx\; 0.2067. $$ $$ P(D \mid +,+) \;=\; \frac{0.99 \cdot \tfrac{1}{6}}{1.24/6} \;=\; \frac{0.99}{1.24} \;\approx\; \boxed{0.798}. $$ 从原始先验直接核对: $$ P(D \mid +,+) \;=\; \frac{P(D)\,[P(+\mid D)]^{2}}{P(D)[P(+\mid D)]^{2} + P(D^{\,\prime})[P(+\mid D^{\,\prime})]^{2}} \;=\; \frac{0.01 \cdot 0.9801}{0.01 \cdot 0.9801 + 0.99 \cdot 0.0025} \;\approx\; 0.798. \;\checkmark $$

(d) 为何 "一次阳性 $\to$ 两次阳性" 跃升如此剧烈 R1·R1

贝叶斯定理在赔率(odds)上是乘性的:每多一次独立阳性,先验赔率就乘以似然比(likelihood ratio)$\text{LR}^{+} = \dfrac{P(+\mid D)}{P(+\mid D^{\,\prime})} = \dfrac{0.99}{0.05} = 19.8$。先验赔率为 $0.01/0.99 \approx 1/99$。一次阳性:赔率 $\to 19.8/99 \approx 0.2$(对应概率 $\approx 1/6$)。两次阳性:赔率 $\to 19.8^{2}/99 \approx 3.96$(概率 $\approx 0.798$)。第二次阳性不是 "加",而是 "乘" —— $\approx 20\times$ 的放大器连用两次,对赔率的总放大约为 $\approx 400\times$。

(e) 连续两次阳性的假阳性率 M1·A1·R1

在未患病的条件下两次检测条件独立: $$ P(+,+ \mid D^{\,\prime}) \;=\; [P(+\mid D^{\,\prime})]^{2} \;=\; (0.05)^{2} \;=\; \boxed{0.0025}. $$ 筛查解读:在 $100{,}000$ 名两次受检的健康人中,预计约 $250$ 人会纯属偶然地连续两次阳性 —— 对个人而言仍属罕见($0.25\%$),但筛查规模一大绝对数量就显著,因此两次阳性的方案需要再做第三次确证或随访。

(f) 较弱特异度 $0.90$ —— 使后验 $> 0.95$ 的最小 $n$ M1·M1·A1

此时 $P(+\mid D^{\,\prime}) = 0.10$,因此 $\text{LR}^{+} = 0.99/0.10 = 9.9$。$n$ 次独立阳性后的后验赔率: $$ \text{odds}_n \;=\; \text{prior odds} \times (\text{LR}^{+})^{n} \;=\; \frac{0.01}{0.99} \cdot (9.9)^{n} \;=\; \frac{(9.9)^{n}}{99}. $$ 要后验概率 $> 0.95$ 等价于赔率 $> 19$: $$ \frac{(9.9)^{n}}{99} > 19 \;\Longleftrightarrow\; (9.9)^{n} > 1881 \;\Longleftrightarrow\; n > \frac{\log 1881}{\log 9.9} \approx \frac{3.274}{0.9956} \approx 3.29. $$ 用 GDC 迭代验证:
$n$赔率后验
$3$$9.9^{3}/99 \approx 9.80$$\approx 0.907$(未达标)
$4$$9.9^{4}/99 \approx 97.03$$\approx \boxed{0.990}$(达标)
最小 $n = \boxed{4}$,对应后验 $\approx 0.990$。
筛查检测的设计经验。 在低患病率场景下,提高特异度(降低假阳性)对后验能力的提升远快于提升灵敏度,因为分母 $P(+)$ 由健康多数中的假阳性主导。这就是为什么两阶段筛查(先做廉价的高灵敏度初筛,再做昂贵的高特异度确证)在同等成本下总能优于任何单一检测 —— 它们正是有意制造 (d) 中的乘性放大。
Where this goes wrong.错在哪里。 (a) A common slip is to use the specificity $0.95$ itself as $P(+\mid D')$, which makes the false positive rate $0.95$ instead of $0.05$ and drives the posterior down near $0.01$ rather than $1/6$. (b) A natural mistake is to divide by $0.01$ or by $0.99$ instead of by $P(+)$, so the one positive posterior is not rebuilt from the full Bayes fraction. (c) Another error is to keep the original prior $0.01$ for the retest, so the second positive is treated as if it barely changes the belief; the correct move is to update the prior to $1/6$ and then apply Bayes again, or to square both likelihoods. (d) Saying only that the second test is stronger evidence is incomplete; each independent positive multiplies the odds by $19.8$ again, so the odds jump from about $1:5$ after one positive to about $4:1$ after two. (e) Squaring $0.99$ uses the diseased sensitivity, but the question asks for a non diseased patient, so the correct chance is $(0.05)^2=0.0025$. In a large screening program this means a small per person false alarm rate but hundreds of false alarms overall. (f) If you forget that specificity has dropped to $0.90$ and keep using $0.05$ as the false positive rate, the likelihood ratio is too large and you can stop at too small an $n$; the correct iteration first passes $0.95$ at $n=4$.(a) 常见失误是把特异性 $0.95$ 直接当成 $P(+\mid D')$,于是把假阳性率写成 $0.95$ 而不是 $0.05$,这样后验会被压到接近 $0.01$,而不是 $1/6$。 (b) 一个自然的错误是除以 $0.01$ 或 $0.99$,而不是除以 $P(+)$,所以“一次阳性后的后验”没有按完整的贝叶斯分式重算。 (c) 另一个错误是把原来的先验 $0.01$ 直接拿来做复测,所以第二次阳性被看成几乎不改变信念;正确做法是把先验更新成 $1/6$ 再套一次贝叶斯,或者把两次似然都平方。 (d) 只说“第二次检测证据更强”还不够;每一次独立阳性都会再次把赔率乘以 $19.8$,所以赔率会从一次阳性后的约 $1:5$ 跳到两次阳性后的约 $4:1$。 (e) 把 $0.99$ 平方用的是患病者的灵敏度,但这里问的是未患病者,所以正确概率是 $(0.05)^2=0.0025$。在大规模筛查中,这表示单个人的假警报率很小,但总体上会出现成百上千个假警报。 (f) 如果忘记特异性降到了 $0.90$,仍然把假阳性率当成 $0.05$,似然比就会过大,于是会过早停在太小的 $n$;正确的迭代第一次超过 $0.95$ 是在 $n=4$。
Markscheme, 16 marks.评分标准,共 16 分。 (a) 1: states Bayes theorem for $P(D\mid +)$ (R1) · 1: identifies $P(D)=0.01$, $P(+\mid D)=0.99$, and $P(+\mid D')=0.05$ (A1) · (b) 1: computes $P(+)=0.0594$ or equivalent (M1) · 1: forms $P(D\mid +)=0.0099/0.0594$ (M1) · 1: gets $1/6\approx0.167$ (A1) · (c) 1: updates the prior to $1/6$ and $5/6$ for the second test (M1) · 1: applies Bayes again with the same sensitivity and false positive rate (M1) · 1: obtains $P(D\mid +,+)\approx0.798$ (A1) · (d) 1: states that independent positives multiply the likelihood ratio again (R1) · 1: compares the posterior after one positive to the much larger posterior after two positives using odds or equivalent (R1) · (e) 1: squares the false positive rate, not the sensitivity, to get $P(+,+\mid D')=(0.05)^2$ (M1) · 1: evaluates $0.0025$ (A1) · 1: interprets this as a very small but nonzero false alarm count in a large programme (R1) · (f) 1: sets up posterior odds after $n$ positives with likelihood ratio $9.9$ (M1) · 1: tests $n=3$ and $n=4$ or uses an equivalent logarithmic comparison (M1) · 1: gives smallest $n=4$ with posterior about $0.990$ (A1)(a) 1 分:写出 $P(D\mid +)$ 的贝叶斯公式 (R1) · 1 分:识别 $P(D)=0.01$、$P(+\mid D)=0.99$、$P(+\mid D')=0.05$ (A1) · (b) 1 分:计算 $P(+)=0.0594$ 或等价表达 (M1) · 1 分:写出 $P(D\mid +)=0.0099/0.0594$ (M1) · 1 分:得到 $1/6\approx0.167$ (A1) · (c) 1 分:把先验更新为 $1/6$ 和 $5/6$ 进行第二次检测 (M1) · 1 分:用相同的灵敏度和假阳性率再次套用贝叶斯 (M1) · 1 分:得到 $P(D\mid +,+)\approx0.798$ (A1) · (d) 1 分:指出独立阳性会再次乘上似然比 (R1) · 1 分:用赔率或等价方式比较一次阳性与两次阳性的后验 (R1) · (e) 1 分:平方的是假阳性率而不是灵敏度,得到 $P(+,+\mid D')=(0.05)^2$ (M1) · 1 分:算出 $0.0025$ (A1) · 1 分:说明这在大规模筛查中对应一个很小但非零的假警报数 (R1) · (f) 1 分:用似然比 $9.9$ 建立 $n$ 次阳性的后验赔率 (M1) · 1 分:检查 $n=3$ 和 $n=4$ 或做等价的对数比较 (M1) · 1 分:给出最小 $n=4$,后验约为 $0.990$ (A1)
PART V  ·  ADDITIONAL PRACTICE · SOLUTIONS第五部分  ·  补充练习 · 解析No calculator · 17 marks不可使用计算器 · 17 分

Additional Practice · Worked Solutions补充练习 · 详细解析

Q13HARDPaper 1BAHL 4.10 Bayes · Draws Without Replacement[17 marks]HL

Box A: 4R, 2B; box B: 2R, 4B; $P(A) = \tfrac{1}{3}$. Draw without replacement; update which box, then predict the next colour.盒 A:4 红 2 蓝;盒 B:2 红 4 蓝;$P(A) = \tfrac{1}{3}$。不放回抽取;更新是哪个盒子,再预测下一个颜色。

Answers:答案:  (a) $\tfrac{2}{5}$, $\tfrac{1}{15}$  ·  (b) $P(A \mid R) = \tfrac{1}{2}$, $P(A \mid RR) = \tfrac{3}{4}$  ·  (c) $\tfrac{3}{8}$  ·  (d) $\tfrac{1}{3}$

(a) Likelihoods without replacement M1·A1·M1·A1

$$ P(RR \mid A) = \frac{4}{6}\cdot\frac{3}{5} = \frac{2}{5}, \qquad P(RR \mid B) = \frac{2}{6}\cdot\frac{1}{5} = \frac{1}{15}. $$ The second factor uses five counters, because the first red has been removed.

(b) Posteriors M1·A1·M1·A1·A1

One red: joint weights $P(A \cap R) = \tfrac{1}{3}\cdot\tfrac{4}{6} = \tfrac{2}{9}$ and $P(B \cap R) = \tfrac{2}{3}\cdot\tfrac{2}{6} = \tfrac{2}{9}$, so $$ P(A \mid R) = \frac{2/9}{2/9 + 2/9} = \frac{1}{2}. $$ Two reds: $P(A \cap RR) = \tfrac{1}{3}\cdot\tfrac{2}{5} = \tfrac{2}{15}$ and $P(B \cap RR) = \tfrac{2}{3}\cdot\tfrac{1}{15} = \tfrac{2}{45}$, so $$ P(A \mid RR) = \frac{2/15}{2/15 + 2/45} = \frac{6/45}{8/45} = \frac{3}{4}. $$

(c) Predicting the third draw M1·M1·A1

After $RR$, box A has $2$ red among $4$ counters; box B has no red left. Weight each by its posterior: $$ P(R_{3} \mid RR) = \frac{3}{4}\cdot\frac{2}{4} + \frac{1}{4}\cdot 0 = \frac{3}{8}. $$ This is below $\tfrac{1}{2}$ even though A is now likely: two reds have depleted the red counters.

(d) Red then blue M1·A1·A1·R1·R1

$P(RB \mid A) = \tfrac{4}{6}\cdot\tfrac{2}{5} = \tfrac{4}{15}$ and $P(RB \mid B) = \tfrac{2}{6}\cdot\tfrac{4}{5} = \tfrac{4}{15}$. The likelihoods are equal, so the observation leaves the prior odds unchanged: $$ P(A \mid RB) = \frac{\tfrac{1}{3}\cdot\tfrac{4}{15}}{\tfrac{1}{3}\cdot\tfrac{4}{15} + \tfrac{2}{3}\cdot\tfrac{4}{15}} = \frac{1}{3}. $$ In two stages: after the red, $P(A \mid R) = P(B \mid R) = \tfrac{1}{2}$. The next draw is blue with probability $\tfrac{2}{5}$ from A but $\tfrac{4}{5}$ from B, so $$ P(A \mid RB) = \frac{\tfrac{1}{2}\cdot\tfrac{2}{5}}{\tfrac{1}{2}\cdot\tfrac{2}{5} + \tfrac{1}{2}\cdot\tfrac{4}{5}} = \frac{1}{3}. $$ The red raised A's probability from $\tfrac{1}{3}$ to $\tfrac{1}{2}$; the blue, being twice as likely from B, brought it back to $\tfrac{1}{3}$.
A posterior about the box is not a prediction about the counter. $P(A \mid RR) = \tfrac{3}{4}$ answers "which box?"; $P(R_{3} \mid RR) = \tfrac{3}{8}$ answers "what next?", and needs the depleted contents. The direct and two-stage calculations in (d) agree — updating one observation at a time is always legitimate, provided each likelihood uses the contents at that moment.

(a) 不放回下的似然 M1·A1·M1·A1

$$ P(RR \mid A) = \frac{4}{6}\cdot\frac{3}{5} = \frac{2}{5},\qquad P(RR \mid B) = \frac{2}{6}\cdot\frac{1}{5} = \frac{1}{15}。 $$ 第二个因子的分母是 $5$,因为第一个红色已被取出。

(b) 后验概率 M1·A1·M1·A1·A1

一个红色:联合权重 $P(A \cap R) = \tfrac{2}{9}$,$P(B \cap R) = \tfrac{2}{9}$,故 $P(A \mid R) = \tfrac{1}{2}$。 两个红色:$P(A \cap RR) = \tfrac{2}{15}$,$P(B \cap RR) = \tfrac{2}{45}$,故 $$ P(A \mid RR) = \frac{2/15}{2/15 + 2/45} = \frac{3}{4}。 $$

(c) 预测第三次抽取 M1·M1·A1

$RR$ 之后,盒 A 剩 $4$ 个中有 $2$ 个红色;盒 B 已无红色。按后验加权: $$ P(R_{3} \mid RR) = \frac{3}{4}\cdot\frac{2}{4} + \frac{1}{4}\cdot 0 = \frac{3}{8}。 $$ 尽管此时 A 的可能性很大,结果仍小于 $\tfrac{1}{2}$:两次红色已消耗了红色筹码。

(d) 先红后蓝 M1·A1·A1·R1·R1

$P(RB \mid A) = \tfrac{4}{6}\cdot\tfrac{2}{5} = \tfrac{4}{15}$,$P(RB \mid B) = \tfrac{2}{6}\cdot\tfrac{4}{5} = \tfrac{4}{15}$。两个似然相等,观察结果不改变先验比,故 $P(A \mid RB) = \tfrac{1}{3}$。 分两步:抽到红色后 $P(A \mid R) = P(B \mid R) = \tfrac{1}{2}$;下一个为蓝色的概率在 A 中为 $\tfrac{2}{5}$、在 B 中为 $\tfrac{4}{5}$,所以 $$ P(A \mid RB) = \frac{\tfrac{1}{2}\cdot\tfrac{2}{5}}{\tfrac{1}{2}\cdot\tfrac{2}{5} + \tfrac{1}{2}\cdot\tfrac{4}{5}} = \frac{1}{3}。 $$ 红色把 A 的概率从 $\tfrac{1}{3}$ 提高到 $\tfrac{1}{2}$;蓝色在 B 中出现的可能性是 A 中的两倍,又把它拉回 $\tfrac{1}{3}$。
关于盒子的后验不等于关于筹码的预测。$P(A \mid RR) = \tfrac{3}{4}$ 回答"是哪个盒子";$P(R_{3} \mid RR) = \tfrac{3}{8}$ 回答"下一个是什么",需要用到消耗后的内容。(d) 中直接计算与分步计算一致——逐次更新总是合法的,只要每个似然都用当时的盒内内容。