a + bX · X + Y · X − Y · mean, variance, SD · shape · derivations
Inference for Categorical Data: Proportions · 15–25% of the AP exam
Find the mean and SD after adding, subtracting, multiplying or dividing by a constant.
常数加减乘除后的均值与标准差
Describe how the graph of the distribution moves, stretches or flips — and why the shape stays the same.
图像如何平移、伸缩、翻转;形状不变
Find the mean of a sum or difference of two random variables.
和与差的均值
Find the SD of X + Y or X − Y for independent random variables: add variances, then take the square root.
独立时方差相加,再开根号
Derive the rules from the definitions of expected value and variance.
用期望和方差的定义推导公式
Explain where the formula for the SD of a difference in sample proportions comes from.
两样本比例差的标准差从哪里来
Look for the navy 🎮 SIMULATOR banner. Click to jump there. 深蓝色横幅 = 模拟器,点击可直接跳转。
Roll two fair dice. Let X = the number on the red die and Y = the number on the blue die. Let S = X + Y. 掷两颗均匀骰子,S = 两颗点数之和。
| Operation 运算 | Shape 形状 | Center 中心 (mean, median) | Spread 离散 (SD, IQR, range) | Variance 方差 |
|---|---|---|---|---|
| add a 加 a | same 不变 | + a | same 不变 | same 不变 |
| subtract a 减 a | same 不变 | − a | same 不变 | same 不变 |
| × b (b > 0) 乘正数 | same 不变 | × b | × b | × b² |
| ÷ b (b > 0) 除以正数 | same 不变 | ÷ b | ÷ b | ÷ b² |
| × b (b < 0) 乘负数 | mirror image 左右翻转 | × b | × |b| | × b² |
X is a discrete random variable with values , probabilities , mean and variance . Let . Each value becomes with the same probability .
X = number of kayaks rented in an hour (right-skewed). Move a and b and compare the two probability histograms. 拖动 a、b,对比变换前后的图像。
X = number of kayaks rented in an hour at a small dock. The shop earns $15 per kayak and pays $10 per hour for the attendant, so the hourly profit is P = 15X − 10.
| x | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| P(X = x) | 0.30 | 0.35 | 0.20 | 0.10 | 0.05 |
μX = 1.25 kayaks and σX ≈ 1.135 kayaks.
Let , the joint probability of each pair. The mean of X + Y averages x + y over all pairs, weighted by p(x, y).
Joint table 联合分布表 (one example)
| y = 0 | y = 1 | y = 2 | P(X = x) | |
|---|---|---|---|---|
| x = 0 | 0.125 | 0.25 | 0.125 | 0.5 |
| x = 1 | 0.125 | 0.25 | 0.125 | 0.5 |
| P(Y = y) | 0.25 | 0.5 | 0.25 | 1 |
Each cell = p(x, y). Adding across a row gives P(X = x); adding down a column gives P(Y = y). 横着加得到 X 的概率,竖着加得到 Y 的概率。
Variance is the mean squared distance from the mean: , where E[ ] means “probability-weighted average”. Assume X and Y are independent.
If X and Y are independent:
X and Y are independent. X = 0 or 1 with probability 0.5 each. Y = 0, 1, 2 with probabilities 0.25, 0.5, 0.25. The joint probabilities are on the previous derivation slide.
μX = 0.5, σ²X = 0.25; μY = 1, σ²Y = 0.5.
X and Y are independent and normal. We simulate 2,000 pairs and graph X + Y or X − Y. 模拟 2000 对独立的 X、Y。
Ana’s time for a 400-m run is approximately normal with mean 50 s and SD 3 s. Ben’s time is approximately normal with mean 48 s and SD 4 s. They run in separate heats, so their times A and B are independent.
Apple weights are independent with mean 150 g and SD 10 g. An empty box weighs 40 g with SD 3 g. A packed box holds 4 randomly chosen apples: T = A₁ + A₂ + A₃ + A₄ + B.
→ (B).
(A) subtracts SDs; (C) is the mean of X − Y; (D) adds SDs; (E) is the variance.
, ; a linear transformation keeps the shape → skewed left → (B).
(A) forgets + 32; (C) adds 32 to the SD; (D) changes the shape; (E) uses 1.8² on the SD.
Means always add. Rain makes D and W both larger, so they are not independent and the variance rule may fail → (B).
(A) adds SDs; (C) is wrong about the mean; (D) gives a wrong reason; (E) has no basis.
❌ σX+Y = σX + σY
✅ Add variances, then take the square root: .
标准差不能直接相加。
❌ σ²X−Y = σ²X − σ²Y
✅ Variances add for a difference too.
差的方差也是相加。
❌ σ of X + 5 is σX + 5
✅ Adding a constant does not change the spread.
加常数不改变标准差。
❌ σ of 3X is 9σX
✅ σ is multiplied by |b| = 3; the variance is multiplied by 9.
乘 b:标准差乘 |b|,方差乘 b²。
❌ X₁ + X₂ + X₃ = 3X
✅ Three independent copies: σ² = 3σ²X, not 9σ²X.
三个独立的 X 相加 ≠ 3 乘同一个 X。
❌ Use variance addition without checking
✅ Check that X and Y are independent first.
先确认独立。
| English | 中文 | Remember… / 记住 | Level |
|---|---|---|---|
| Linear transformation a + bX | 线性变换 | μ → a + bμ; σ → |b|σ; σ² → b²σ²; shape unchanged | ★★★★ |
| Shift (add a) · stretch (× b) | 平移 · 伸缩 | adding moves the graph; multiplying stretches it; b < 0 flips it | ★★★★ |
| Mean of X ± Y | 和与差的均值 | μX ± μY — always | ★★★★ |
| Independent random variables | 独立随机变量 | P(X = x and Y = y) = P(X = x)P(Y = y) | ★★★★ |
| Variance of X ± Y | 和与差的方差 | σ²X + σ²Y — only if independent; plus for both | ★★★★ |
| SD of X ± Y | 和与差的标准差 | , never σX + σY | ★★★★ |
| Sum of independent normals | 独立正态之和 | is normal | ★★★★ |
A cereal company fills boxes. The cereal weight X has mean 16.2 oz and SD 0.1 oz; the empty box weight Y has mean 1.5 oz and SD 0.05 oz. X and Y are independent.
Point estimates, unbiased estimators, bias and variability.