Marginal distribution: A distribution formed by calculating the subset of a larger probability distribution of a collection of random variables.
Example
Two random variables X and Y with joint PMF and marginal
PMFs:
Calculation :
- For discrete random variables, we sum over the unwanted variable.
- For continuous random variables, we would integrate over the unwanted variable.