Probability Tables
Often used as a convenient way to describe the joint probabilities of events.
Ex: Probability of Shirt Returns
Recall:
Ex: Product returns
Suppose a website sells three types of shirts, each with different return rates:
- Shirt 1: 60% of overall shirt sales, 15% of purchases returned
- Shirt 2: 30% of overall shirt sales, 25% of purchases returned
- Shirt 3: 10% of overall shirt sales, 35% of purchases returned
For a randomly selected shirt purchase, what is the probability
that the purchase is shirt 1 and is returned?Link to original
All that data can be cleanly shown in a table:
Yes () | No () | Total | |
---|---|---|---|
() | 0.090 | 0.510 | 0.600 |
() | 0.075 | 0.225 | 0.300 |
() | 0.035 | 0.065 | 0.100 |
Total | 0.200 | 0.800 | 1 |
Ex: Counts of Shirt Returns
Yes () | No () | Total | |
---|---|---|---|
() | 180 | 1020 | 1200 |
() | 150 | 450 | 600 |
() | 70 | 130 | 200 |
Total | 400 | 1600 | 2000 |
This table represents everything in the first example but with counts instead. We can reach the original table by dividing everything by 2,000.