Companion to the IB-Style Practice SetIB 风格练习题的解析配套
Syllabus 4.5 – 4.6 SL + AHL 4.10 Bayes考纲 4.5 – 4.6 SL + AHL 4.10 贝叶斯(Bayes' theorem) AA HL
v1.1 · companion to Unit_D2_Probability_Practice.html v1.1 · 12 Qs · 91 marks · mark-by-mark withUnit_D2_Probability_Practice.html v1.1 配套 · 12 题 · 91 分 · 逐分点附 M1 / A1 / R1 callouts分点标注
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)$。
sample space)中的结果(outcome):$(1,6),(2,5),(3,4),(4,3),(5,2),(6,1)$ —— $36$ 个结果中恰有 $6$ 个。$P = 6/36 = \boxed{\tfrac{1}{6}}.$
complement):
$$ P(\text{at least one }6) \;=\; 1 - \tfrac{25}{36} \;=\; \boxed{\tfrac{11}{36}}. $$
$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)$。
complement)
probability,无量纲,取值 $[0,1]$)。答题时务必区分清楚。$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)$。
mutually exclusive)情形 M1·A1union):
$$ P(A \cup B) \;=\; P(A) + P(B) - P(A \cap B) \;=\; 0.3 + 0.5 - 0 \;=\; \boxed{0.8}. $$
independent)时的交(intersection) M1·A1Two-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) 是否独立?
conditional probability,P(A|B)):仅看男生这一行,$P(\text{Pass}\mid\text{Male}) = 30/50 = \boxed{0.6}.$
$4$ red, $6$ blue. Two draws without replacement.$4$ 红、$6$ 蓝。不放回抽取两次。
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.
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 给的是正确写出的条件概率。
$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) 是否独立。
Venn diagram)的各区域 M1·A1Two 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)$?
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
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
law of total probability) M1·A1Bayes' theorem) M1·M1·A1posterior)$<$ 先验(prior) R1$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)。
$5$ white, $3$ black, no replacement.$5$ 白、$3$ 黑,不放回。
without replacement)= 以历史为条件。 每抽一次袋中组成就更新。要追踪条件下的袋内状态,而不是原始数量。$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$。
Three regions; prevalence/sensitivity/specificity differ; find regional posteriors then a population-weighted posterior.三个地区;患病率/灵敏度/特异度各不相同;先求各地区后验概率,再求按人口加权的后验概率。
| 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$ | ||
false positive rate)。
| 地区 | $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$ | ||
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$,复检条件独立。先后用一次、两次阳性更新后验,并探究假阳性率与较低特异度的情景。
| $n$ | odds | posterior |
|---|---|---|
| $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) |
sensitivity)、$P(+\mid D^{\,\prime}) = 1 - 0.95 = 0.05$(假阳性率 false positive rate)。因此 $P(D^{\,\prime}) = 0.99$。
base rate)依然占主导。
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$。
| $n$ | 赔率 | 后验 |
|---|---|---|
| $3$ | $9.9^{3}/99 \approx 9.80$ | $\approx 0.907$(未达标) |
| $4$ | $9.9^{4}/99 \approx 97.03$ | $\approx \boxed{0.990}$(达标) |