Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two independent variables $X$ and $Y$.

$W=X-Y$ when $X\sim $Bernoulli$(1/2)$ and $Y\sim N(0,1)$. This puts $Var(x)=1/4$ and $Var(Y)=1$, but I have to be misunderstanding something because if $Var(W)=Var(X)-Var(Y)$ then the $Var(W)$ is negative, which makes no sense.

What am I missing?

share|cite|improve this question
1  
Thanks for pointing out that I could square the coefficients. It makes sense that variance is not linear mapping. – William Shiflett 4 hours ago
up vote 3 down vote accepted

The thing you are misunderstanding is that $Var(X-Y)\not=Var(X)-Var(Y)$
The accurate formula is $Var(W)=Var(X-Y)=Var(X)+Var(Y)$

share|cite|improve this answer

If $U$ and $V$ are independent, then $\text{Var}(aU+bV)=a^2\text{Var}(U)+b^2\text{Var}(V)$. In our case, the variance of $X-Y$, that is, of $(1)X+(-1)Y$, is the variance of $X$ plus the variance of $Y$.

share|cite|improve this answer

Variance is not a linear mapping. When $X$ and $Y$ are independent (or more generally uncorrelated), $\operatorname{Var}(X+Y)=\operatorname{Var}(X)+\operatorname{Var}(Y)$. Here you should apply this noticing that $X-Y=X+(-Y)$ and $\operatorname{Var}(-Y)=\operatorname{Var}(Y)$.

share|cite|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.