Joint Cumulative Distribution Function
Study guides: Exam P-1, Exam ACIA-CAPSTONE
A Joint Cumulative Distribution Function of random variables X and Y gives the probability that X \le x and Y \le y at the same time:
F(x, y) = P(X \le x, Y \le y)
For discrete X and Y with joint probability function f, it adds every value at or below x and at or below y:
F(x, y) = \sum_{s \le x}\ \sum_{t \le y} f(s, t)
The idea
Fgives the probability of each lower-left corner, and any rectangle is a corner with two strips cut off and their overlap added back.
XandYare the numbers of auto and home claims, with the joint probability function below. What isF(1, 1)? The joint probability function:
Y = 0Y = 1Y = 2X = 00.30 0.15 0.05 X = 10.20 0.20 0.10
F(1, 1)adds the values withx \le 1andy \le 1.- The four values add to
F(1, 1) = 0.30 + 0.15 + 0.20 + 0.20 = 0.85
Marginal CDFs and independence
Letting y grow without bound gives the CDF of X:
F_X(x) = \lim_{y \to \infty} F(x, y)
X and Y are independent exactly when F(x, y) = F_X(x)\,F_Y(y). If F(x, y) factors into a CDF of x times a CDF of y, those factors are the marginal CDFs.
XandYtake values0, 1, 2, \ldotswithF(x, y)equal to1 - 0.6^times1 - 0.3^. What isP(X = 1, Y = 2)?
Ffactors, soXandYare independent withF_X(x) = 1 - 0.6^{x+1}andF_Y(y) = 1 - 0.3^{y+1}.P(X = 1)isF_X(1) - F_X(0), which is0.64 - 0.40 = 0.24.P(Y = 2)isF_Y(2) - F_Y(1), which is0.973 - 0.910 = 0.063.P(X = 1, Y = 2) = 0.24 \times 0.063 = 0.01512.
The probability of a rectangle
The probability that X is in (a, b] and Y is in (c, d] is
\begin{aligned} & P(a < X \le b,\ c < Y \le d) \\ & = F(b, d) - F(a, d) \\ & \quad - F(b, c) + F(a, c) \end{aligned}
For integer-valued X and Y, a single value of the joint probability function is the rectangle with a = x - 1 and c = y - 1.
For the auto and home claims above,
F(1, 1) = 0.85,F(0, 1) = 0.45,F(1, 0) = 0.50andF(0, 0) = 0.30. What isP(X = 1, Y = 1)?
- Cut off the strip
X \le 0, which isF(0, 1), and the stripY \le 0, which isF(1, 0).- The corner
F(0, 0)was cut off twice, so add it back once.- The probability is
P(X = 1, Y = 1) = 0.85 - 0.45 - 0.50 + 0.30 = 0.20
Subtracting one neighbour
F(1, 1) - F(0, 1) = 0.40isP(X = 1, Y \le 1), a whole strip. A single value needs all four terms.
The probability that both exceed
The probability that X is above x and Y is above y is
P(X > x, Y > y) = 1 - F_X(x) - F_Y(y) + F(x, y)
For continuous X and Y, the joint density is the derivative of F once in each variable:
f(x, y) = \frac{\partial^2 F(x, y)}{\partial x\, \partial y}
XandYhaveF(x, y) = \fracxy(x + y)for0 \le x, y \le 1. What isP(X > 0.5, Y > 0.5), and what is the joint density?
F_X(0.5) = F(0.5, 1) = 0.375, and by symmetryF_Y(0.5) = 0.375.F(0.5, 0.5) = 0.125.- The probability that both exceed 0.5 is
1 - 0.375 - 0.375 + 0.125 = 0.375
- Differentiating
\frac{1}{2}(x^2 y + x y^2)inxand then inygivesf(x, y) = x + y.