- Source: Sum of normally distributed random variables
In probability theory, calculation of the sum of normally distributed random variables is an instance of the arithmetic of random variables.
This is not to be confused with the sum of normal distributions which forms a mixture distribution.
Independent random variables
Let X and Y be independent random variables that are normally distributed (and therefore also jointly so), then their sum is also normally distributed. i.e., if
X
∼
N
(
μ
X
,
σ
X
2
)
{\displaystyle X\sim N(\mu _{X},\sigma _{X}^{2})}
Y
∼
N
(
μ
Y
,
σ
Y
2
)
{\displaystyle Y\sim N(\mu _{Y},\sigma _{Y}^{2})}
Z
=
X
+
Y
,
{\displaystyle Z=X+Y,}
then
Z
∼
N
(
μ
X
+
μ
Y
,
σ
X
2
+
σ
Y
2
)
.
{\displaystyle Z\sim N(\mu _{X}+\mu _{Y},\sigma _{X}^{2}+\sigma _{Y}^{2}).}
This means that the sum of two independent normally distributed random variables is normal, with its mean being the sum of the two means, and its variance being the sum of the two variances (i.e., the square of the standard deviation is the sum of the squares of the standard deviations).
In order for this result to hold, the assumption that X and Y are independent cannot be dropped, although it can be weakened to the assumption that X and Y are jointly, rather than separately, normally distributed. (See here for an example.)
The result about the mean holds in all cases, while the result for the variance requires uncorrelatedness, but not independence.
= Proofs
=Proof using characteristic functions
The characteristic function
φ
X
+
Y
(
t
)
=
E
(
e
i
t
(
X
+
Y
)
)
{\displaystyle \varphi _{X+Y}(t)=\operatorname {E} \left(e^{it(X+Y)}\right)}
of the sum of two independent random variables X and Y is just the product of the two separate characteristic functions:
φ
X
(
t
)
=
E
(
e
i
t
X
)
,
φ
Y
(
t
)
=
E
(
e
i
t
Y
)
{\displaystyle \varphi _{X}(t)=\operatorname {E} \left(e^{itX}\right),\qquad \varphi _{Y}(t)=\operatorname {E} \left(e^{itY}\right)}
of X and Y.
The characteristic function of the normal distribution with expected value μ and variance σ2 is
φ
(
t
)
=
exp
(
i
t
μ
−
σ
2
t
2
2
)
.
{\displaystyle \varphi (t)=\exp \left(it\mu -{\sigma ^{2}t^{2} \over 2}\right).}
So
φ
X
+
Y
(
t
)
=
φ
X
(
t
)
φ
Y
(
t
)
=
exp
(
i
t
μ
X
−
σ
X
2
t
2
2
)
exp
(
i
t
μ
Y
−
σ
Y
2
t
2
2
)
=
exp
(
i
t
(
μ
X
+
μ
Y
)
−
(
σ
X
2
+
σ
Y
2
)
t
2
2
)
.
{\displaystyle {\begin{aligned}\varphi _{X+Y}(t)=\varphi _{X}(t)\varphi _{Y}(t)&=\exp \left(it\mu _{X}-{\sigma _{X}^{2}t^{2} \over 2}\right)\exp \left(it\mu _{Y}-{\sigma _{Y}^{2}t^{2} \over 2}\right)\\[6pt]&=\exp \left(it(\mu _{X}+\mu _{Y})-{(\sigma _{X}^{2}+\sigma _{Y}^{2})t^{2} \over 2}\right).\end{aligned}}}
This is the characteristic function of the normal distribution with expected value
μ
X
+
μ
Y
{\displaystyle \mu _{X}+\mu _{Y}}
and variance
σ
X
2
+
σ
Y
2
{\displaystyle \sigma _{X}^{2}+\sigma _{Y}^{2}}
Finally, recall that no two distinct distributions can both have the same characteristic function, so the distribution of X + Y must be just this normal distribution.
Proof using convolutions
For independent random variables X and Y, the distribution fZ of Z = X + Y equals the convolution of fX and fY:
f
Z
(
z
)
=
∫
−
∞
∞
f
Y
(
z
−
x
)
f
X
(
x
)
d
x
{\displaystyle f_{Z}(z)=\int _{-\infty }^{\infty }f_{Y}(z-x)f_{X}(x)\,dx}
Given that fX and fY are normal densities,
f
X
(
x
)
=
N
(
x
;
μ
X
,
σ
X
2
)
=
1
2
π
σ
X
e
−
(
x
−
μ
X
)
2
/
(
2
σ
X
2
)
f
Y
(
y
)
=
N
(
y
;
μ
Y
,
σ
Y
2
)
=
1
2
π
σ
Y
e
−
(
y
−
μ
Y
)
2
/
(
2
σ
Y
2
)
{\displaystyle {\begin{aligned}f_{X}(x)={\mathcal {N}}(x;\mu _{X},\sigma _{X}^{2})={\frac {1}{{\sqrt {2\pi }}\sigma _{X}}}e^{-(x-\mu _{X})^{2}/(2\sigma _{X}^{2})}\\[5pt]f_{Y}(y)={\mathcal {N}}(y;\mu _{Y},\sigma _{Y}^{2})={\frac {1}{{\sqrt {2\pi }}\sigma _{Y}}}e^{-(y-\mu _{Y})^{2}/(2\sigma _{Y}^{2})}\end{aligned}}}
Substituting into the convolution:
f
Z
(
z
)
=
∫
−
∞
∞
1
2
π
σ
Y
exp
[
−
(
z
−
x
−
μ
Y
)
2
2
σ
Y
2
]
1
2
π
σ
X
exp
[
−
(
x
−
μ
X
)
2
2
σ
X
2
]
d
x
=
∫
−
∞
∞
1
2
π
2
π
σ
X
σ
Y
exp
[
−
σ
X
2
(
z
−
x
−
μ
Y
)
2
+
σ
Y
2
(
x
−
μ
X
)
2
2
σ
X
2
σ
Y
2
]
d
x
=
∫
−
∞
∞
1
2
π
2
π
σ
X
σ
Y
exp
[
−
σ
X
2
(
z
2
+
x
2
+
μ
Y
2
−
2
x
z
−
2
z
μ
Y
+
2
x
μ
Y
)
+
σ
Y
2
(
x
2
+
μ
X
2
−
2
x
μ
X
)
2
σ
Y
2
σ
X
2
]
d
x
=
∫
−
∞
∞
1
2
π
2
π
σ
X
σ
Y
exp
[
−
x
2
(
σ
X
2
+
σ
Y
2
)
−
2
x
(
σ
X
2
(
z
−
μ
Y
)
+
σ
Y
2
μ
X
)
+
σ
X
2
(
z
2
+
μ
Y
2
−
2
z
μ
Y
)
+
σ
Y
2
μ
X
2
2
σ
Y
2
σ
X
2
]
d
x
{\displaystyle {\begin{aligned}f_{Z}(z)&=\int _{-\infty }^{\infty }{\frac {1}{{\sqrt {2\pi }}\sigma _{Y}}}\exp \left[-{(z-x-\mu _{Y})^{2} \over 2\sigma _{Y}^{2}}\right]{\frac {1}{{\sqrt {2\pi }}\sigma _{X}}}\exp \left[-{(x-\mu _{X})^{2} \over 2\sigma _{X}^{2}}\right]\,dx\\[6pt]&=\int _{-\infty }^{\infty }{\frac {1}{{\sqrt {2\pi }}{\sqrt {2\pi }}\sigma _{X}\sigma _{Y}}}\exp \left[-{\frac {\sigma _{X}^{2}(z-x-\mu _{Y})^{2}+\sigma _{Y}^{2}(x-\mu _{X})^{2}}{2\sigma _{X}^{2}\sigma _{Y}^{2}}}\right]\,dx\\[6pt]&=\int _{-\infty }^{\infty }{\frac {1}{{\sqrt {2\pi }}{\sqrt {2\pi }}\sigma _{X}\sigma _{Y}}}\exp \left[-{\frac {\sigma _{X}^{2}(z^{2}+x^{2}+\mu _{Y}^{2}-2xz-2z\mu _{Y}+2x\mu _{Y})+\sigma _{Y}^{2}(x^{2}+\mu _{X}^{2}-2x\mu _{X})}{2\sigma _{Y}^{2}\sigma _{X}^{2}}}\right]\,dx\\[6pt]&=\int _{-\infty }^{\infty }{\frac {1}{{\sqrt {2\pi }}{\sqrt {2\pi }}\sigma _{X}\sigma _{Y}}}\exp \left[-{\frac {x^{2}(\sigma _{X}^{2}+\sigma _{Y}^{2})-2x(\sigma _{X}^{2}(z-\mu _{Y})+\sigma _{Y}^{2}\mu _{X})+\sigma _{X}^{2}(z^{2}+\mu _{Y}^{2}-2z\mu _{Y})+\sigma _{Y}^{2}\mu _{X}^{2}}{2\sigma _{Y}^{2}\sigma _{X}^{2}}}\right]\,dx\\[6pt]\end{aligned}}}
Defining
σ
Z
=
σ
X
2
+
σ
Y
2
{\displaystyle \sigma _{Z}={\sqrt {\sigma _{X}^{2}+\sigma _{Y}^{2}}}}
, and completing the square:
f
Z
(
z
)
=
∫
−
∞
∞
1
2
π
σ
Z
1
2
π
σ
X
σ
Y
σ
Z
exp
[
−
x
2
−
2
x
σ
X
2
(
z
−
μ
Y
)
+
σ
Y
2
μ
X
σ
Z
2
+
σ
X
2
(
z
2
+
μ
Y
2
−
2
z
μ
Y
)
+
σ
Y
2
μ
X
2
σ
Z
2
2
(
σ
X
σ
Y
σ
Z
)
2
]
d
x
=
∫
−
∞
∞
1
2
π
σ
Z
1
2
π
σ
X
σ
Y
σ
Z
exp
[
−
(
x
−
σ
X
2
(
z
−
μ
Y
)
+
σ
Y
2
μ
X
σ
Z
2
)
2
−
(
σ
X
2
(
z
−
μ
Y
)
+
σ
Y
2
μ
X
σ
Z
2
)
2
+
σ
X
2
(
z
−
μ
Y
)
2
+
σ
Y
2
μ
X
2
σ
Z
2
2
(
σ
X
σ
Y
σ
Z
)
2
]
d
x
=
∫
−
∞
∞
1
2
π
σ
Z
exp
[
−
σ
Z
2
(
σ
X
2
(
z
−
μ
Y
)
2
+
σ
Y
2
μ
X
2
)
−
(
σ
X
2
(
z
−
μ
Y
)
+
σ
Y
2
μ
X
)
2
2
σ
Z
2
(
σ
X
σ
Y
)
2
]
1
2
π
σ
X
σ
Y
σ
Z
exp
[
−
(
x
−
σ
X
2
(
z
−
μ
Y
)
+
σ
Y
2
μ
X
σ
Z
2
)
2
2
(
σ
X
σ
Y
σ
Z
)
2
]
d
x
=
1
2
π
σ
Z
exp
[
−
(
z
−
(
μ
X
+
μ
Y
)
)
2
2
σ
Z
2
]
∫
−
∞
∞
1
2
π
σ
X
σ
Y
σ
Z
exp
[
−
(
x
−
σ
X
2
(
z
−
μ
Y
)
+
σ
Y
2
μ
X
σ
Z
2
)
2
2
(
σ
X
σ
Y
σ
Z
)
2
]
d
x
{\displaystyle {\begin{aligned}f_{Z}(z)&=\int _{-\infty }^{\infty }{\frac {1}{{\sqrt {2\pi }}\sigma _{Z}}}{\frac {1}{{\sqrt {2\pi }}{\frac {\sigma _{X}\sigma _{Y}}{\sigma _{Z}}}}}\exp \left[-{\frac {x^{2}-2x{\frac {\sigma _{X}^{2}(z-\mu _{Y})+\sigma _{Y}^{2}\mu _{X}}{\sigma _{Z}^{2}}}+{\frac {\sigma _{X}^{2}(z^{2}+\mu _{Y}^{2}-2z\mu _{Y})+\sigma _{Y}^{2}\mu _{X}^{2}}{\sigma _{Z}^{2}}}}{2\left({\frac {\sigma _{X}\sigma _{Y}}{\sigma _{Z}}}\right)^{2}}}\right]\,dx\\[6pt]&=\int _{-\infty }^{\infty }{\frac {1}{{\sqrt {2\pi }}\sigma _{Z}}}{\frac {1}{{\sqrt {2\pi }}{\frac {\sigma _{X}\sigma _{Y}}{\sigma _{Z}}}}}\exp \left[-{\frac {\left(x-{\frac {\sigma _{X}^{2}(z-\mu _{Y})+\sigma _{Y}^{2}\mu _{X}}{\sigma _{Z}^{2}}}\right)^{2}-\left({\frac {\sigma _{X}^{2}(z-\mu _{Y})+\sigma _{Y}^{2}\mu _{X}}{\sigma _{Z}^{2}}}\right)^{2}+{\frac {\sigma _{X}^{2}(z-\mu _{Y})^{2}+\sigma _{Y}^{2}\mu _{X}^{2}}{\sigma _{Z}^{2}}}}{2\left({\frac {\sigma _{X}\sigma _{Y}}{\sigma _{Z}}}\right)^{2}}}\right]\,dx\\[6pt]&=\int _{-\infty }^{\infty }{\frac {1}{{\sqrt {2\pi }}\sigma _{Z}}}\exp \left[-{\frac {\sigma _{Z}^{2}\left(\sigma _{X}^{2}(z-\mu _{Y})^{2}+\sigma _{Y}^{2}\mu _{X}^{2}\right)-\left(\sigma _{X}^{2}(z-\mu _{Y})+\sigma _{Y}^{2}\mu _{X}\right)^{2}}{2\sigma _{Z}^{2}\left(\sigma _{X}\sigma _{Y}\right)^{2}}}\right]{\frac {1}{{\sqrt {2\pi }}{\frac {\sigma _{X}\sigma _{Y}}{\sigma _{Z}}}}}\exp \left[-{\frac {\left(x-{\frac {\sigma _{X}^{2}(z-\mu _{Y})+\sigma _{Y}^{2}\mu _{X}}{\sigma _{Z}^{2}}}\right)^{2}}{2\left({\frac {\sigma _{X}\sigma _{Y}}{\sigma _{Z}}}\right)^{2}}}\right]\,dx\\[6pt]&={\frac {1}{{\sqrt {2\pi }}\sigma _{Z}}}\exp \left[-{(z-(\mu _{X}+\mu _{Y}))^{2} \over 2\sigma _{Z}^{2}}\right]\int _{-\infty }^{\infty }{\frac {1}{{\sqrt {2\pi }}{\frac {\sigma _{X}\sigma _{Y}}{\sigma _{Z}}}}}\exp \left[-{\frac {\left(x-{\frac {\sigma _{X}^{2}(z-\mu _{Y})+\sigma _{Y}^{2}\mu _{X}}{\sigma _{Z}^{2}}}\right)^{2}}{2\left({\frac {\sigma _{X}\sigma _{Y}}{\sigma _{Z}}}\right)^{2}}}\right]\,dx\end{aligned}}}
The expression in the integral is a normal density distribution on x, and so the integral evaluates to 1. The desired result follows:
f
Z
(
z
)
=
1
2
π
σ
Z
exp
[
−
(
z
−
(
μ
X
+
μ
Y
)
)
2
2
σ
Z
2
]
{\displaystyle f_{Z}(z)={\frac {1}{{\sqrt {2\pi }}\sigma _{Z}}}\exp \left[-{(z-(\mu _{X}+\mu _{Y}))^{2} \over 2\sigma _{Z}^{2}}\right]}
= Using the convolution theorem =
It can be shown that the Fourier transform of a Gaussian,
f
X
(
x
)
=
N
(
x
;
μ
X
,
σ
X
2
)
{\displaystyle f_{X}(x)={\mathcal {N}}(x;\mu _{X},\sigma _{X}^{2})}
, is
F
{
f
X
}
=
F
X
(
ω
)
=
exp
[
−
j
ω
μ
X
]
exp
[
−
σ
X
2
ω
2
2
]
{\displaystyle {\mathcal {F}}\{f_{X}\}=F_{X}(\omega )=\exp \left[-j\omega \mu _{X}\right]\exp \left[-{\tfrac {\sigma _{X}^{2}\omega ^{2}}{2}}\right]}
By the convolution theorem:
f
Z
(
z
)
=
(
f
X
∗
f
Y
)
(
z
)
=
F
−
1
{
F
{
f
X
}
⋅
F
{
f
Y
}
}
=
F
−
1
{
exp
[
−
j
ω
μ
X
]
exp
[
−
σ
X
2
ω
2
2
]
exp
[
−
j
ω
μ
Y
]
exp
[
−
σ
Y
2
ω
2
2
]
}
=
F
−
1
{
exp
[
−
j
ω
(
μ
X
+
μ
Y
)
]
exp
[
−
(
σ
X
2
+
σ
Y
2
)
ω
2
2
]
}
=
N
(
z
;
μ
X
+
μ
Y
,
σ
X
2
+
σ
Y
2
)
{\displaystyle {\begin{aligned}f_{Z}(z)&=(f_{X}*f_{Y})(z)\\[5pt]&={\mathcal {F}}^{-1}{\big \{}{\mathcal {F}}\{f_{X}\}\cdot {\mathcal {F}}\{f_{Y}\}{\big \}}\\[5pt]&={\mathcal {F}}^{-1}{\big \{}\exp \left[-j\omega \mu _{X}\right]\exp \left[-{\tfrac {\sigma _{X}^{2}\omega ^{2}}{2}}\right]\exp \left[-j\omega \mu _{Y}\right]\exp \left[-{\tfrac {\sigma _{Y}^{2}\omega ^{2}}{2}}\right]{\big \}}\\[5pt]&={\mathcal {F}}^{-1}{\big \{}\exp \left[-j\omega (\mu _{X}+\mu _{Y})\right]\exp \left[-{\tfrac {(\sigma _{X}^{2}\ +\sigma _{Y}^{2})\omega ^{2}}{2}}\right]{\big \}}\\[5pt]&={\mathcal {N}}(z;\mu _{X}+\mu _{Y},\sigma _{X}^{2}+\sigma _{Y}^{2})\end{aligned}}}
Geometric proof
First consider the normalized case when X, Y ~ N(0, 1), so that their PDFs are
f
(
x
)
=
1
2
π
e
−
x
2
/
2
{\displaystyle f(x)={\frac {1}{\sqrt {2\pi \,}}}e^{-x^{2}/2}}
and
g
(
y
)
=
1
2
π
e
−
y
2
/
2
.
{\displaystyle g(y)={\frac {1}{\sqrt {2\pi \,}}}e^{-y^{2}/2}.}
Let Z = X + Y. Then the CDF for Z will be
z
↦
∫
x
+
y
≤
z
f
(
x
)
g
(
y
)
d
x
d
y
.
{\displaystyle z\mapsto \int _{x+y\leq z}f(x)g(y)\,dx\,dy.}
This integral is over the half-plane which lies under the line x+y = z.
The key observation is that the function
f
(
x
)
g
(
y
)
=
1
2
π
e
−
(
x
2
+
y
2
)
/
2
{\displaystyle f(x)g(y)={\frac {1}{2\pi }}e^{-(x^{2}+y^{2})/2}\,}
is radially symmetric. So we rotate the coordinate plane about the origin, choosing new coordinates
x
′
,
y
′
{\displaystyle x',y'}
such that the line x+y = z is described by the equation
x
′
=
c
{\displaystyle x'=c}
where
c
=
c
(
z
)
{\displaystyle c=c(z)}
is determined geometrically. Because of the radial symmetry, we have
f
(
x
)
g
(
y
)
=
f
(
x
′
)
g
(
y
′
)
{\displaystyle f(x)g(y)=f(x')g(y')}
, and the CDF for Z is
∫
x
′
≤
c
,
y
′
∈
R
f
(
x
′
)
g
(
y
′
)
d
x
′
d
y
′
.
{\displaystyle \int _{x'\leq c,y'\in \mathbb {R} }f(x')g(y')\,dx'\,dy'.}
This is easy to integrate; we find that the CDF for Z is
∫
−
∞
c
(
z
)
f
(
x
′
)
d
x
′
=
Φ
(
c
(
z
)
)
.
{\displaystyle \int _{-\infty }^{c(z)}f(x')\,dx'=\Phi (c(z)).}
To determine the value
c
(
z
)
{\displaystyle c(z)}
, note that we rotated the plane so that the line x+y = z now runs vertically with x-intercept equal to c. So c is just the distance from the origin to the line x+y = z along the perpendicular bisector, which meets the line at its nearest point to the origin, in this case
(
z
/
2
,
z
/
2
)
{\displaystyle (z/2,z/2)\,}
. So the distance is
c
=
(
z
/
2
)
2
+
(
z
/
2
)
2
=
z
/
2
{\displaystyle c={\sqrt {(z/2)^{2}+(z/2)^{2}}}=z/{\sqrt {2}}\,}
, and the CDF for Z is
Φ
(
z
/
2
)
{\displaystyle \Phi (z/{\sqrt {2}})}
, i.e.,
Z
=
X
+
Y
∼
N
(
0
,
2
)
.
{\displaystyle Z=X+Y\sim N(0,2).}
Now, if a, b are any real constants (not both zero) then the probability that
a
X
+
b
Y
≤
z
{\displaystyle aX+bY\leq z}
is found by the same integral as above, but with the bounding line
a
x
+
b
y
=
z
{\displaystyle ax+by=z}
. The same rotation method works, and in this more general case we find that the closest point on the line to the origin is located a (signed) distance
z
a
2
+
b
2
{\displaystyle {\frac {z}{\sqrt {a^{2}+b^{2}}}}}
away, so that
a
X
+
b
Y
∼
N
(
0
,
a
2
+
b
2
)
.
{\displaystyle aX+bY\sim N(0,a^{2}+b^{2}).}
The same argument in higher dimensions shows that if
X
i
∼
N
(
0
,
σ
i
2
)
,
i
=
1
,
…
,
n
,
{\displaystyle X_{i}\sim N(0,\sigma _{i}^{2}),\qquad i=1,\dots ,n,}
then
X
1
+
⋯
+
X
n
∼
N
(
0
,
σ
1
2
+
⋯
+
σ
n
2
)
.
{\displaystyle X_{1}+\cdots +X_{n}\sim N(0,\sigma _{1}^{2}+\cdots +\sigma _{n}^{2}).}
Now we are essentially done, because
X
∼
N
(
μ
,
σ
2
)
⇔
1
σ
(
X
−
μ
)
∼
N
(
0
,
1
)
.
{\displaystyle X\sim N(\mu ,\sigma ^{2})\Leftrightarrow {\frac {1}{\sigma }}(X-\mu )\sim N(0,1).}
So in general, if
X
i
∼
N
(
μ
i
,
σ
i
2
)
,
i
=
1
,
…
,
n
,
{\displaystyle X_{i}\sim N(\mu _{i},\sigma _{i}^{2}),\qquad i=1,\dots ,n,}
then
∑
i
=
1
n
a
i
X
i
∼
N
(
∑
i
=
1
n
a
i
μ
i
,
∑
i
=
1
n
(
a
i
σ
i
)
2
)
.
{\displaystyle \sum _{i=1}^{n}a_{i}X_{i}\sim N\left(\sum _{i=1}^{n}a_{i}\mu _{i},\sum _{i=1}^{n}(a_{i}\sigma _{i})^{2}\right).}
Correlated random variables
In the event that the variables X and Y are jointly normally distributed random variables, then X + Y is still normally distributed (see Multivariate normal distribution) and the mean is the sum of the means. However, the variances are not additive due to the correlation. Indeed,
σ
X
+
Y
=
σ
X
2
+
σ
Y
2
+
2
ρ
σ
X
σ
Y
,
{\displaystyle \sigma _{X+Y}={\sqrt {\sigma _{X}^{2}+\sigma _{Y}^{2}+2\rho \sigma _{X}\sigma _{Y}}},}
where ρ is the correlation. In particular, whenever ρ < 0, then the variance is less than the sum of the variances of X and Y.
Extensions of this result can be made for more than two random variables, using the covariance matrix.
= Proof
=In this case (with X and Y having zero means), one needs to consider
1
2
π
σ
x
σ
y
1
−
ρ
2
∬
x
y
exp
[
−
1
2
(
1
−
ρ
2
)
(
x
2
σ
x
2
+
y
2
σ
y
2
−
2
ρ
x
y
σ
x
σ
y
)
]
δ
(
z
−
(
x
+
y
)
)
d
x
d
y
.
{\displaystyle {\frac {1}{2\pi \sigma _{x}\sigma _{y}{\sqrt {1-\rho ^{2}}}}}\iint _{x\,y}\exp \left[-{\frac {1}{2(1-\rho ^{2})}}\left({\frac {x^{2}}{\sigma _{x}^{2}}}+{\frac {y^{2}}{\sigma _{y}^{2}}}-{\frac {2\rho xy}{\sigma _{x}\sigma _{y}}}\right)\right]\delta (z-(x+y))\,\mathrm {d} x\,\mathrm {d} y.}
As above, one makes the substitution
y
→
z
−
x
{\displaystyle y\rightarrow z-x}
This integral is more complicated to simplify analytically, but can be done easily using a symbolic mathematics program. The probability distribution fZ(z) is given in this case by
f
Z
(
z
)
=
1
2
π
σ
+
exp
(
−
z
2
2
σ
+
2
)
{\displaystyle f_{Z}(z)={\frac {1}{{\sqrt {2\pi }}\sigma _{+}}}\exp \left(-{\frac {z^{2}}{2\sigma _{+}^{2}}}\right)}
where
σ
+
=
σ
x
2
+
σ
y
2
+
2
ρ
σ
x
σ
y
.
{\displaystyle \sigma _{+}={\sqrt {\sigma _{x}^{2}+\sigma _{y}^{2}+2\rho \sigma _{x}\sigma _{y}}}.}
If one considers instead Z = X − Y, then one obtains
f
Z
(
z
)
=
1
2
π
(
σ
x
2
+
σ
y
2
−
2
ρ
σ
x
σ
y
)
exp
(
−
z
2
2
(
σ
x
2
+
σ
y
2
−
2
ρ
σ
x
σ
y
)
)
{\displaystyle f_{Z}(z)={\frac {1}{\sqrt {2\pi (\sigma _{x}^{2}+\sigma _{y}^{2}-2\rho \sigma _{x}\sigma _{y})}}}\exp \left(-{\frac {z^{2}}{2(\sigma _{x}^{2}+\sigma _{y}^{2}-2\rho \sigma _{x}\sigma _{y})}}\right)}
which also can be rewritten with
σ
X
−
Y
=
σ
x
2
+
σ
y
2
−
2
ρ
σ
x
σ
y
.
{\displaystyle \sigma _{X-Y}={\sqrt {\sigma _{x}^{2}+\sigma _{y}^{2}-2\rho \sigma _{x}\sigma _{y}}}.}
The standard deviations of each distribution are obvious by comparison with the standard normal distribution.
References
See also
Propagation of uncertainty
Algebra of random variables
Stable distribution
Standard error (statistics)
Ratio distribution
Product distribution
Slash distribution
List of convolutions of probability distributions
Kata Kunci Pencarian:
- Sum of normally distributed random variables
- Algebra of random variables
- Normal distribution
- Multivariate normal distribution
- Log-normal distribution
- Outline of probability
- Binomial distribution
- Random variable
- Probability distribution
- Relationships among probability distributions