Distribution of the difference of two normal random variables. The 2019 Stack Overflow...

Is it a good practice to use a static variable in a Test Class and use that in the actual class instead of Test.isRunningTest()?

How can I define good in a religion that claims no moral authority?

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?

Will it cause any balance problems to have PCs level up and gain the benefits of a long rest mid-fight?

How do I free up internal storage if I don't have any apps downloaded?

Are there any other methods to apply to solving simultaneous equations?

What is the meaning of Triage in Cybersec world?

Likelihood that a superbug or lethal virus could come from a landfill

Geography at the pixel level

What is the most efficient way to store a numeric range?

Unitary representations of finite groups over finite fields

Match Roman Numerals

Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?

Old scifi movie from the 50s or 60s with men in solid red uniforms who interrogate a spy from the past

Dropping list elements from nested list after evaluation

Why was M87 targeted for the Event Horizon Telescope instead of Sagittarius A*?

Time travel alters history but people keep saying nothing's changed

writing variables above the numbers in tikz picture

How do you keep chess fun when your opponent constantly beats you?

How much of the clove should I use when using big garlic heads?

For what reasons would an animal species NOT cross a *horizontal* land bridge?

Ubuntu Server install with full GUI

Button changing its text & action. Good or terrible?

If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?



Distribution of the difference of two normal random variables.



