Bivariate Random Variable
Bivariate Random Variable
2
Bivariate random variable
In the real life situations more than one variable effects the outcome of a random
experiment. For example, consider an electronic system consisting of two
components. Suppose the system will fail if both the components fail. The
probability distribution of the life of the system depends jointly on the probability
distributions of lives of the components. Knowing the probability distributions of
lives of the components will not provide us the enough information. What we
need is the probability distribution of the simultaneous behavior of lives of the
components. A pair of random variables is known as a bivariate random variable.
The individual random variables in the pair may be related.
Note:
and
m n
Then and and p xi , y j 1. The function is
i1 j 1
known as joint probability mass function (j.p.m.f) of .
Marginal probability mass functions: Let be a bivariate discrete random
variable with joint probability mass function given by . The marginal
probability mass function of and are given by
n
p xi ,y j for and
j 1
m
p xi ,y j for
i1
respectively.
for and
respectively.
Example 1: A fair coin is tossed three times. Let be a random variable that
takes the value if the first toss is a tail and the value if the first toss is a head
and be a random variable that defines the total number of heads in the three
tosses. Then
i. The sample space and values of and are given in the following table:
Here takes the values and and takes the values and . Then the
j.p.m.f of is computed as below:
and
The m.p.m.f of is given by
,
,
k 2 x y for x = 1, 2; y = 1, 2
p x, y
0 otherwise
where is a constant
Solution:
2 2
a. Since is a j.p.m.f, p x, y 1
x1 y1
2 2 2 2
p x, y k 2 x y k 3 4 5 6 18k 1.
x1 y1 x1 y1
Thus
Thus, for
Thus, for
Thus, for
Thus, for
c. Note that .
Thus, and are not independent.
i. and
ii. f x, y dx dy 1
and the function is known as the joint probability density function of the
bivariate continuous random variable .
respectively.
and
respectively.
and
p t,s if X ,Y is a d.r.v with j.p.m. f . p x, y
t x s y
F x, y
f t,s dt ds if X ,Y is a c.r.v with j.p.d. f . f x, y
1.
2.
3. and
4.
Note:
x y
f x, y e for 0 x ,0 y
0 otherwise
Solution:
e y for y 0
0 otherwise
x y1
f x, y xe 0 x ,0 y
0 otherwise
x y1 xy y
f1 x f x, y dy xe dy xe x e xy dy xe x
e
e x
0 0 0 x y 0
f1 x e x for 0 x
1
f2 y for 0 y
2
y 1
The conditional p.d.f of given is given by
for
for
a. Find
b. Find the m.p.d.fs of and
c. Are and independent.
Solution:
3
21 21 2 1 2 1
a. We have f x, y dx dy kx y dx dy k x y dy dx k x3 dx
3
00 00 0 0 0 2
2
k x4 k
16 2k
2 4 8
0
21 1
Now , f x, y dx dy 1 2k 1 k 2
00
for
1
1 1 31 1 3 y 2 1
f x, y dy 2 x y dy 2 x 2 x3
4
0 0 0
for
2
2 1 2 1 x 4
f x, y dx 2 y x dx 2 y 4 2 y
3
0 0 0
for
b. Note that