3.lect3a (RANDOM VARIABLES)
3.lect3a (RANDOM VARIABLES)
Random Variables
4
Distribution Function: Note that a distribution function
g(x) is nondecreasing, right-continuous and satisfies
g () 1, g () 0, (3-5)
6
Additional Properties of a PDF
(iv) If FX ( x0 ) 0 for some x0 , then FX ( x) 0, x x0 . (3-15)
or
P X ( ) x FX ( x) FX ( x ). (3-20)
x
c
Fig. 3.2
1
q
x
1
Fig.3.3
•X is said to be a continuous-type r.v if its distribution
function FX (x) is continuous. In that case FX ( x ) FX ( x) for
all x, and from (3-21) we get PX x 0.
•If FX (x) is constant except for a finite number of jump
discontinuities(piece-wise constant; step-type), then X is
said to be a discrete-type r.v. If xi is such a discontinuity
point, then from (3-21)
pi PX xi FX ( xi ) FX ( xi ). (3-22) 10
From Fig.3.2, at a point of discontinuity we get
P X c FX (c) FX (c ) 1 0 1.
0 x 1, X ( ) x TT FX ( x) P TT P (T ) P (T )
1
,
4
1 x 2, X ( ) x TT , HT , TH FX ( x) P TT , HT , TH
3
,
4
x 2, X ( ) x FX ( x) 1. (Fig. 3.4) 11
From Fig.3.4, PX 1 FX (1) FX (1 ) 3 / 4 1 / 4 1 / 2.
FX (x)
1
3/ 4
1/ 4
x
1 2
Fig. 3.4
i p
f X ( x) pi ( x xi ), (3-25) xi x
i Fig. 3.5
where xi represent the jump-discontinuity points in FX (x).
As Fig. 3.5 shows f X (x) represents a collection of positive
discrete masses, and it is known as the probability mass
function (p.m.f ) in the discrete case. From (3-23), we
also obtain by integration
x
FX ( x) f x (u )du. (3-26)
x1 x2 x x1 x2 x
(a) (b)
Fig. 3.6
x
15
Fig. 3.7
2. Uniform: X U (a, b), a b, if (Fig. 3.8)
1
, a x b, (3.31)
f X ( x) b a
0, otherwise.
f X (x ) f X (x )
1
ba
x x
a b
Fig. 3.8 Fig. 3.9
16
4. Gamma: X G( , ) if ( 0, 0) (Fig. 3.10)
f X (x )
1
x x /
e , x 0,
f X ( x ) ( ) (3-33)
0, otherwise. x
Fig. 3.10
If n an integer (n) (n 1)!. f X (x )
17
6. Chi-Square: (n), if (Fig. 3.12)
X 2
f X (x )
1
n/2 x n / 21e x / 2 , x 0,
f X ( x ) 2 ( n / 2 )
0, otherwise. (3-36) x
Fig. 3.12
x x 2 / 2 2
e , x 0,
f X ( x ) 2
(3-37) x
0, otherwise. Fig. 3.13
8. Nakagami – m distribution:
2 m m 2 m 1 mx 2 /
x e , x0
f X ( x ) ( m )
(3-38)
0 otherwise 18
f X (x )
( n 1) / 2
( n 1) / 2
t
2
f T (t ) 1 , t . (3-41)
n (n / 2) n
f X ( x) fT ( t )
x t
Fig. 3.15 Fig. 3.16 19
12. Fisher’s F-distribution
{( m n ) / 2} m m / 2 n n / 2 z m / 2 1
, z0
f z ( z) ( m / 2) ( n / 2) ( n mz ) (mn) / 2
(3-42)
0 otherwise
20
Discrete-type random variables
1. Bernoulli: X takes the values (0,1), and
P( X 0) q, P( X 1) p. (3-43)
P( X k ) P( X k )
k
12 n
21
Fig. 3.17 Fig. 3.18
4. Hypergeometric:
m N m
k n k
P( X k )
N
, max(0, m n N ) k min( m, n ) (3-46)
n
5. Geometric: X g ( p) if
P( X k ) pqk , k 0,1,2,, , q 1 p. (3-47)
6. Negative Binomial: X ~ NB (r, p), if
k 1 r k r
P( X k ) p q , k r, r 1, . (3-48)
r 1
7. Discrete-Uniform:
1
P( X k ) , k 1,2,, N . (3-49)
N
We conclude this lecture with a general distribution due 22
to Polya that includes both binomial and hypergeometric as
special cases.
(3-54)
which represents the hypergeometric distribution. Finally
c = +1 gives (replacements are doubled)
n ( a k 1)! ( a b 1)! (b n k 1)! ( a b k 1)!
P( X k )
k
( a 1)! ( a b k 1)! (b 1)! ( a b n 1)!
a k 1 b n k 1
k
n k
= a b n 1
. (3-55)
n