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) > 0is the marginal probability thatY = 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
XandP(X = 1 \mid Y = 2)?Xis the number of claims on a policy andYits policy type, with the joint probability function:
Y = 1Y = 2X = 00.3 0.1 X = 10.2 0.4 Answer
- The row totals give the marginal of
X:f_X(0) = 0.3 + 0.1 = 0.4andf_X(1) = 0.2 + 0.4 = 0.6.- The column total for
Y = 2isf_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 columnY = 2, which is0.5. Dividing by the row totalf_X(1) = 0.6gives\frac{0.4}{0.6} = 0.67, which isP(Y = 2 \mid X = 1).
Practice questions
- SOA Exam P Sample Question 373
- SOA Exam P Sample Question 400
- SOA Exam P Sample Question 404
- SOA Exam P Sample Question 410
- SOA Exam P Sample Question 411
- SOA Exam P Sample Question 446
- SOA Exam P Sample Question 449
- SOA Exam P Sample Question 471
- SOA Exam P Sample Question 476
- SOA Exam P Sample Question 493
- SOA Exam P Sample Question 517
- SOA Exam P Sample Question 574
- SOA Exam P Sample Question 587
- SOA Exam P Sample Question 606
- SOA Exam P Sample Question 617
- SOA Exam P Sample Question 627
- SOA Exam P Sample Question 631
- SOA Exam P Sample Question 638
- SOA Exam P Sample Question 651
- SOA Exam P Sample Question 652