Professional Documents
Culture Documents
technique
Let X be a random variable with cumulative distribution function F (x) and let Y
be a function of X such that Y = u(X). If Ay = {x|u(x) ≤ y} then Y ≤ y and
XǫAy are equivalent events and
FY (y) = P (Y ≤ y)
= P (u(X) ≤ y)
= P (xǫAy )
where the last probability is evaluated as the sum or integral of f (x) over the region
Ay .
Example 1
FY (y) = P (Y ≤ y)
= P (eX ≤ y)
= P (X ≤ ln y)
= FX (ln y)
= 1 − e−2 ln y
= 1 − y −2 1 < y < ∞.
d
FY (y) = 2y −3 1 < y < ∞.
dy
1
TRANSFORMATIONS OF RANDOM VARIABLES C.D.F. technique
Example 2
If the random variable X has cumulative distribution function F (x), the random
variable Y = F (X) has a uniform distribution on the interval [0,1].
Proof
FY (y) = P F (X) ≤ y
= P X ≤ F −1 (y)
= F F −1 (y)
=y
Example 3
d
fY (y) = FY (y)
dy
√ √ 1
= fX ( y) + fX (− y) √ .
2 y
2
TRANSFORMATIONS OF RANDOM VARIABLES C.D.F. technique
Example 4
Ay = {(x1 , x2 )|0 ≤ x1 + x2 ≤ y}
= {(x1 , x2 )|0 ≤ x1 ≤ y − x2 , 0 ≤ x2 ≤ y}
3
TRANSFORMATIONS OF RVs Transformation technique
Let the discrete random variable X have probability density function f (x) and
let the random variable Y be a function of the random variable X such that
Y = u(X). If u(x) is a 1–1 function so that y = u(x) has a unique solution
x = w(y) the probability density function of Y is fY (y) = fX (w(y)) for yǫB where
B = {y|fY (y) > 0}.
Proof
fY (y) = P (Y = y)
= P (u(X) = y)
= P (X = w(y))
= fX (w(y))
Example
Let the random variable X have a geometric distribution with probability density
function f (x) = pq x−1 x = 1, 2, 3, . . .
fY (y) = fX (y + 1)
= pq y y = 0, 1, 2, . . .
4
TRANSFORMATIONS OF RVs Transformation technique
Let the continuous random variable X have probability density function fX (x)
and let the random variable Y be a function of the random variable X such that
Y = u(X) where y = u(x) is a 1–1 transformation with inverse x = w(y). The set
d
A = {x|fX (x) > 0} maps to the set B = {y|fY (y) > 0} and if dy w(y) is continuous
and non–zero on B, the probability density function of Y is
d
fY (y) = fX (w(y)) w(y).
dy
Proof
FY (y) = P (u(X) ≤ y)
= P (X ≤ w(y)
= FX (w(y))
and
d
fy (y) = FX (w(y))
dy
d d
= FX (w(y)). w(y)
dw(y) dy
d d
= fX (w(y)) w(y) since w(y) > 0.
dy dy
FY (y) = P (u(X) ≤ y)
= P (X ≥ w(y)
= 1 − FX (w(y))
and
d
fy (y) = −fX (w(y)) w(y)
dy
d d
= fX (w(y)) w(y) since w(y) < 0.
dy dy
5
TRANSFORMATIONS OF RVs Transformation technique
In general, the probability density function of Y = u(X) where the inverse transform
x = w(y) exists is given by
fY (y) = fX (w(y))|J|
d
where the Jacobian J is dy w(y).
Example 1
Example 2
y = u(x) = −2 ln x
y
x = w(y) = e− 2
d −y 1 y
J= e 2 = − e− 2
dy 2
y
fY y) = fX e− 2 |J|
1 y
= e− 2 0 < y < ∞.
2
6
TRANSFORMATIONS OF RVs Transformation technique
is continuous and non–zero over the range of the transformations, the joint pdf of
(Y1 , Y2 , . . . , Yk ) is
fY (y1 , y2 , . . . , yk ) = fX (x1 , x2 , . . . , xk )|J|.
Example 1
Let
Y1 = X 1
Y2 = X 1 + X 2
so that
x 1 = y1
x 2 = y2 − y1
∂x1 ∂x1
∂y1 ∂y2
J = ∂x 2 ∂x2
∂y1 ∂y2
1 0
=
−1 1
=1
7
TRANSFORMATIONS OF RVs Transformation technique
Example 2
Now let
Y1 = X 1 − X 2
Y2 = X 1 + X 2
so that
1
x1 = (y1 + y2 )
2
1
x2 = (y2 − y1 )
2
8
TRANSFORMATIONS OF RVs Transformation technique
∂x1 ∂x1
∂y1 ∂y2
J = ∂x 2
∂x2
∂y 1 ∂y2
1 1
2
= 1 1
2
−2 2
1
=
2
and the joint probability density function of Y1 and Y2 is
1
1 1
− 2 (y1 +y2 )+ 2 (y2 −y1 )
f (y1 , y2 ) = e | |
2
1 −y2
= e (y1 , y2 )ǫB
2
9
TRANSFORMATIONS OF RVs Transformation technique
Example 3
Let
Y1 = X 1 + X 2
X1
Y2 =
X1 + X2
so that
x 1 = y1 y2
x2 = y1 (1 − y2 )
y2 y1
J =
1 − y2 −y1
= −y1
10
TRANSFORMATIONS OF RVs MGF technique
yi = ui (x1 , x2 , . . . , xk ) i = 1, 2, . . . , k
xi = wi (y1 , y2 , . . . , yk ) i = 1, 2, . . . , k
where
|J|f w1 (y1 , y2 , . . . , yk ), w2 (y1 , y2 , . . . , yk ), . . . wk (y1 , y2 , . . . , yk )
11
TRANSFORMATIONS OF RVs MGF technique
Example 1
= E etX1 e−tX2
= E etX1 E e−tX2
As
σ 2 t2
E(etX1 ) = exp µ1 t + 1
2
σ 2 t2
E(etX2 ) = exp µ2 t + 2
2
σ 2 t2
E(e−tX2 ) = exp − µ2 t + 2
2
and
(σ12 + σ22 )t2
M (t) = exp (µ1 − µ2 )t +
2
and the distribution of Y is completely determined by its moment generating
function, the distribution of Y is
σ 2 + σ22
N µ1 − µ2 , 1 .
2
12
TRANSFORMATIONS OF RVs MGF technique
Example 2
13