The 2019 Stack Overflow Developer Survey Results Are InDistribution function of X-Y for normally distributed random variablesFinding the pdf of the squared difference between two independent standard normal random variablesRandom variables $X,Y$ such that $E(X|Y)=E(Y|X)$ a.s.Probability involving dependent normal variablesJoint distribution of the sum and product of two i.i.d. centered normal random variablesMoment generating function of a random number of IIDs?Independent, Identically Distributed Sequence of Poisson Random Variables: Approximating ProbabilityFind the median of a function of a normal random variable.Deriving the distribution of poisson random variables.Showing convergence of a random variable in distribution to a standard normal random variableWhy convert to a T distribution rather than use the standard normal distribution?Distribution of Product of Arbitrary Number of Random VariablesFinding the Probability from the sum of 3 random variables












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)&=Eleft[e^{t(U-V)}right]\
&=Eleft[e^{tU}right]Eleft[e^{tV}right]\
&=M_U(t)M_V(t)\
&=left(M_U(t)right)^2\
&=left(e^{mu t+frac{1}{2}t^2sigma ^2}right)^2\
&=e^{2mu t+t^2sigma ^2}\
end{align*}
The last expression is the moment generating function for a random variable distributed normal with mean $2mu$ and variance $2sigma ^2$. Thus $U-Vsim N(2mu,2sigma ^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-Vsim N(0,2)$.










share|cite|improve this question









$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


















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)&=Eleft[e^{t(U-V)}right]\
&=Eleft[e^{tU}right]Eleft[e^{tV}right]\
&=M_U(t)M_V(t)\
&=left(M_U(t)right)^2\
&=left(e^{mu t+frac{1}{2}t^2sigma ^2}right)^2\
&=e^{2mu t+t^2sigma ^2}\
end{align*}
The last expression is the moment generating function for a random variable distributed normal with mean $2mu$ and variance $2sigma ^2$. Thus $U-Vsim N(2mu,2sigma ^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-Vsim N(0,2)$.










share|cite|improve this question









$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
















15












15








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)&=Eleft[e^{t(U-V)}right]\
&=Eleft[e^{tU}right]Eleft[e^{tV}right]\
&=M_U(t)M_V(t)\
&=left(M_U(t)right)^2\
&=left(e^{mu t+frac{1}{2}t^2sigma ^2}right)^2\
&=e^{2mu t+t^2sigma ^2}\
end{align*}
The last expression is the moment generating function for a random variable distributed normal with mean $2mu$ and variance $2sigma ^2$. Thus $U-Vsim N(2mu,2sigma ^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-Vsim N(0,2)$.










share|cite|improve this question









$endgroup$




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)&=Eleft[e^{t(U-V)}right]\
&=Eleft[e^{tU}right]Eleft[e^{tV}right]\
&=M_U(t)M_V(t)\
&=left(M_U(t)right)^2\
&=left(e^{mu t+frac{1}{2}t^2sigma ^2}right)^2\
&=e^{2mu t+t^2sigma ^2}\
end{align*}
The last expression is the moment generating function for a random variable distributed normal with mean $2mu$ and variance $2sigma ^2$. Thus $U-Vsim N(2mu,2sigma ^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-Vsim N(0,2)$.







probability statistics moment-generating-functions






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Sep 2 '14 at 17:46









nonremovablenonremovable

7781619




7781619








  • 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
















  • 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










2




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$
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$
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$
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




$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




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






$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












2 Answers
2






active

oldest

votes


















8












$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+Vcdot a sim N(mu_U + acdot 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!






share|cite|improve this answer











$endgroup$













  • $begingroup$
    If $U$ and $V$ were not independent, would $sigma_{U+V}^2$ be equal to $sigma_U^2+sigma_V^2+2rhosigma_Usigma_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 + amu V, sigma_U^2 + |a| sigma_V^2 )$; $mu_U + amu 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





















5












$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 + amu_V, sigma_U^2 + a^2sigma_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.






share|cite|improve this answer









$endgroup$














    Your Answer





    StackExchange.ifUsing("editor", function () {
    return StackExchange.using("mathjaxEditing", function () {
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    });
    });
    }, "mathjax-editing");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "69"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f917276%2fdistribution-of-the-difference-of-two-normal-random-variables%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    8












    $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+Vcdot a sim N(mu_U + acdot 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!






    share|cite|improve this answer











    $endgroup$













    • $begingroup$
      If $U$ and $V$ were not independent, would $sigma_{U+V}^2$ be equal to $sigma_U^2+sigma_V^2+2rhosigma_Usigma_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 + amu V, sigma_U^2 + |a| sigma_V^2 )$; $mu_U + amu 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


















    8












    $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+Vcdot a sim N(mu_U + acdot 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!






    share|cite|improve this answer











    $endgroup$













    • $begingroup$
      If $U$ and $V$ were not independent, would $sigma_{U+V}^2$ be equal to $sigma_U^2+sigma_V^2+2rhosigma_Usigma_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 + amu V, sigma_U^2 + |a| sigma_V^2 )$; $mu_U + amu 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
















    8












    8








    8





    $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+Vcdot a sim N(mu_U + acdot 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!






    share|cite|improve this answer











    $endgroup$



    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+Vcdot a sim N(mu_U + acdot 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!







    share|cite|improve this answer














    share|cite|improve this answer



    share|cite|improve this answer








    edited Nov 20 '17 at 7:30

























    answered Dec 8 '16 at 11:37









    QaswedQaswed

    311313




    311313












    • $begingroup$
      If $U$ and $V$ were not independent, would $sigma_{U+V}^2$ be equal to $sigma_U^2+sigma_V^2+2rhosigma_Usigma_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 + amu V, sigma_U^2 + |a| sigma_V^2 )$; $mu_U + amu 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




















    • $begingroup$
      If $U$ and $V$ were not independent, would $sigma_{U+V}^2$ be equal to $sigma_U^2+sigma_V^2+2rhosigma_Usigma_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 + amu V, sigma_U^2 + |a| sigma_V^2 )$; $mu_U + amu 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


















    $begingroup$
    If $U$ and $V$ were not independent, would $sigma_{U+V}^2$ be equal to $sigma_U^2+sigma_V^2+2rhosigma_Usigma_V$ where $rho$ is correlation?
    $endgroup$
    – Milos
    Jun 18 '17 at 21:59






    $begingroup$
    If $U$ and $V$ were not independent, would $sigma_{U+V}^2$ be equal to $sigma_U^2+sigma_V^2+2rhosigma_Usigma_V$ where $rho$ is correlation?
    $endgroup$
    – Milos
    Jun 18 '17 at 21:59






    2




    2




    $begingroup$
    @Qaswed -1: $U+aV$ is not distributed as $mathcal{N}( mu_U + amu V, sigma_U^2 + |a| sigma_V^2 )$; $mu_U + amu V$ makes no sense, and the variance is $sigma_U^2 + a^2 sigma_V^2$
    $endgroup$
    – Sheljohn
    Nov 18 '17 at 20:41






    $begingroup$
    @Qaswed -1: $U+aV$ is not distributed as $mathcal{N}( mu_U + amu V, sigma_U^2 + |a| sigma_V^2 )$; $mu_U + amu 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




    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






    $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













    5












    $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 + amu_V, sigma_U^2 + a^2sigma_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.






    share|cite|improve this answer









    $endgroup$


















      5












      $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 + amu_V, sigma_U^2 + a^2sigma_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.






      share|cite|improve this answer









      $endgroup$
















        5












        5








        5





        $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 + amu_V, sigma_U^2 + a^2sigma_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.






        share|cite|improve this answer









        $endgroup$



        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 + amu_V, sigma_U^2 + a^2sigma_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.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Nov 18 '17 at 20:44









        SheljohnSheljohn

        1,291823




        1,291823






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Mathematics Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f917276%2fdistribution-of-the-difference-of-two-normal-random-variables%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Nidaros erkebispedøme

            Birsay

            Was Woodrow Wilson really a Liberal?Was World War I a war of liberals against authoritarians?Founding Fathers...