15
$\begingroup$

If $U$ and $V$ are independent identically distributed standard normal, what is the distribution of their difference?

I will present my answer here. I am hoping to know if I am right or wrong.

Using the method of moment generating functions, we have

\begin{align*} M_{U-V}(t)&=E\left[e^{t(U-V)}\right]\\ &=E\left[e^{tU}\right]E\left[e^{tV}\right]\\ &=M_U(t)M_V(t)\\ &=\left(M_U(t)\right)^2\\ &=\left(e^{\mu t+\frac{1}{2}t^2\sigma ^2}\right)^2\\ &=e^{2\mu t+t^2\sigma ^2}\\ \end{align*} The last expression is the moment generating function for a random variable distributed normal with mean $2\mu$ and variance $2\sigma ^2$. Thus $U-V\sim N(2\mu,2\sigma ^2)$.

For the third line from the bottom, it follows from the fact that the moment generating functions are identical for $U$ and $V$.

Thanks for your input.

EDIT: OH I already see that I made a mistake, since the random variables are distributed STANDARD normal. I will change my answer to say $U-V\sim N(0,2)$.

$\endgroup$
  • 2
    $\begingroup$ I think you made a sign error somewhere. The mean of $U-V$ should be zero even if $U$ and $V$ have nonzero mean $\mu$. Shouldn't your second line be $E[e^{tU}]E[e^{-tV}]$? $\endgroup$ – Bungo Sep 2 '14 at 17:54
  • $\begingroup$ Ah, yes it should. Thank you. $\endgroup$ – nonremovable Sep 2 '14 at 17:55
  • $\begingroup$ Aside from that, your solution looks fine. $\endgroup$ – Bungo Sep 2 '14 at 17:56
  • $\begingroup$ Yeah, I changed the wrong sign, but in the end the answer still came out to $N(0,2)$. $\endgroup$ – nonremovable Sep 2 '14 at 17:58
  • 5
    $\begingroup$ Having $$E[U - V] = E[U] - E[V] = \mu_U - \mu_V$$ and $$Var(U - V) = Var(U) + Var(V) = \sigma_U^2 + \sigma_V^2$$ then $$(U - V) \sim N(\mu_U - \mu_V, \sigma_U^2 + \sigma_V^2)$$ $\endgroup$ – Dor Sep 13 '15 at 8:57
9
$\begingroup$

In addition to the solution by the OP using the moment generating function, I'll provide a (nearly trivial) solution when the rules about the sum and linear transformations of normal distributions are known.

The distribution of $U-V$ is identical to $U+a \cdot V$ with $a=-1$. So from the cited rules we know that $U+V\cdot a \sim N(\mu_U + a\cdot \mu_V,~\sigma_U^2 + a^2 \cdot \sigma_V^2) = N(\mu_U - \mu_V,~\sigma_U^2 + \sigma_V^2)~ \text{(for $a = -1$)} = N(0,~2)~\text{(for standard normal distributed variables)}$.


Edit 2017-11-20: After I rejected the correction proposed by @Sheljohn of the variance and one typo, several times, he wrote them in a comment, so I finally did see them. Thank you @Sheljohn!

$\endgroup$
  • $\begingroup$ If $U$ and $V$ were not independent, would $\sigma_{U+V}^2$ be equal to $\sigma_U^2+\sigma_V^2+2\rho\sigma_U\sigma_V$ where $\rho$ is correlation? $\endgroup$ – Milos Jun 18 '17 at 21:59
  • 2
    $\begingroup$ @Qaswed -1: $U+aV$ is not distributed as $\mathcal{N}( \mu_U + a\mu V, \sigma_U^2 + |a| \sigma_V^2 )$; $\mu_U + a\mu V$ makes no sense, and the variance is $\sigma_U^2 + a^2 \sigma_V^2$ $\endgroup$ – Sheljohn Nov 18 '17 at 20:41
  • 2
    $\begingroup$ @Sheljohn you are right: $a \cdot \mu V$ is a typo and should be $a \cdot \mu_V$. And for the variance part it should be $a^2$ instead of $|a|$. I reject the edits as I only thought they are only changes of style. Sorry, my bad! $\endgroup$ – Qaswed Nov 20 '17 at 7:24
7
$\begingroup$

The currently upvoted answer is wrong, and the author rejected attempts to edit despite 6 reviewers' approval. So here it is; if one knows the rules about the sum and linear transformations of normal distributions, then the distribution of $U-V$ is: $$ U-V\ \sim\ U + aV\ \sim\ \mathcal{N}\big( \mu_U + a\mu_V,\ \sigma_U^2 + a^2\sigma_V^2 \big) = \mathcal{N}\big( \mu_U - \mu_V,\ \sigma_U^2 + \sigma_V^2 \big) $$ where $a=-1$ and $(\mu,\sigma)$ denote the mean and std for each variable.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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