Chapter 5 Functions of Random Variables
Chapter 5 Functions of Random Variables
Chapter 5 Functions of Random Variables
FY ( y ) P (Y y ) P ({ X : g ( X ) y})
P({ X : X g 1 (( , y ])})
Then f X ( x) dx
{ x: g ( x ) y}
dFY ( y )
fY ( y ) .
dy
1-1 Mapping
If Y = g(X) is 1-1 mapping, then
dx
fY (y) = fX (x) , where x g 1 ( y ).
dy
If Y = f (X) is 1-1 mapping and X is discrete, then
1
f (y) = f ( g ( y )).
Y X
Consider Y = X 2:
P (Y y ) P ( X 2 y )
P( y X y)
FX ( y ) FX ( y ).
By differentiation,
1
fY ( y ) [ f X ( y ) f X ( y )].
2 y
Non-1-1 Mapping
If Y = g(X)
dx1 dx2
pY ( y ) p X ( x1 ) p X ( x2 ) , where xi g 1 ( y ).
dy dy
Simulating A Random Variable
Simulating A Random Variable
Example
Example
Theorem
Example
Sol:
5-3 Moment Generating Functions
(Solution)
Moment Generating Functions
k
k 1 d X (t )
E[ X ] k .
i d tk t 0
Convergence in probability
lim P ( X n X > ) = 0, 0
n
Convergence in distribution
lim FX n ( x) FX ( x)
n
If X n
n Z
, then Xn converges to Z with
n 1