Making better decisions
August 12, 2020
statistics
We tend to make better decisions once learn more about the world around us. Supplied with more information, we can utilise that experience to recognize patterns and, sometimes, we can "see" how things are going to turn up. I say "tend to" because I am sure you have that friend who doesn't learn from bad decisions. Luckily, they have got you as a friend to steer them towards the right path. 👍
This is also true in the complicated world of probabilities. The more we know, the greater our chance to achieve the best possible outcome. The idea is quite simple, but sometimes the options are presented to us in a way that is not entirely clear how we can make use of our previous knowledge to make the best decision.
The idea of using known information in probability theory is known as conditional probability and sometimes the results are so counterintuitive that our minds can't grasp anything else than "WTF?". Let's start with a simple example first and then we develop the idea into actual mathematics.
A simple problem
Let's think about those kinds of textbooks problems that will probably never happen in real life. I know these problems are a bit silly, but there is a reason why they come up over and over again. The problem itself is not important, the key here is the idea.
Imagine you have three drawers:
- drawer one (D1) has two red balls
- drawer two (D2) has one red ball and one blue ball
- drawer three (D3) has two blue balls
The problem is: suppose you open one drawer at random and pick one ball with closed eyes. Later, we see the ball is blue. What is the probability the other ball in that drawer is also blue?
After thinking for a few seconds, there is one response that normally comes up quite quickly.
"" Well, if one ball is blue, it could only have come from either D2 or D3. Since there is only one ball left, it will be red if I am in D2 or blue if I am in D3. Hence, the chance is 50% of having selected D3. ""
If you came to this conclusion, unfortunately, you would be wrong. Worse, this reasoning seems so plausible it is hard to see a different answer to this problem. 😕
What was wrong?
The key idea in this post is: more information leads to a higher probability. If we stop and think, "what was the probability of selecting two blue balls at the beginning?", most of us will come up with 1/3, the correct answer. Once we know the colour of the first ball, our probabilities increase, from 33% to 50% (in the answer above, which is incorrect).
So, what is the problem with the reasoning above? The issue is that the information was oversimplified. The reasoning above acknowledges that we know in which drawer cannot be. However, we know more! We know what the color of one the balls actually is!
At first, it may seem these are equivalent, but in fact, they are not. I created a visual representation, with the solution, to our original problem.
The actual mathematics
Once we know what the color of the first ball is, we can safely exclude the first drawer as we know it is impossible the blue ball came from there. After extracting the first ball, 3 balls are remaining, 2 of which are blue. Therefore, our chance of getting an extra blue ball is 2/3.
That is the key idea behind conditional probability. Once we obtain information, we can update our views of how likely an event can occur and improve our odds.
You may have noticed this is an introduction to the topic, as so far I have not talked about any formulas. But for those you love formulas, I will throw one to make you happy. The conditional probability of an event occurring given that event occurred is
If you are familiar with sets, this is quite intuitive. Since we know has already happened, the only section of that can happen must have something in common with . This is represented by . Normally we would consider all possibilities, but this would be incorrect in this case since we know has occurred. We only need to consider the events which belong to .
If we represent the number of elements of a set by , we can "derive"1 the formula above based on our intuition
I created the same GIF as above, but using Venn diagrams instead of boxes, so it looks like more "math-like".
Conditional probability "in action"
I hope after the explanation above, it is clear how we can use information to improve our odds and make better decisions. You may have seen conditional probability in a few places before. The most recent example I can think of is in the movie 21.
That's the gist of conditional probability. If you fully understood the basics of conditional probability, you should be able to solve this riddle without a problem.
Until next time. ✌️
- This is far from a formal derivation, but I think it represents the idea↩