课程导航
课程首页:Probability Theory
前置内容:条件概率、全概率公式与 Bayes 公式
后续内容:CDF、PMF 与 PDF
课程资料:Prob_Stat_Chapter1, pp.52–65;Casella & Berger, Statistical Inference, Ch1
Mutual Independence, Random Variables, and Distribution Functions / 相互独立、随机变量与分布函数
1. Further Discussion of Independence / 独立性的进一步讨论
1.1 Independence and Complements / 独立性与补事件
Theorem
If and are independent, then
are also independent pairs.
例如,利用 这一互斥分解,
其余两种情形可用相同方法证明。因此,独立事件的任意补集组合仍保持独立。
1.2 Pairwise and Mutual Independence / 两两独立与相互独立
当事件数量不少于三个时,pairwise independence 不足以推出 mutual independence。
三个事件两两独立只要求
但不保证
Definition
are mutually independent if for every subcollection ,
Mutual independence 要求所有规模至少为 的子事件组都满足乘法关系;只检查每一对事件并不充分。
Example 1: Pairwise but Not Mutual Independence / 例 1:两两独立但不相互独立
设
四个结果等可能,并定义
每个事件的概率均为 ,任意两个事件的交集均只含一个结果,因此
所以三个事件两两独立。然而
从而
故它们并不相互独立。
1.3 Checking the In-Class Exercise / 课堂练习核对
- 盒中有 个红球、 个蓝球,不放回抽取两个球:
- 保险分类例中,
- 上述 的每个两两交集概率为 ,但三者交集概率为 ,因此两两独立而不相互独立。
2. Random Variables / 随机变量
Definition
A random variable is a function from the sample space into the real numbers:
的所有可能取值构成其值域,通常记为 。随机变量并不是“随机变化的数”,而是先把每个原始结果 映射为数值 ;随机性来自试验结果 的不确定性。
2.1 Examples of Random Variables / 随机变量示例
| Random experiment | Random variable |
|---|---|
| 掷两枚骰子 | 两个点数之和 |
| 抛硬币 25 次 | 正面出现次数 |
| 测量作物反应 | 单位面积产量 |
| 抽样调查 50 位选民 | 支持某提案的人数 |
随机变量可以把复杂的原始结果压缩为当前分析所关心的 numerical summary。
2.2 Probabilities Induced by a Random Variable / 随机变量诱导的概率
给定 ,样本空间 上的概率会诱导出 取值上的概率。对 ,
更一般地,对 ,
右侧集合是 在映射 下的原像。因此,对随机变量事件求概率,本质上仍然是在样本空间 上求概率。
Notation
- 大写字母 表示随机变量;
- 小写字母 表示随机变量的可能取值或实现值。
Example 2: Three Coin Tosses / 例 2:三次抛硬币
公平硬币独立抛三次,令 为正面次数。样本空间为
的概率分布为
因此
而
对离散型随机变量,把 改成 可能改变事件本身,不能忽略端点。
3. Distribution Functions / 分布函数
3.1 Cumulative Distribution Function / 累积分布函数
Definition
The cumulative distribution function of is
CDF 在所有实数 上都有定义,而不只是在 的值域 上定义。若 ,则
Example 3: CDF for Three Coin Tosses / 例 3:三次抛硬币的 CDF
对正面次数 ,
这是一个阶梯函数。每个取值点 处的跳跃大小等于该点的概率质量:
其中
CDF 在跳跃点取跳跃后的函数值,因此是 right-continuous(右连续)的。
Example 4: Distance from the Hit Point to the Center / 例 4:命中点到圆心的距离
射击命中半径为 的圆形靶,且命中点在靶面上按面积均匀分布。令 为命中点到圆心的距离。
当 时,事件 对应半径为 的内圆,因此
完整的 CDF 为
Key point
“在圆面上按面积均匀”不等于“距离 在 上均匀”。半径越大的环带面积越大,因此 是二次函数而不是 。