Ch03a - Discrete Distribution Overview
Ch03a - Discrete Distribution Overview
5 Discrete
Random Variables
7
Relay Example (redux)
Recall the example with three relays?
X counts number of open relays
P(Oi) = ¼
Compute the CDF of the random variable X
x P(X=x) P(X<x)
0 27/64 27/64
1 27/64 54/64
2 9/64 63/64
3 1/64 64/64 = 1
Discrete Random Variable
(recap)
Let X be a discrete random variable. Then
The probability mass function of X is the function
p(x) = P(X = x).
9
Mean of a Random Variable
Mean (“expected value”):
k
E ( X ) X x1 p1 x 2 p2 x k p k xi pi
i 1
Note: E(X) is a “linear operator”
E(aX+b) = a E(X) + b x P(X=x)
E(X+Y) = E(X) + E(Y) 0 27/64
Find E(X) for the Relay Example 1 27/64
μ = 0(27/64) + 1(27/64) + 2(9/64) + 3(1/64) 2 9/64
X
= 48/64 = 3/4 3 1/64
Interpretation: On average,
E X E X xi2 pi 2
2
2
Standard Deviation: SD( X ) X 2
X
x
In particular, if h(x) = ax+b, where a and b are
constants, then
aX b a X b ,
aX
2
b a X
2 2 ,
aX b a X .
13
Linear Functions of Multiple
RVs
If X and Y are random variables, and a and b
are constants, then
aX bY aX bY a X bY .
14
Two Independent Random
Variables
If X and Y are independent random variables,
and S and T are sets of numbers, then
P ( X S and Y T ) P ( X S ) P (Y T ).
15
Variance Properties
If X1, …, Xn are independent random variables,
then the variance of the sum X1+ …+ Xn is
given
by X2 X ... X X2 X2 .... X2 .
1 2 n 1 2 n
16
More Variance Properties
the sum X + Y is
2
X Y .
2
X
2
Y
2
XY .
2
X
2
Y
17
For Next Time
Work problems from WileyPLUS
Read §3.5-3.9