Conditional Distributions
If a Joint distribution is a 3D landscape, a Conditional Distribution is a "slice" of that landscape. It tells us how one variable behaves when we fix the value of another.
The "Slicing" Intuition
Imagine you have a joint PDF representing the height and weight of people. If I tell you, "This person is exactly 180cm tall," we are no longer looking at the whole 3D surface. We are looking at a 2D curve at .
However, because we "cut" the surface, the area under our slice might not equal 1. To make it a valid probability distribution, we must re-normalize it by dividing by the marginal probability.
The Definition
For a fixed value of , the conditional PDF of is:
This is essentially the multivariate version of the Conditional Probability Definition.
Law of Total Probability (Continuous)
We can find the overall marginal probability of by summing up all the "slices" of its conditional distribution, weighted by the probability of each slice:
The Law of Iterated Expectations (Adam's Law)
This is a "God-tier" shortcut for finding the mean of a variable. It states:
The "Average of Averages" Intuition
If you want to find the average height of a city, you can:
- Calculate the average height of each neighborhood ().
- Then, take the average of those neighborhood averages ().
This is extremely useful when the overall mean is hard to calculate, but the means within specific groups are easy to find.
Test Your Knowledge
Example: Calculating a Conditional Mean
Suppose . If the mean of is , find the overall mean .
View Step-by-Step Solution
Using the Law of Iterated Expectations:
Using the linearity of expectation:
The mean of is 13. Notice we didn't even need to know the full distribution of or !