Random Variables Cumulative Distribution Functions
Random Variables Cumulative Distribution Functions
For a discrete random variable X with possible values x1, x2, x3, …., xn, the probability mass function is
f ( xi ) P X xi P X xi P X xi ,
n
Because f ( xi ) is defined as probability, f ( xi ) 0 for all xi and f ( xi ) 1
i 1
The cumulative distribution function (distribution function) od a discrete random variable X, denoted as
F(x), is:
F ( x ) P X x xi x f ( xi )
Notes:
X 0 1 2 3 4 5
f(x) 1/11 2/11 2/11 3/11 2/11 1/11
P X 3 f ( 3 ) f ( 4 ) f ( 5 ) 6 / 11
P X 3 f ( 3 ) f ( 2 ) f ( 1 ) f ( 0 ) 8 / 11
P X 3 f ( 3 ) 3 / 11
P( X 3 ) P( X 3 )
f ( 3 ) f ( 2 ) f ( 1 ) f ( 0 ) f ( 2 ) f ( 1 ) f ( 0 )
( 8 / 11 ) ( 5 / 11 )
3 / 11
P1 X 3 P( X 3 ) P( X 1 )
( 8 / 11 ) ( 3 / 11 )
5 / 11
or
P1 X 3 f ( 2 ) f ( 3 ) ( 2 3 ) / 11
Example:
Consider having X as a discrete random variable that has the following cumulative function:
0 , X 1
1
, 1 X 4
3
1
F( x ) , 4 X 6
2
5
6 , 6 X 10
1, X 10.
1 / 3, x1
1 / 6, x 4
f(x)
1 / 3, x 6
1 / 6, x 10
X 1 4 6 10
f(x) 1/3 1/6 1/3 1/6
2. P( 2 X 6 ) P( X 6 ) P( X 2 ) F ( 6 ) F( 2 ) ( 5 / 6 ) ( 1 / 3 ) 1 / 2
Or
P( 2 X 6 ) f ( 4 ) f ( 6 ) ( 1 / 6 ) ( 2 / 6 ) 3 / 6 1 / 2
In the continuous random variables:
Keep in mind:
d d
F( x ) f ( t )dt f ( x )
dx dx
Example:
Now, find P( X 10 )?
10
P( X 10 ) 0.05dx 0.5
0
Find P( 5 X 15 )?
15
P( 5 X 15 ) 0.05dx = 0.5
5
Summary:
b
P( a X b ) P( a X b ) P( a X b ) P( a X b ) f ( x )dx
a
Find P( X 17 )?
20
P( X 17 ) 0.05dx 0.05 * 3 0.15
17