Joint PMFs and Multiple Random Variables
Joint PMF
When dealing with multiple random variables, the joint PMF describes their combined behavior:
This gives the probability that takes value and takes value simultaneously.
Marginal PMF
From the joint PMF, we can find the marginal PMF of each variable:
We sum over all possible values of to get the distribution of alone.
Intuition
The marginal PMF “integrates out” the other variable, giving us the distribution of one variable ignoring the other.
Conditional PMF
The conditional PMF of given :
This describes the distribution of when we know that .
Properties
- For a fixed , the conditional PMF sums to 1:
- Conditional PMFs behave just like ordinary PMFs—they just apply in a “conditional universe”
Multiplication Rule
This connects joint, marginal, and conditional PMFs.
Independence of Random Variables
Two random variables and are independent if and only if:
For Multiple Random Variables
Random variables are independent if:
Note: This is simpler than independence of events! For events, we needed to check many conditions. For random variables, just one equation suffices.
Functions of Multiple Random Variables
Expected Value
For a function :
Linearity
This always holds, even if and are dependent.
Product (Independent Case)
If and are independent:
Variance of Sums
Independent Case
If and are independent:
Dependent Case
For dependent variables, we need covariance:
Example: Three Coin Flips
Consider three coin flips. Let:
- = number of heads in first two flips
- = number of heads in last two flips
The joint PMF can be computed by enumerating all 8 possible outcomes (HHH, HHT, etc.).
From the joint PMF:
- Find marginal PMF of by summing over
- Find conditional PMF of given
- Check if and are independent