Chapter 6 Joint Distribution Functions
6.1 Overview
In Section 5 we have introduced the concept of a random variable and a variety of discrete and continuous random variables. However, often in statistics it is important to consider the joint behaviour of two (or more) random variables. For example:
- Height, Weight.
- Degree class, graduate salary.
In this section we explore the joint distribution between two random variables XX and YY.
6.2 Joint c.d.f. and p.d.f.
Joint c.d.f.
The joint (cumulative) probability distribution function (joint c.d.f.) of XX and YY is defined bywhere x,y∈Rx,y∈R.
Joint p.d.f.
Two r.v.’s XX and YY are said to be jointly continuous, if there exists a function fX,Y(x,y)≥0fX,Y(x,y)≥0 such that for every “nice” set C⊆R2C⊆R2,The function fX,YfX,Y is called the joint probability density function (joint p.d.f.) of XX and YY.
We note, as in the following example, that often the joint p.d.f. is non-zero on a subset of R2R2.
Suppose that
- Find P(X>Y)P(X>Y),
- Find P(X>12)P(X>12).
- Let C={(x,y):x>y}C={(x,y):x>y} and write A={(x,y):fX,Y(x,y)>0}A={(x,y):fX,Y(x,y)>0}. Then,

- Let D={(x,y):x>1/2}D={(x,y):x>1/2}, then
6.3 Marginal c.d.f. and p.d.f.
There are many situations with bivariate distributions where we are interested in one of the random variables. For example, we might have the joint distribution of height and weight of individuals but only be interested in the weight of individuals. This is known as the marginal distribution.
Marginal c.d.f.
Suppose that the c.d.f. of XX and Y is given by FX,Y, then the c.d.f. of X can be obtained from FX,Y since FX(x)=P(X≤x)=P(X≤x,Y<∞)=limy→∞FX,Y(x,y). FX is called the marginal distribution (marginal c.d.f.) of X.
Marginal p.d.f.
If fX,Y is the joint p.d.f. of X and Y, then the marginal probability density function (marginal p.d.f.) of X is given by fX(x)=∫∞−∞fX,Y(x,y)dy.
Consider Example 6.2.3.
Find the marginal p.d.f. and c.d.f of Y.
Note that marginal distribution of Y is a Beta(1,4) distribution.
Hence,
Find the p.d.f. of Z=X/Y, where
Attempt Example 6.3.4 and then watch Video 14 for the solutions.
Video 14: Ratio of Exponentials
Solution to Example 6.3.4.
Clearly, Z>0. For z>0,

Note that we can extend the notion of joint and marginal distributions to random variables X1,X2,…,Xn in a similar fashion.
6.4 Independent random variables
Independent random variables
Random variables X and Y are said to be independent if, for all x,y∈R,
that is, for all x,y∈R, FX,Y(x,y)=FX(x)FY(y).
where both X and Y are distributed according to Exp(1). Thus the distribution Z given in Example 6.3.4 is the ratio of two independent exponential random variables with mean 1.
Note that we can easily extend the notion of independent random variables to random variables X1,X2,…,Xn.
Independent and identically distributed
The random variables X1,X2,…,Xn are said to independent and identically distributed (i.i.d.) if,
X1,X2,…,Xn are independent.
X1,X2,…,Xn all have the same distribution, that is, Xi∼F for all i=1,…,n.
Definition 6.4.2 extends the notion of i.i.d. given at the start of Section 5.4.2 for discrete random variables.
Random sample
The random variables X1,X2,…,Xn are said to be a random sample if they are i.i.d.
Suppose X1,X2,…,Xn are a random sample from the Poisson distribution with mean λ. Find the joint p.m.f. of X1,X2,…,Xn.
If Xi∼Po(λ), then its p.m.f. is given by
Since X1,X2,…,Xn are independent, their joint p.m.f. is given by,
The joint p.m.f. of X=(X1,X2,…,Xn) tells us how likely we are to observe x=(x1,x2,…,xn) given λ. This can be used either:
- To compute P(X=x) when λ is known;
- Or, more commonly in statistics, to assess what is a good estimate of λ given x in situations where λ is unknown, see Parameter Estimation in Section 9.
Student Exercise
Attempt the exercise below.
A theory of chemical reactions suggests that the variation in the quantities X and Y of two products C1 and C2 of a certain reaction is described by the joint probability density function
On the basis of this theory, answer the following questions.
- What is the probability that at least one unit of each product is produced?
- Determine the probability that the quantity of C1 produced is less than half that of C2.
- Find the c.d.f. for the total quantity of C1 and C2.
Solution to Exercise 6.1.
- The required probability is
P(X≥1,Y≥1)=∫∞1∫∞12(1+x+y)3dydx=∫∞1[−1(1+x+y)3]∞y=1dx=∫∞11(2+x)2dx=[−12+x]∞x=1=13. - The required probability is
P(X≤12Y)=∫∞0∫y/202(1+x+y)3dxdy=∫∞0[−1(1+x+y)3]y/2x=0dy=∫∞0(1(1+y)2−1(1+3y/2)2)du=[−11+y−−2/3(1+3y/2)]∞y=0=13. - Since both X and Y are non-negative random variables, X+Y is non-negative. Thus P(X+Y≤z)=0 for z<0. For z≥0,
P(X+Y≤z)=∫z0∫z−y02(1+x+y)3dxdy=∫z0[−1(1+x+y)3]z−yx=0dy=∫z0(1(1+y)2−1(1+z)2)du=[−11+y−y(1+z)2]zy=0=−11+z−z(1+z)2+1+0=(z1+z)2.