Actuarial Notes

Conditional and Marginal Probability Functions

Study guide: Exam ACIA-CAPSTONE

The Conditional and Marginal Probability Functions each describe one random variable from a joint distribution. The marginal probability function f_X(x) is the distribution of X on its own, and the conditional probability function f_{X \mid Y}(x \mid y) is the distribution of X once Y = y is known.

For discrete X and Y with joint probability function f(x, y), the marginal probability function of X sums the joint probabilities over every value of Y:

f_X(x) = \sum_y f(x, y)

In a joint probability table, the marginals are the row and column totals. For continuous random variables, the sum becomes an integral of the joint density over y.

The conditional probability function of X given Y = y is

f_{X \mid Y}(x \mid y) = \frac{f(x, y)}{f_Y(y)}

  • f_Y(y) > 0 is the marginal probability that Y = y.

It is conditional probability applied to every value of X at once. Conditioning on any event F about X and Y works the same way: an outcome inside F has conditional probability equal to its joint probability divided by P(F), and an outcome outside F has conditional probability 0. If X and Y are independent, the conditional equals the marginal, f_{X \mid Y}(x \mid y) = f_X(x).

What are the marginal distribution of X and P(X = 1 \mid Y = 2)? X is the number of claims on a policy and Y its policy type, with the joint probability function:

Y = 1 Y = 2
X = 0 0.3 0.1
X = 1 0.2 0.4

Answer

  • The row totals give the marginal of X: f_X(0) = 0.3 + 0.1 = 0.4 and f_X(1) = 0.2 + 0.4 = 0.6.
  • The column total for Y = 2 is f_Y(2) = 0.1 + 0.4 = 0.5.
  • P(X = 1 \mid Y = 2) = \frac{f(1, 2)}{f_Y(2)} = \frac{0.4}{0.5} = 0.8.

Dividing by the wrong total P(X = 1 \mid Y = 2) divides by the total of the column Y = 2, which is 0.5. Dividing by the row total f_X(1) = 0.6 gives \frac{0.4}{0.6} = 0.67, which is P(Y = 2 \mid X = 1).

Practice questions

Actuarial Notes