- two events are independent when ; two random variables are independent when that holds for every pair of values
- joint pmf: probability both happen at once,
- the cumulative version is the Joint CDF
- marginal pmf: sum the joint over the other variable,
- conditional pmf: Conditional Probability applied to values
Random employee hiring
Ten students apply, one is picked uniformly at random. if person 3, 5, 7 or 8 gets the job, else . if person 1, 2, 3, 4 or 5 gets it, else . Are and independent?
- marginals
- for , so ,
- for , so
- joint, via ( or just count people )
- ( persons 6, 9, 10 )
- ( 1, 2, 4 )
- ( 7, 8 )
- ( 3, 5 )
- check every cell against the product of marginals
- and , so yes, independent
- summing a row gives the marginal back: