ผลรวมเชิงเส้นของตัวแปรสุ่ม
แนะนำใหม่| English | ความหมาย |
|---|---|
| variance/ˈveərɪəns/ | ความแปรปรวน |
| linear combination/ˈlɪnɪə ˌkɒmbɪˈneɪʃn/ | ผลรวมเชิงเส้น |
| random variable/ˈrændəm ˈveərɪəbl/ | ตัวแปรสุ่ม |
| linear transformation/ˈlɪnɪə trænsfɔːˈmeɪʃn/ | การแปลงเชิงเส้น |
| independent/ˌɪndɪˈpendənt/ | อิสระต่อกัน |
The mathematics of combining
- If you know the mean and variance 方差 of two separate processes, what happens when you add them together?
- Linear combinations 线性组合 let you predict the behaviour of combined random variables 随机变量 — essential for quality control, finance, and engineering.
การทดลองผลรวมเชิงเส้น
E(aX + b) = aE(X) + b
เปลี่ยนปัจจัยการขยายและดูว่าค่าคาดหมายมีการเปลี่ยนแปลงอย่างไร
Linear transformations 线性变换 of a single variable
- For a single variable changed by a linear rule:
Worked example. $E(X) = 5$, $\text{Var}(X) = 4$. Let $Y = 3X + 2$. $E(Y) = 3(5) + 2 = 17$. $\text{Var}(Y) = 3^2(4) = 36$.
The constant $b$ vanishes from variance. Adding a constant shifts the mean but doesn't change the spread. $\text{Var}(X + 5) = \text{Var}(X)$, not $\text{Var}(X) + 25$.

The Poisson distribution Po(3); its mean and variance both equal lambda
X มีค่าเฉลี่ย 5. E(3X − 1) คืออะไร?
ความยาก 2/5 · 140 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
E(3X − 1) = 3E(X) − 1 = 3×5 − 1 = 14.
X มีความแปรปรวน 4. Var(3X − 1) คืออะไร?
ความยาก 2/5 · 140 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Var(3X − 1) = 3²×Var(X) = 9×4 = 36 (ค่า −1 ไม่มีผลต่อความแปรปรวน)
ใน Var(aX + b), ค่าคงที่ b:
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
การเพิ่มค่าคงที่จะเลื่อนข้อมูลแต่ไม่เปลี่ยนขนาดการกระจาย ดังนั้น b จึงหายไปจากสมการความแปรปรวน
Two independent 独立 variables
- Note: variances always add (even for $X - Y$), because $(-1)^2 = 1$.
X และ Y เป็นอิสระต่อกัน. Var(X) = 4, Var(Y) = 9. Var(X + Y) = ?
ความยาก 2/5 · 140 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Var(X + Y) = Var(X) + Var(Y) = 4 + 9 = 13 (ความแปรปรวนบวกกันได้สำหรับตัวแปรอิสระ)
X และ Y เป็นอิสระต่อกัน. Var(X) = 4, Var(Y) = 9. Var(X − Y) = ?
ความยาก 2/5 · 140 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Var(X − Y) = Var(X) + (−1)²Var(Y) = 4 + 9 = 13. ความแปรปรวนบวกกันได้เสมอ
Distributions under linear combinations
- If $X$ is normal, so is $aX + b$; the sum of independent normals is normal.
- The sum of independent Poissons is Poisson: if $X \sim \text{Po}(\lambda_1)$ and $Y \sim \text{Po}(\lambda_2)$, then $X + Y \sim \text{Po}(\lambda_1 + \lambda_2)$.
ถ้า X ~ Po(3) และ Y ~ Po(5) เป็นอิสระต่อกัน แล้ว X + Y ~ Po(8)
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
ผลรวมของตัวแปรปอยซงที่เป็นอิสระต่อกันจะเป็นปอยซงที่มีพารามิเตอร์ λ₁ + λ₂ = 3 + 5 = 8
Worked example — combining normals
- $X \sim N(10, 4)$ and $Y \sim N(20, 9)$, independent. Find the distribution of $X + Y$.
- $E(X + Y) = 10 + 20 = 30$. $\text{Var}(X + Y) = 4 + 9 = 13$.
- So $X + Y \sim N(30, 13)$.
- Linear combinations of normal distributions are normal; sums of independent Poisson distributions are Poisson.
You've got it
- $E(aX+b) = aE(X) + b$; $\text{Var}(aX+b) = a^2\,\text{Var}(X)$ (the $b$ drops, $a$ is squared)
- independent: $\text{Var}(aX+bY) = a^2\text{Var}(X) + b^2\text{Var}(Y)$
- normal stays normal under a linear rule; sums of independent Poissons are Poisson
Write from the data given
- E(X) = 4 and Var(X) = 3. Y = 2X - 1.
- Find E(Y) and Var(Y).
E(X) คือ 4 และ Var(X) คือ 3 สำหรับ Y = 2X - 1, E(Y) และ Var(Y) เป็นเท่าไร?
8 ลบ 1 ได้ 7 4 คูณ 3 ได้ 12
Var(Y) เป็นเท่าไร?
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
สัมประสิทธิ์ 2 ถูกยกกำลังสอง ดังนั้นความแปรปรวนจึงถูกคูณด้วย 4 ตัวเลือกอื่น — 36 (ความแปรปรวนในบทเรียน); 3 (ความแปรปรวนเดิมที่ไม่ได้ปรับสเกล)