Unit 4
Unit 4
By
Dr. Samuel Asante Gyamerah
1 / 18
INTRODUCTION
BIVARIATE PROBABILITY DISTRIBUTIONS
Introduction
2 / 18
INTRODUCTION Bivariate Discrete Distribution
BIVARIATE PROBABILITY DISTRIBUTIONS Bivariate Continuous Distribution
f (xi , yj ) = P (X = xi , Y = yj )
3 / 18
INTRODUCTION Bivariate Discrete Distribution
BIVARIATE PROBABILITY DISTRIBUTIONS Bivariate Continuous Distribution
4 / 18
INTRODUCTION Bivariate Discrete Distribution
BIVARIATE PROBABILITY DISTRIBUTIONS Bivariate Continuous Distribution
Solution
a)
i) . P (X = 0, Y = 1) = f (0, 1) = 0.4
ii). P (X = 1, Y = 2) = f (1, 2) = 0
b)
i)
P (X + Y > 1) = f (1, 1) + f (0, 2) + f (1, 2) = 0.2 + 0.1 + 0 = 0.3
ii) P (X + Y = 1) = f (0, 1) + f (1, 0) = 0.4 + 0.2 = 0.6
iii) P (X + Y = 2) = f (0, 2) + f (1, 1) = 0.1 + 0.2 = 0.3
5 / 18
INTRODUCTION Bivariate Discrete Distribution
BIVARIATE PROBABILITY DISTRIBUTIONS Bivariate Continuous Distribution
Definition
Let (X, Y ) be a two-dimensional discrete random variable with
probability mass function f (x, y). The marginal probability
mass function of X, denoted by fX (x) is given by
X
fX (x) = f (x, y)
all y
6 / 18
INTRODUCTION Bivariate Discrete Distribution
BIVARIATE PROBABILITY DISTRIBUTIONS Bivariate Continuous Distribution
Example
7 / 18
INTRODUCTION Bivariate Discrete Distribution
BIVARIATE PROBABILITY DISTRIBUTIONS Bivariate Continuous Distribution
Solution
x 3 4 5
1 1 1 y 3 4 5
fX (x) 4 2 4 11 1 7
fY (y) 24 4 24
Table: The marginal
Table: The marginal probability
probability mass function of
mass function of Y
X
8 / 18
INTRODUCTION Bivariate Discrete Distribution
BIVARIATE PROBABILITY DISTRIBUTIONS Bivariate Continuous Distribution
9 / 18
INTRODUCTION Bivariate Discrete Distribution
BIVARIATE PROBABILITY DISTRIBUTIONS Bivariate Continuous Distribution
Facts to Note
An immediate consequence of the above definition is that if X
and Y are continuous random variables with joint p.d.f f (x, y),
then the following are true
1 The joint cumulative distribution function of X and Y is
Z y Z x
F (x, y) = f (s, t) ds dt
−∞ −∞
10 / 18
INTRODUCTION Bivariate Discrete Distribution
BIVARIATE PROBABILITY DISTRIBUTIONS Bivariate Continuous Distribution
11 / 18
INTRODUCTION Bivariate Discrete Distribution
BIVARIATE PROBABILITY DISTRIBUTIONS Bivariate Continuous Distribution
Example
Let X and Y be continuous random variables with joint p.d.f
(
2xy + 32 y 2 , 0 < x < 1, 0 < y < 1
f (x, y) =
0, elsewhere
Find P (X + Y < 1)
12 / 18
INTRODUCTION Bivariate Discrete Distribution
BIVARIATE PROBABILITY DISTRIBUTIONS Bivariate Continuous Distribution
Solution
RR
P (X + Y < 1) = C f (x, y) dx dy
where C = {(x, y) : 0 < x < 1, 0 < y < 1, x + y < 1}
Hence,
R 1 R 1−y
P (X + Y < 1) = 0 0 (2xy + 23 y 2 )dx dy
R1
= 0 [(1 − y)2 y + 32 (1 − y)y 2 ]dy = 5
24
13 / 18
INTRODUCTION Bivariate Discrete Distribution
BIVARIATE PROBABILITY DISTRIBUTIONS Bivariate Continuous Distribution
Example
Suppose that X and Y represent the operating lives, measured
in years, of components A and B of a certain system, and their
joint cumulative distribution function is given by
(
(1 − e−x )(1 − e−y ) x ≥ 0, y ≥ 0,
F (x, y) =
0, elsewhere
14 / 18
INTRODUCTION Bivariate Discrete Distribution
BIVARIATE PROBABILITY DISTRIBUTIONS Bivariate Continuous Distribution
Solution
(
∂ 2 F (x, y) e−x e−y x ≥ 0, y ≥ 0,
(a) f (x, y) = =
∂x∂y 0, elsewhere
(b) We are required to find P (X < 1, Y < 1).
R∞ h i∞
= 2 e−2 e−y dy = e−2 − e−y
2
15 / 18
INTRODUCTION Bivariate Discrete Distribution
BIVARIATE PROBABILITY DISTRIBUTIONS Bivariate Continuous Distribution
16 / 18
INTRODUCTION Bivariate Discrete Distribution
BIVARIATE PROBABILITY DISTRIBUTIONS Bivariate Continuous Distribution
Example
The random variables X and Y have a joint p.d.f given by
(
8xy, 0 < x < y < 1,
f (x, y) =
0, elsewhere
Find:
(i) The marginal probability density functions of X and Y ,
(ii) E(Y ).
17 / 18
INTRODUCTION Bivariate Discrete Distribution
BIVARIATE PROBABILITY DISTRIBUTIONS Bivariate Continuous Distribution
Solution
The marginal p.d.f of X is given by
Z ∞ Z 1 h i1
fX (x) = f (x, y)dy = 8xy dy = 4xy 2 = 4x(1−x2 ) 0 < x < 1
−∞ x x
R1 h i1
4 5 4
(ii)E(Y ) = 0 4y 4 dy = 5 y = 5
0
18 / 18