Joint Distributions: The Multivariate World
In the real world, variables rarely exist in isolation. To model complex systems—like the relationship between a person's height and weight, or the speed and fuel consumption of a car—we need Joint Distributions.
A Joint Distribution allows us to calculate the probability of multiple events occurring simultaneously.
1. Discrete Joint Distributions (PMFs)
For discrete random variables and , the Joint Probability Mass Function (PMF) is defined as:
The Joint PMF Table
The most intuitive way to visualize discrete joint distributions is through a table. Each cell represents the probability of a specific pair.
Example: Let be the number of heads in 2 coin flips and be whether the first flip was a head ( for Head, for Tail).
| (Tail) | (Head) | Marginal | |
|---|---|---|---|
| 0 | |||
| 1 | |||
| 2 | |||
| Marginal | Sum = |
Key Rules for Joint PMFs:
- Normalization: The sum of all cells in the table must equal : .
- Positivity: for all .
2. Marginal Distributions: "Summing Out"
If you have the joint distribution but only care about one variable, you calculate its Marginal Distribution. You do this by summing across the rows or columns of the table.
- Marginal PMF of : Sum over all possible values.
- Marginal PMF of : Sum over all possible values.
Intuition: Marginalization is like looking at a 3D bar chart from the side. You "squash" all the probability mass onto one axis.
3. Expectations of Joint Variables
What is the average value of some function ? For example, the product or the sum .
Special Case:
The expected value of the product is a critical component for calculating Covariance.
4. Continuous Joint Distributions (PDFs)
For continuous variables, we use the Joint Probability Density Function (PDF), .
- Normalization: The total volume under the 3D surface must be :
- Marginal PDF: Instead of summing, we integrate out the variable we don't want:
5. Statistical Independence
Two random variables and are independent if knowing the value of one provides no information about the other. Mathematically, the joint distribution must be the product of the marginals:
Table Visual for Independence
In an independence table, every row must be proportional to every other row. If you see a zero in a cell where both marginals are non-zero, the variables cannot be independent.
Test Your Knowledge
Example: Calculating Marginals and Expectation
A joint PMF is given by: .
- Find the marginals and .
- Calculate .
View Step-by-Step Solution
1. Marginals:
2. Joint Expectation :