Combinações lineares de variáveis aleatórias
Introduzido| English | Significado |
|---|---|
| variance/ˈveərɪəns/ | variância |
| linear combination/ˈlɪnɪə ˌkɒmbɪˈneɪʃn/ | combinação linear |
| random variable/ˈrændəm ˈveərɪəbl/ | variável aleatória |
| linear transformation/ˈlɪnɪə trænsfɔːˈmeɪʃn/ | transformação linear |
| independent/ˌɪndɪˈpendənt/ | independente |
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.
Laboratório de combinação linear
E(aX + b) = aE(X) + b
Altere um fator de escala e veja como o valor esperado escala.
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 tem média 5. Qual é E(3X − 1)?
Dificuldade 2/5 · Moedas 140 + pequeno bônus na primeira conclusão hoje
E(3X − 1) = 3E(X) − 1 = 3×5 − 1 = 14.
X tem variância 4. Qual é Var(3X − 1)?
Dificuldade 2/5 · Moedas 140 + pequeno bônus na primeira conclusão hoje
Var(3X − 1) = 3²×Var(X) = 9×4 = 36 (o −1 não tem efeito).
Em Var(aX + b), a constante b:
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
Adicionar uma constante desloca os dados, mas não muda sua dispersão, então b desaparece.
Two independent 独立 variables
- Note: variances always add (even for $X - Y$), because $(-1)^2 = 1$.
X e Y são independentes. Var(X) = 4, Var(Y) = 9. Var(X + Y) = ?
Dificuldade 2/5 · Moedas 140 + pequeno bônus na primeira conclusão hoje
Var(X + Y) = Var(X) + Var(Y) = 4 + 9 = 13 (variâncias se somam para variáveis independentes).
X e Y são independentes. Var(X) = 4, Var(Y) = 9. Var(X − Y) = ?
Dificuldade 2/5 · Moedas 140 + pequeno bônus na primeira conclusão hoje
Var(X − Y) = Var(X) + (−1)²Var(Y) = 4 + 9 = 13. Variâncias sempre se somam.
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)$.
Se X ~ Po(3) e Y ~ Po(5) são independentes, então X + Y ~ Po(8).
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
A soma de variáveis Poisson independentes é Poisson com parâmetro λ₁ + λ₂ = 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 e Var(X) é 3. Para Y = 2X - 1, quais são E(Y) e Var(Y)?
8 menos 1 resulta em 7. 4 vezes 3 resulta em 12.
Qual é Var(Y)?
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
O coeficiente 2 é elevado ao quadrado, portanto a variância é multiplicada por 4. Outras opções — 36 (a variância da lição); 3 (a variância original sem escala).