Bivariate Random Variable
Bivariate Random Variable
BIVARIATE RANDOM
VARIABLE
Structure
6.1 Introduction 6.5 Bivariate Continuous
Random Variable
Expected Learning Outcomes
6.6 Summary
6.2 Bivariate Random Variable
6.7 Terminal Questions
6.3 CDF for Bivariate Random
Variable 6.8 Solutions/Answers
6.4 Bivariate Discrete Random
Variable
6.1 INTRODUCTION
In Units 4 and 5, you have studied discrete and continuous univariate random
variables and their different distributions like CDF, PMF, PDF, etc. In the
present unit, we will discuss bivariate discrete and continuous random
variables and their corresponding distributions. First of all, what we mean by a
bivariate random variable is discussed in Sec. 6.2. Like univariate case CDF is
also defined in the same way in bivariate discrete and continuous worlds of
probability theory and is defined in Sec. 6.3. The next two sections, i.e., Sec.
6.4 and Sec. 6.5 discuss discrete and continuous bivariate random variables
respectively.
In the next unit, you will study what is expected value of a distribution and
moment generating function (MGF) of the random variable.
❖ able to apply the concept of PMF, PDF and CDF to obtain required
probabilities in bivariate setting.
For example, consider the random experiment of tossing a coin twice. Sample
space of this random experiment is = {HH, HT, TH, TT}. Let (X, Y) be the
bivariate random variable, where X denotes the number of heads in two tosses
and Y denotes the number of tails before the first head. So, the bivariate
random variable (X, Y) associates an ordered pair of real numbers (2, 0) with
HH, (1, 0) with HT, (1, 1) with TH and (0, 2) with TT and is visualised in Fig.
6.1 as follows.
Fig. 6.1: Visualisation of the bivariate random variable (X, Y) as a function from the
2
sample space to xy-plane =
In Unit 4, you have studied what is a discrete random variable and in Unit 5,
you have studied what is a continuous random variable. If both X and Y are
discrete random variables then the ordered pair random variable (X, Y) is
called a discrete bivariate random variable. However, if both X and Y are
continuous random variables then it is not necessary that (X, Y) will be joint
136 continuous bivariate random variable. Why it is so its discussion is beyond the
scope of the course. The technical word is jointly continuous which is used Bivariate Random
when we want that bivariate random variable (X, Y) is continuous. So, if both X Variable
and Y are jointly continuous random variables then the ordered pair random
variable (X, Y) is called a continuous bivariate random variable. Like
univariate cases to study bivariate discrete and continuous random variables,
we will need the cumulative distribution function of the random variable (X, Y).
So, let us first define the cumulative distribution function (CDF) of the random
variable (X, Y) in the next section. … (6.1)
That is ( 4 ) = ( 2 ). … (6.2)
Like the univariate case, the next concept that is required to define before
defining CDF of a bivariate random variable (X, Y) is the probability measure
X, Y induced by the bivariate random variable (X, Y). Let ( , , ) be a
probability space and X : → , Y : → be two random variables then the
probability measure X, Y induced by the bivariate random variable (X, Y) is
defined by (if required you may refer 4.16, 4.27, 4.28, 4.31 and 4.32)
or X, Y (B ) = ((X, Y) B ) , B ( )2
… (6.4)
Following the similar steps as we did in Sec. 4.4 of Unit 4 for the univariate
case, we can prove that X, Y is a probability measure on 2
and so ( )
( 2
, ( ),
2
X, Y ) is a probability space and known as induced probability
2
space by the random variable (X, Y) on the xy-plane ( ).
( 4 )= ( ), where = (− , x] (− , y] : x, y
2
4
137
Probability X, Y (( − , x] ( − , y] ) = ( : X() x, Y() y) ... (6.6)
Measure and
Random ( − , x] ( − , y] ( ),
2
x, y
Variable
a ( − , x] a x and b ( − , y] b y
Like univariate case and due to the frequent use in obtaining probability of the
random variable (X, Y) lying in different intervals, we use the following simple
notation for (6.5) or (6.6).
Now, we can define CDF for bivariate random variable (X, Y) as follows.
We will use CDF very frequent so, we will denote it simply by FX, Y instead of
F X, Y . So, using this notation (6.9) can be written as
… (6.11)
Combining (6.8), (6.9), (6.10) and (6.11), we have
F X, Y (x, y) = FX, Y (x, y) = (( − , x] ( − , y])
X, Y
= ( : X() x, Y() y) … (6.12)
= ( X x, Y y ) , (x, y) 2
Also, we say that FX, Y is the distribution function of the bivariate random
variable (X, Y) instead of saying that corresponding to the induced probability
measure X, Y . … (6.13)
Like univariate case CDF of bivariate random variable (X, Y) also has similar
properties listed as follows.
(a) FX, Y ( − , − ) = lim FX, Y ( x, y ) = 0. … (6.14)
x →−
y→ −
138
Also, FX, Y ( − , y) = lim FX, Y ( x, y ) = 0 … (6.15) Bivariate Random
x →−
Variable
and FX, Y (x, − ) = lim FX, Y ( x, y ) = 0 … (6.16)
y →−
But FX, Y (x, ) gives marginal CDF of the random variable X, i.e.,
lim FX, Y (x, y) = FX, Y (x, ) = FX ( x ) . … (6.18)
y →
Similarly, FX, Y (, y) gives marginal CDF of the random variable Y, i.e.,
lim FX, Y (x, y) = FX, Y (, y) = FY ( y ) . … (6.19)
x →
Marginal CDFs are just CDFs of univariate random variables which you
have studied in Unit 4 and 5. Why the name marginal is added before
CDF to get answer of this question refer to (6.49).
(e) If x1, x 2 , y1, y 2 be such that x1 x 2 and y1 y 2 , then (to get more
detail of this property refer 6.63 and Fig. 6.6)
Proofs of these properties are similar to univariate case, so, we are not
discussing them.
Let us consider one example. Suppose in a bag there are 2 red, 4 blue and 5
black balls. Three balls are drawn from this bag randomly. Let X, Y denote the
number of red and blue balls, respectively out of the three drawn balls. So, X 139
Probability can attain values 0, 1 and 2 while Y can attain values 0, 1, 2 and 3. The
Measure and possible values of the random variable X are shown in the first column of
Random
Variable Table 6.1 and that of Y are shown in the second row of the same table which
is given as follows.
Table 6.1: Values of X and Y together with 12 empty cells where generally
probabilities of corresponding values of the bivariate random
variable (X, Y) are written
Values of Y
Values of X 0 1 2 3
0
1
2
In this table, we have 12 empty cells. We will discuss about the entries of
these 12 empty cells after defining joint probability mass function of bivariate
random variable (X, Y).
In this example, both variables X and Y attain finite number of values. So, the
bivariate random variable (X, Y) is a discrete bivariate random variable.
Possible values of bivariate random variable (X, Y) in this example are (0, 0),
(0, 1), (0, 2), (0, 3), (1, 0), (1, 1), (1, 2), (1, 3), (2, 0), (2, 1), (2, 2), (2, 3). So,
the bivariate random variable (X, Y) attains 12 values. These 12 possible
values are shown in xy-plane in Fig. 6.2 (a) by solid dots. If we write these 12
values in a set S X, Y (say), then S X, Y is known as support of the bivariate
random variable (X, Y), provided if all these 12 points are assigned non zero
probability by probability law. But if one or more than one point among these
12 points have assigned 0 probability by the probability law then that point or
points will go out from the support of (X, Y). So, support of the bivariate
random variable (X, Y) can have at the most 12 points given as follows (to
know general definition of support of (X, Y) you may refer to 6.31) … (6.26)
(0, 0), (0, 1), (0, 2), (0, 3), (1, 0), (1, 1),
S X, Y = … (6.27)
(1, 2), (1, 3), (2, 0), (2, 1), (2, 2), (2, 3)
Fig. 6.2: Visualisation of (a) 12 points which are 12 values of the bivariate random
variable (X, Y) that are possible candidates to form the support of (X, Y) (b) 9
140 points which finally form the support of the bivariate random variable (X, Y)
Why we are calling the bivariate variable (X, Y) is a random variable? We are Bivariate Random
calling it random because it is constituted by random variables X and Y where Variable
In univariate case in Unit 4, you studied PMF and CDF of a random variable
but in the case of bivariate random variable there are some other concepts
which we need to discuss. So, what we need to discuss in this section are
listed as follows.
(ii)
( x, y )S X, Y
p X, Y (x, y) = 1 where S X, Y denotes support of (X, Y). … (6.30)
In the definition of joint PMF of the bivariate random variable (X, Y), we have
used the technical word support. We have explained its meaning in (6.26).
Now, as promised there, let us define it in general as follows.
Support of Bivariate Random Variable (X, Y) is the collection of those points
in 2 which have assigned non zero probability by the probability law, i.e.,
Support of (X, Y) is the set S X, Y = (x, y) 2
: p X, Y (x, y) 0 . … (6.31)
141
Probability Let us consider the example of 2 red, 4 blue and 5 black balls considered in
Measure and the beginning of this section. To decide how many of the 12 points will finally
Random
Variable qualify to be members of the support of (X, Y), we have to obtain their
probabilities using (6.28) and (6.29). Let us evaluate the probabilities for each
of the 12 points belong to S X, Y given by (6.27) as follows.
p X, Y (0, 0) = ( X = 0, Y = 0 )
Meaning of ' comma ' in
= ( getting 0 red ball and 0 blue ball )
( X = 0, Y = 0 ) is ' and'
= ( All 3 balls are black )
5 54
54 54
= =
3 2 6 1 10
= = = ... (6.32)
11 11 10 9 2 11 10 9 2 165 165
3
3
Values of Y
Values of X 0 1 2 3
10 40 30 4
0
165 165 165 165
20 40 12 0
1
165 165 165
5 4 0 0
2
165 165
In view of (6.31) three points (1, 3), (2, 2) and (2, 3) will not be part of the
support of the bivariate random variable (X, Y) because they have 0 probability
refer to Table 6.2. So, remaining 9 points form support of the discrete bivariate 143
Probability random variable (X, Y). Joint probability mass function is visualised in Fig. 6.3
Measure and (a) and (b) from two different angles. The height of the line segments at each
Random
Variable of the 9 points of the support represents probabilities of the corresponding
point. … (6.44)
(a)
(b)
Fig. 6.3: Joint probability mass function of bivariate random variable (X, Y) (a) one view
(b) another view
Note that Table 6.2 have all information regarding probabilities of all possible
combinations of values of two random variables X and Y. So, this tabular
form is known as joint probability mass of the bivariate random variable
(X, Y). The important point to be noted from here is that if Table 6.2 contains
all information regarding probabilities of all possible combinations of values of
two random variables X and Y then obviously it will contain all information
regarding probabilities of individuals random variables X and Y. This is
discussed next under the heading marginal probability mass functions.
Values of Y
Values of X 0 1 2 3 Rows sums
10 40 30 4 84
0
165 165 165 165 165
20 40 12 0 72
1
165 165 165 165
5 4 0 0 9
2
165 165 165
Columns 35 84 42 4 165
=1
sums 165 165 165 165 165
Values of X 0 1 2 Total
84 72 9 165
Probabilities ( p X (x) ) =1
165 165 165 165
Values of Y 0 1 2 3 Total
35 84 42 4 165
Probabilities ( p Y (y) ) =1
165 165 165 165 165
With the help of this example, you have understood the idea of marginal
probability mass function of individual random variables X and Y. Now, let us
define them in general as follows. 145
Probability
Measure and
Random
Variable
Fig. 6.4: Marginal probability mass functions of random variable (a) X (b) Y
( X = x, Y = y )
n
p X (x) = j … (6.50)
j =1
(X = x , Y = y)
m
p Y (y) = i … (6.51)
i =1
So, (6.50) and (6.51) define marginal probability mass functions of X and Y
respectively in general.
Recall one more thing from Unit 4, if X is a random variable defined on the
sample space then X = x is an event G (say) where
G = : X() = x … (6.53)
Now, you can understand conditional probability mass function easily. Let (X,
Y) be a discrete bivariate random variable on the sample space where X
and Y can attain values x1, x 2 , x 3 , , xm and y1, y 2 , y 3 , , yn , respectively. If
p X, Y (x, y) denotes joint PMF of (X, Y) and p X (x), pY (y) be marginal
probability mass functions of random variables X and Y respectively, then
conditional probability mass function of the random variable X for given Y = y j
is denoted by p X|Y (x | y j ) and is defined by
p(X = x, Y = y j )
p X|Y (x | y j ) = , p Y (y j ) 0, x = x1, x 2 , x 3 , , xm ... (6.54)
p Y (Y = y j )
(E F ) . You may refer to (1.28). Here
(E | F ) =
(F )
E = : X() = x and F = : Y() = y j
p(X = x i , Y = y)
p Y| X (y | xi ) = , p X (x i ) 0, y = y1, y 2 , y 3 , , yn ... (6.57)
p X (X = x i )
p(X = x, Y = 1)
p X|Y (x | y = 1) = , x = 0, 1, 2
p Y ( Y = 1)
147
Probability p(X = 0, Y = 1) 40 / 165 40
Measure and 40 / 84, x = 0 p X|Y (X = 0 | Y = 1) = = =
Random p Y (Y = 1) 84 / 165 84
Variable p(X = 1, Y = 1) 40 / 165 40
= 40 / 84, x = 1 p X|Y (X = 1| Y = 1) = = = (6.60)
p Y (Y = 1) 84 / 165 84
4 / 84, x = 2 p ( X = 2 | Y = 1) = p(X = 2, Y = 1) = 4 / 165 = 4
X|Y
p Y ( Y = 1) 84 / 165 84
Fig. 6.5: Conditional probability mass functions of random variable (a) X given Y = 1 (b) Y
given X = 1
So, using total law of probability, marginal CDF of the random variable X is
given by
( X x ) = ( A ) = (E j ) ( A | E j )
n
FX (x ) =
j =1
(Y = y ) (X x | Y = y )
n
= j j
j =1
(E F ) F E | F = E F
( X x, Y = y )
n
= (E | F ) = ( ) ( ) ( )
j =1
j
(F )
Fig. 6.6: Visualisation of different terms of (6.63) (a) LHS (b) first term of RHS (c) second
term of RHS (d) third term of RHS (e) fourth term of RHS
We know that (you may refer to 1.47) if events E and F are independent under
the probability measure then
(E F ) = (E ) (F ) … (6.69)
Now, if events E and F are independent for all possible values of x and y then
FX, Y (x, y) = ( X x, Y y) Using definition of CDF refer to (6.10)
= (E F ) Using (6.68)
= (E ) (F ) Using (6.69)
= (X x) (Y y) Using (6.68)
Following similar steps, we can prove that random variables X and Y will be
independent if
Solution: Since input values 0 and 1 are equally likely and X represents input
random variable, so, we have
( X = 0 ) = 0.5 and ( X = 1) = 0.5. … (6.76)
( Y = 0 | X = 0 ) + ( Y = 1| X = 0 ) = 1
( Y = 1| X = 0 ) = 1 − ( Y = 0 | X = 0 )
= 1 − 0.99 Using (6.75)
Fig. 6.7: Visualisation of the communication channel with transition probabilities, input
values and output values
discrete bivariate random variable (X, Y), we have to fill up four empty
cells of the Table 6.6 with corresponding probabilities.
Table 6.6: Number of cells formed by possible values of X and Y
Values of Y
Values of X 0 1
0
1
Let us obtain probabilities of these four cells as follows.
( X = 0, Y = 0 ) = ( X = 0 ) ( Y = 0 | X = 0 )
= 0.5 0.99 Using (6.76) and (6.75)
= 0.495
Similarly, ( X = 0, Y = 1) = ( X = 0 ) ( Y = 1| X = 0 )
= 0.5 0.01 = 0.005 Using (6.76) and (6.77)
( X = 1, Y = 0 ) = ( X = 1) ( Y = 0 | X = 1)
= 0.5 0.08 = 0.04 Using (6.76) and (6.78)
( X = 1, Y = 1) = ( X = 1) ( Y = 1| X = 1)
= 0.5 0.92 = 0.46 Using (6.76) and (6.75)
We have obtained probabilities of the four cells of the Table 6.6 and are
shown in the new Table 6.7. The tabular form given by Table 6.7 is known
as joint PMF of the random variable (X, Y).
Table 6.7: Joint probability mass function of discrete bivariate random
variable (X, Y)
Values of Y
Values of X 0 1
0 0.495 0.005
1 0.04 0.46
153
Probability (b) To obtain marginal PMF’s of the random variables X and Y, first, we have
Measure and to find out sum of each row and column of Table 6.7. Rows and columns
Random
Variable sums are shown in Table 6.8.
Table 6.8: Marginal probability mass functions of discrete random variables
X and Y as sums of each row and column
Values of Y
Values of X 0 1 Marginal probabilities
0 0.495 0.005 0.5
1 0.04 0.46 0.5
Marginal probabilities 0.535 0.465 1
Values of X 0 1 Total
Probabilities ( p X (x) ) 0.5 0.5 1
Values of Y 0 1 Total
Probabilities ( p Y (y) ) 0.535 0.465 1
(c) For finding joint CDF of (X, Y), we have to compute FX, Y (x, y) for different
values of x and y using (6.10). So, joint CDF of discrete bivariate random
variable (X, Y) is given by Table 6.11.
Table 6.11: Joint CDF of discrete bivariate random variable (X, Y)
Values of Y
Values of X 0 1
0 0.495 0.5
1 0.535 1
Values of X 0 1
Probabilities ( p X (x) ) 0.5 1
SAQ 1
Joint PMF is given and find out other things: Joint PMF of a discrete
bivariate random variable (X, Y) is given by
k(2x + 3y), x = 0, 1, 2; y = 1, 2, 3, 4
p X, Y (x, y) =
0, otherwise
But like univariate case in continuous world a single point has zero probability,
i.e.,
( X = a, Y = b) = 0 … (6.82)
In Secs. 9.4 and 9.5 of Unit 9 of the course MST-011, you have studied to
156 evaluate double integral. You also know that double integral shown in (6.87)
gives volume of the region bounded by five planes x = a, x = b, y = c, y = d, Bivariate Random
z = 0 and one surface given by z = fX, Y (x, y). But in the world of probability Variable
… (6.89)
Keeping (6.87) in view, (6.10) can be written as follows.
y x
FX, Y ( x, y ) = ((X, Y) ( − , x] ( − , y] ) = fX, Y (x, y) dx dy … (6.90)
− −
If fX, Y (x, y) be the joint PDF of jointly continuous random variable (X, Y) and
fX ( x ) , fY ( y ) be marginal PDF’s of X and Y respectively, then
Obtain:
(a) value of k.
(b) marginal PDF’s of X and Y.
(c) joint CDF of (X, Y).
(d) marginal CDF’s of X and Y.
(e) conditional PDF of X given Y.
(f) are random variables X and Y independent?
(5 − y)(4 − x)
y x y x
= 4x − dy = 0 100 4x − dy
0
100 2 0 2
=
1 x2 y2 8x − x 2 10y − y 2
y
( )( )
4x − 5y − = ... (6.103 )
100 2 2 0 400
FX, Y ( x, y ) = FX, Y ( x, 5 )
( 8x − x )(10 5 − 5 )
2 2
=
400
Putting y = 5 in (6.103)
8x − x 2
= ... (6.104)
16
Case V: x 4 and 0 y 5
FX, Y ( x, y ) = FX, Y ( 4, y )
( 8 4 − 4 )(10y − y )
2 2
=
400
Putting x = 4 in (6.103)
10y − y 2
= ... (6.105)
25
= 400
10y − y 2
Using (6.98), (6.99) and (6.101)
25
8x − x 2
= , 0x4
16
Fig. 6.8: Visualisation of the (a) five regions corresponding to five cases in part (c) of
Example 2 (b) vertical strip PQ to obtain limits of y in terms of x refer solution
160 of SAQ 3
In this example, joint PDF was given and we obtained joint CDF using the Bivariate Random
integral given by (6.90). But you know that differentiation and integration are Variable
reverse operators so if joint CDF is given then joint PDF can be obtained by
partially differentiating CDF with respect to x and y, i.e.,
2 2
fX, Y (x, y) =
xy
( FX, Y (x, y) ) or fX, Y (x, y) =
yx
(FX, Y (x, y) ) ... (6.107)
2 2
Here we are assuming that
xy
( FX, Y (x, y) ) =
yx
( FX, Y (x, y) ) . But in
general it does not hold. In fact, it holds only when first order partial
derivatives (F (x, y) ) and (F (x, y) ) are continuous functions
x
X, Y
x
X, Y
You will study partial derivative in the course MST-022 in detail. Let us briefly
explain it through an example as follows. … (6.107a)
2
xy
(F ( x, y ) ) means first differentiate F ( x, y ) partially w.r.t. y and then the
resulting function w.r.t. x. When we differentiate a function partially w.r.t. one
variable, then the other variable is treated as constant … (6.107b)
For example, Let F ( x, y ) = x 5 y 3 + x13 y 7
2 Here, x is treated
y x
( ( ) ( )
F ( x, y ) ) = 5x 4 3 y 2 + 13x12 7y 6 = 15 x 4 y 2 + 91x12 y 6
as constant
SAQ 2
For given Joint CDF Obtain Joint PDF: In Example 2 joint PDF was given
and you obtained joint CDF given by (6.106). Here assume that joint CDF is
given to you. Find joint PDF of the jointly continuous random variable (X, Y).
SAQ 3
For given CDF obtain PDF and probabilities: Consider the same jointly
continuous random variable (X, Y) discussed in Example 2. Find
( X + Y 2) .
161
Probability 6.6 SUMMARY
Measure and
Random
Variable A brief summary of what we have covered in this unit is given as follows:
• Bivariate Random Variable: Let X : → and Y : → be two random
variables. The ordered pair random variable (X, Y) which associates a
unique ordered pair of real numbers to each member of the sample space
( ) is called a bivariate random variable on .
• If both X and Y are discrete random variables then the ordered pair random
variable (X, Y) is called a discrete bivariate random variable. If both X
and Y are jointly continuous random variables then the ordered pair
random variable (X, Y) is called a continuous bivariate random variable.
( X = x, Y = y )
n
p X (x) = j
j =1
162
( X = x , Y = y)
m
Bivariate Random
Similarly, marginal PMF of Y is given by p Y (y) = i Variable
i =1
( X = x, Y = y) = ( X = x) (Y = y) x S X and y S Y
p X|Y (x | y) = p X (x) x S X , y S Y and p Y (y) 0
pY|X (y | x) = pY (y) x S X , y S Y and p X (x) 0
fX|Y ( x | y ) = fX ( x ) x, y and fY ( y ) 0
fY|X ( y | x ) = fY ( y ) x, y and fX (x) 0
fX, Y (x, y)
fY|X ( y | x ) = , fX ( x ) 0
fX ( x )
163
Probability 6.7 TERMINAL QUESTIONS
Measure and
Random 1. Joint PMF of a discrete bivariate random variable (X, Y) is shown in Table
Variable
6.14. Find joint and marginal CDF’s.
Values of Y
Values of X 1 2 3 4 5 6
1 0.03 0.02 0.05 0.02 0.07 0.04
2 0.01 0.06 0.03 0.08 0.01 0.02
3 0.03 0.04 0.07 0.02 0.05 0.06
4 0.01 0.03 0.01 0.04 0.01 0.02
5 0.04 0.05 0.02 0.02 0.03 0.01
Values of Y
Values of X 1 2 3 4 5 6
1 NA 0.05 NA 0.12 0.19 NA
2 0.04 NA 0.20 NA 0.38 NA
3 NA 0.19 NA 0.46 NA 0.71
4 0.08 0.23 0.39 NA 0.69 NA
5 NA 0.32 NA 0.68 NA 1
6.8 SOLUTIONS/ANSWERS
Self-Assessment Questions (SAQs)
1. (a) We know that sum of all probabilities is 1. So, we must have
2 4 2 4 2 4 4
p X, Y (x, y) = 1 k (2x + 3y) = 1 k 2x + 3y = 1
x = 0 y =1
x = 0 y =1 x = 0 y =1 y =1
2 2
k ( 4(2x) + 3(1 + 2 + 3 + 4) ) = 1 k ( 8x + 30 ) = 1
x =0 x =0
2 2
1
k 8x + 30 = 1 k ( 8(0 + 1 + 2) + 3(30) ) = 1 k =
x =0 x =0 114
(b) Joint PMF of the random variable (X, Y) in formula form is given by
(2x + 3y)
, x = 0, 1, 2; y = 1, 2, 3, 4
p X, Y (x, y) = 114
0, otherwise
164 Joint PMF in tabular form with marginal sums is given by Table 6.16.
Table 6.16: Joint PMF of discrete bivariate random variable (X, Y) Bivariate Random
Variable
Values of Y
Values of X 1 2 3 4 Marginal sum
3 6 9 12 30
0
114 114 114 114 114
5 8 11 14 38
1
114 114 114 114 114
7 10 13 16 46
2
114 114 114 114 114
15 24 33 42 114
Marginal sum =1
114 114 114 114 114
Using marginal sums from Table 6.16, marginal PMF of X is given in
Table 6.17.
Table 6.17: Marginal PMF of the random variable X
Values of X 0 1 2 Total
30 38 46 114
Probabilities ( p X (x) ) =1
114 114 114 114
Similarly, marginal PMF of Y is given in Table 6.18.
Table 6.18: Marginal PMF of the random variable Y
Values of Y 1 2 3 4 Total
15 24 33 42 114
Probabilities ( p Y (y) ) =1
114 114 114 114 114
(c) Joint CDF of the random variable (X, Y) is given by Table 6.19, where
probability in each cell is obtained using (6.10) repeatedly.
Table 6.19: Joint CDF of discrete bivariate random variable (X, Y)
Values of Y
Values of X 1 2 3 4
3 9 18 30
0
114 114 114 114
8 22 42 68
1
114 114 114 114
15 39 72 114
2 =1
114 114 114 114
(d) Marginal CDF of the random variable X is given by just writing first and
fifth columns of Table 6.19 together in a new Table 6.20.
Table 6.20: Marginal CDF of discrete random variable X
Values of X 0 1 2
30 68 1
FX (x)
114 114
Similarly, marginal CDF of the random variable Y is given by just writing
second and fifth rows of Table 6.19 together in a new Table 6.21.
Table 6.21: Marginal CDF of discrete random variable Y
Values of X 1 2 3 4
15 39 72 1
FX (x)
114 114 114
165
Probability (e) We can find conditional PMF of the random variable X given Y = 3 as
Measure and follows.
Random
Variable p(X = x, Y = 3)
p X|Y (x | Y = 3) = , x = 0, 1, 2
p Y (Y = 3)
p(X = 0, Y = 3) 9 / 114 9
9 / 33, x = 0 p X|Y (X = 0 | Y = 3) = = =
p Y (Y = 3) 33 / 114 33
p(X = 1, Y = 3) 11/ 114 11
= 11/ 33, x = 1 p X|Y (X = 1| Y = 3) = = =
p Y (Y = 3) 33 / 114 33
13 / 33, x = 2 p (X = 2 | Y = 3) = p(X = 2, Y = 3) = 13 / 114 = 13
X|Y
p Y (Y = 3) 33 / 114 33
3
( X = 0, Y = 1) = ... (6.108)
114
30 15 75
( X = 0 ) ( Y = 1) = = ... (6.109)
114 114 114 19
0, if x 0 or y 0
( )(
8x − x 10y − y
2 2
)
, 0 x 4, 0 y 5
400
8x − x 2
FX, Y (x, y) = , 0 x 4, y 5 … (6.110)
16
10y − y 2
, x 4, 0 y 5
25
1, if x 4 and y 5
, 0 x 4, 0 y 5
400
y
( FX, Y (x, y) ) = 0, 0 x 4, y 5 … (6.111)
10 − 2y
, x 4, 0 y 5
25
0, if x 4 and y 5
( 4 − x )( 5 − y )
2 0 x 4, 0 y 5
or
x y
( FX, Y (x, y) ) = 100
,
0,
otherwise
(4 − x) 20 − 10x − 4 − x 2 + 4x (4 − x) 16 − 6x − x 2
2 2
= dx = 0 100 dx
0
100 2 2
167
Probability 2
64 − 24x − 4x 2 − 16x + 6x 2 + x 3 2
x 3 + 2x 2 − 40x + 64
Measure and = dx = 0 dx
0
200 200
Random
2
Variable 1 x 4 2x 3 1 16 43
= + − 20x 2 + 64x = 4+ − 80 + 128 =
200 4 3 0 200 3 150
Terminal Questions
1. Using (6.10) repeatedly on values of Table 6.14 joint CDF of the discrete
bivariate random variable (X, Y) is given by Table 6.22 as follows.
Table 6.22: Joint CDF of discrete bivariate random variable (X, Y)
Values of Y
Values of X 1 2 3 4 5 6
1 0.03 0.05 0.10 0.12 0.19 0.23
2 0.04 0.12 0.20 0.30 0.38 0.44
3 0.07 0.19 0.34 0.46 0.59 0.71
4 0.08 0.23 0.39 0.55 0.69 0.83
5 0.12 0.32 0.50 0.68 0.85 1
Values of X 1 2 3 4 5
Probabilities ( p X (x) ) 0.23 0.44 0.71 0.83 1
Values of Y 1 2 3 4 5 6
Probabilities ( p Y (y) ) 0.12 0.32 0.50 0.68 0.85 1