MATERIAL08
MATERIAL08
Distribution (Discrete)
Undergraduate of Telecommunication Engineering
MUH1F3 - PROBABILITY AND STATISTICS
Telkom University
Center of eLearning & Open Education Telkom University
Jl. Telekomunikasi No.1, Bandung - Indonesia
http://www.telkomuniversity.ac.id
LEARNING OBJECTIVES:
After careful study of this chapter, student should be able to do the following:
1. Use joint probability mass functions to calculate probabilities
2. Calculate marginal and conditional probability distributions from joint probability distributions
3. Interpret and calculate covariance and correlations between random variables
2/15 May 10, 2020 LECTURER CODE: NKC/
JOINT PROBABILITY MASS FUNCTION
For simplicity, we begin by considering random experiments in which only two random variables, called Bi-
variate.The Joint Probability Mass Function of the discrete random variables X and Y, denoted as fXY (xy),
satisfies:
fXY (xy) ≥ 0 (1)
XX
fXY (xy) = 1 (2)
X Y
The Marginal Probability Mass Function of the discrete random variables X and Y, denoted as fX (x) or
fY (y), satisfies:
X
fX (x) = P(X = x) = fXY (x, y) (4)
y
X
fY (y) = P(Y = y) = fXY (x, y) (5)
x
Remember that, for a random variable X, we define the CDF as FX (x) = P(X ≤ x). Now, if we have two ran-
dom variables X and Y and we would like to study them jointly, we can define the Joint Cumulative Function
as follows:
FXY (x, y) = P(X ≤ x and Y ≤ y) = P(X ≤ x) ∩ P(Y ≤ y) (6)
or:
FXY (x, y) = P(X ≤ x) · P(Y ≤ y) = FX (x) · FY (y) (8)
When two random variables X and Y are not independent, it is frequently of interest to assess how strongly
they are related to one another. The Covariance between two random variables X and Y equal to:
Cov(XY)
Cor(XY) = ρXY = (11)
σx · σy
Example: Will randomly pick two balls from a box that contains of three blue, two red and three green ball. If:
X = Random variables are declared elected as a blue ball
Y = Random variables are declared elected as a red ball
Answer:
a. Since X is a random variables declared elected as a blue ball, the range of X will:
RX = {0, 1, 2}
b. Since Y is a random variables declared elected as a red ball, the range of Y will:
RY = {0, 1, 2}
RXY = {(0, 0), (0, 1), (0, 2), (1, 0), (1, 1), (2, 0)}
In the same way, it can be calculated for fXY (1, 0), fXY (1, 1) and fXY (2, 0).
Y
0 1 2
0 3/28 6/28 1/28
X 1 9/28 6/28 0
2 3/28 0
3 9 3 15 6 6 12 1
fY (0) = + + = , fY (1) = + = and fY (2) =
28 28 28 28 28 28 28 28
10 15 3 21
X
E(X) = x · fX (x) = 0· + 1· + 2· =
28 28 28 28
15 12 1 14
X
E(Y) = y · fY (y) = 0· + 1· = + 2·
28 28 28 28
3 6 1 9
X
E(XY) = x · y · fXY (xy) = 0 · 0 · + 0·1· + 0·2· + 1·0·
28 28 28 28
6 3 6
+ 1·1· + (1 · 2 · 0) + 2 · 0 · + (2 · 1 · 0) + (2 · 2 · 0) =
28 28 28
6 21 14 9
Cov(XY) = E(XY) − (E(X) · E(Y)) = − · =−
28 28 18 56
10 15 3 27
X
2 2 2 2 2
E(X )= x · fX (x) = 0 · + 1 · + 2 · =
28 28 28 28
21 2 r
2 2 2 27 45 45
Var(X) = σ = E(X ) − (E(X)) =
x − = then σx =
28 28 112 112
15 12 1 16
X
2 2 2 2 2
E(Y )= y · fY (y) = 0 · + 1 · + 2 · =
28 28 28 28
21 2 r
2 2 2 14 9 9
Var(Y) = σ = E(Y ) − (E(Y)) =
y − = then σx =
28 28 112 112
− 569
ρXY = q q = −0.894
45 9
112
· 112