Marginal Probability Function
Study guide: Exam P-1
A Marginal Probability Function is the probability function of one random variable, found from the joint probability function of several. For discrete X and Y, the marginal probability function of X adds the joint probability function over every value of Y:
f_X(x) = \sum_y f(x, y)
In the same way, f_Y(y) = \sum_x f(x, y). In a table, the marginals are the row and column totals written in its margins.
The idea A marginal answers any question about one variable alone, but it forgets how the two variables move together.
Multiplying the marginals gives back the joint probability function only when X and Y are independent.
XandYare each 0 or 1, withf(0, 0) = 0.25andf(0, 1) = 0.30. IfP(Y = 1) = 0.55, what aref(1, 1)andf(1, 0)?
f_Y(1) = f(0, 1) + f(1, 1), sof(1, 1) = 0.55 - 0.30 = 0.25.f_X(0) = 0.25 + 0.30 = 0.55, sof_X(1) = 1 - 0.55 = 0.45.f_X(1) = f(1, 0) + f(1, 1), sof(1, 0) = 0.45 - 0.25 = 0.20.
Supports that are not rectangles
When the support is not a rectangle, the sum runs only over the values of Y allowed with each x.
A policyholder files
Xclaims, from 0 to 3, andYof them are paid, so0 \le y \le x. Each of the 10 allowed pairs has probability\frac. What isP(X = 2)?
- With
x = 2, the allowed values ofyare 0, 1 and 2.- Adding their three probabilities,
f_X(2) = \frac{3}{10}.
Continuous random variables
For continuous X and Y, the marginal density of X integrates the joint density over y:
f_X(x) = \int_{-\infty}^{\infty} f(x, y)\, dy
The limits of the integral come from the support at each x.
XandYhave joint densityf(x, y) = 6xfor0 < x < y < 1. What is the marginal density ofX?
- For a fixed
x,yruns fromxto 1.- The marginal density is
f_X(x) = \int_x^1 6x\, dy = 6x(1 - x)
- It holds for
0 < x < 1, and it integrates to 1 there.
Fixed limits on a triangle On
0 < x < y < 1, integratingyfrom 0 to 1 adds density that isn't there. Read the limits off a sketch of the support.