Actuarial Notes

Joint Probability Function

Study guides: Exam P-1, Exam ACIA-CAPSTONE

A Joint Probability Function of discrete random variables X and Y gives the probability that X = x and Y = y at the same time:

f(x, y) = P(X = x, Y = y)

Every value of f(x, y) is at least 0, and the values over all pairs add to 1:

\sum_x \sum_y f(x, y) = 1

The continuous counterpart is the joint density.

The idea Every probability about X and Y is a sum of values of their joint probability function.

Adding a row of the table gives a marginal probability. Dividing a row by its total gives a conditional probability function.

X and Y are each 0 or 1, with f(0, 0) = 0.5, f(0, 1) = 0.2 and f(1, 0) = 0.2. What is f(1, 1)?

  • The four values add to 1.
  • f(1, 1) = 1 - 0.5 - 0.2 - 0.2 = 0.1.

The probability of an event

The probability of an event about X and Y is

P\big((X, Y) \in R\big) = \sum_{(x, y) \in R} f(x, y)

  • R is the set of pairs (x, y) for which the event holds.

X and Y are the numbers of auto and home claims, with the joint probability function below. What is the probability of at least two claims in total? The joint probability function:

Y = 0 Y = 1 Y = 2
X = 0 0.30 0.15 0.05
X = 1 0.20 0.20 0.10
  • At least two claims in total means x + y \ge 2.
  • The pairs are (0, 2), (1, 1) and (1, 2).
  • The probability is 0.05 + 0.20 + 0.10 = 0.35.

The distribution of a sum

The probability that X + Y equals s adds the pairs whose values add to s:

P(X + Y = s) = \sum_x f(x, s - x)

An aggregate loss is such a sum, with one term for each claim.

For the auto and home claims above, what is the probability of exactly two claims in total?

  • The pairs that add to 2 are (0, 2) and (1, 1).
  • P(X + Y = 2) = 0.05 + 0.20 = 0.25.

The distribution of a difference is found the same way: list every pair, and add the probabilities of the pairs whose values differ by d. For independent X and Y, each pair's probability is the product f(x, y) = P(X = x)\,P(Y = y).

A joint probability function given by a formula

When f(x, y) is a formula with an unknown constant, the constant makes the values over the support add to 1. Only the pairs in the support are added.

f(x, y) = c(x + y) for x and y in \$ with x \le y. What is c$?

  • The pairs with x \le y are (0, 0), (0, 1), (0, 2), (1, 1), (1, 2) and (2, 2).
  • Their values of x + y add to 0 + 1 + 2 + 2 + 3 + 4 = 12.
  • So 12c = 1 and c = \frac{1}{12}.

Summing over the wrong support Summing x + y over all nine pairs in the example gives 18 and the wrong c = \frac{1}{18}. Add only the pairs the support allows.

Counts of several categories, such as claims by type, have a joint probability function of their own, the multinomial distribution.

Practice questions

Actuarial Notes