跳到主要内容

T.8 · 条件概率、贝叶斯推断与抽样误差

GRE 数学知识点 21

本主题的视频课程 打开视频页面
5:04

T.8 · 条件概率、贝叶斯推断与抽样误差

本单元区分条件概率、联合概率和独立事件概率,利用完整的基率表计算后验概率,并运用…

英文讲解 · 可切换中英文字幕

21.1

条件化、贝叶斯推断与抽样误差

English

In 1763, two years after the death of Thomas Bayes, a Presbyterian minister in Kent, his friend Richard Price read Bayes's unpublished essay to the Royal Society in London. It answered a reversed question: given how often an event has happened, how probable is it that its chance lies in a certain range? Bayes's rule for turning $P(\text{evidence} \mid \text{cause})$ into $P(\text{cause} \mid \text{evidence})$ was little used for almost two centuries. Today it runs spam filters, medical tests and much of machine learning.

GRE Mathematics probability and statistics questions ask you to:

  • Compute conditional probabilities and use the law of total probability.
  • Find a posterior probability 后验概率 with Bayes' rule.
  • Separate independence from mutual exclusion.
  • Use expectation and variance of sums, and the standard error 标准误 of a mean.
词汇 训练
English 中文 拼音
posterior probability/pɒˈstɪərɪə ˌprɒbəˈbɪlɪti/ 后验概率 hòu yàn gài lǜ
standard error/ˈstændəd ˈerə/ 标准误 biāo zhǔn wù
21.2

条件概率

English
$$P(A \mid B) = \frac{P(A \cap B)}{P(B)}, \qquad P(B) = \sum_i P(B \mid A_i)P(A_i)$$
  • The second formula, the law of total probability, needs the $A_i$ to split the whole space.
  • $P(A \mid B)$ and $P(B \mid A)$ are usually different.
21.3

贝叶斯定理

English
$$P(A \mid B) = \frac{P(B \mid A)P(A)}{P(B)}$$
  • The prior $P(A)$ is the starting probability; the posterior $P(A \mid B)$ is updated by the evidence.
  • Expected counts make it concrete: imagine 1,000 cases and fill in a table.
  • A rare cause stays fairly unlikely after one positive test unless the test rarely gives false positives.
Table of 1,000 expected items: 80 of 100 defective and 45 of 900 non-defective test positive, 125 positives in all
Given a positive test, divide by all 125 positives: 80/125, not 80/100
21.4

独立与互斥

English
  • Independent: $P(A \cap B) = P(A)P(B)$. Knowing $A$ tells you nothing about $B$.
  • Mutually exclusive: $P(A \cap B) = 0$.
  • Two events with positive probabilities cannot be both: if they are exclusive, knowing $A$ tells you $B$ did not happen.
Left: a unit square with A a column of width 0.4 and B a row of height 0.5, overlapping in 0.2, independent. Right: two disjoint circles, mutually exclusive, so P(A and B) = 0, not the product
Independent is not the same as mutually exclusive.
21.5

总和与抽样误差

English
  • $E[aX + bY] = aE[X] + bE[Y]$ always. $\operatorname{Var}(X + Y) = \operatorname{Var}X + \operatorname{Var}Y$ when $X$ and $Y$ are independent.
  • The mean of $n$ independent observations with standard deviation $\sigma$ has standard error $\sigma/\sqrt n$.
  • Central limit theorem: for large $n$ the sample mean is approximately normal. A 95% interval is about the estimate $\pm 1.96$ standard errors.
  • To halve the standard error, quadruple the sample.
21.6

例题:缺陷检测

English

10% of devices are defective. A test is positive for 80% of defective devices and 5% of good ones.

  • In 1,000 devices: 100 defective, 80 positive; 900 good, 45 positive.
  • $P(\text{defect} \mid +) = \dfrac{80}{80 + 45} = \dfrac{16}{25} = 0.64$.
  • The 0.8 is $P(+ \mid \text{defect})$, the reversed condition. Check: the negatives are $20 + 855 = 875$, and $125 + 875 = 1000$.
21.7

例题:抽样误差

English

Test scores have $\sigma = 10$. A sample of 25 has mean 72.

  • Standard error: $10/\sqrt{25} = 2$.
  • An approximate 95% interval is $72 \pm 1.96 \times 2 = 72 \pm 3.9$.
  • With 100 students the standard error would be 1: four times the sample for half the error.
21.8

常见错误

English
  • Confusing $P(A \mid B)$ with $P(B \mid A)$.
  • Ignoring the prior (base rate) in Bayes' rule.
  • Treating exclusive events as independent.
  • Adding standard deviations instead of variances.
  • Thinking the standard error falls in proportion to $n$.
21.9

关键术语

English

posterior probability: The probability of a cause after taking account of the observed evidence.

standard error: The standard deviation of a statistic, such as a sample mean, across repeated samples.

21.10

自我检测

English
  • $A$ and $B$ are independent with $P(A) = 0.3$, $P(B) = 0.5$. What is $P(A \cup B)$?
  • A family has two children, at least one a girl. What is the probability both are girls?
  • Observations have SD 8. What is the standard error of the mean of 16 of them?

Answers: $0.3 + 0.5 - 0.15 = 0.65$. $\tfrac13$. 2.

探索

已知条件改变分母所对应的群体

$P(A\mid B)=n(A\cap B)/n(B),\quad n(B)>0$

用本课的表格比较条件概率、反向条件概率和全体概率。高亮群体对应分母。

探索

个体的离散程度与样本均值的离散程度

$\mathrm{SD}(\bar X)=\sigma/\sqrt n$

样本量n改变标准误,不改变总体标准差。计算正态概率需要明确的分布模型。

这有帮助吗?

该知识点的互动课程

逐步完成,配合即时检查练习。

更多 GRE 数学 知识点

登录或创建账户

IGCSE, A-Level & AP