Let's say I have a box with two dice. One of them is a regular die and the other has 3 on every face. Without looking, I randomly pick one of the dice, roll it, and see that I got a 3. I still don't know whether I rolled the fair or unfair die.
Does the fact that I rolled a 3 on my first roll change the likelihood that the die I rolled was the fair or unfair one, and if so, by how much?
The probability of choosing either die is 0.5, and the probability of seeing a three is approximately 0.583 (easy exercise).
Similarly the probability of picking the fair die and seeing a three is approximately 0.083, whereas the probability of picking the biased die and seeing a three is simply 0.5.
Use Bayes’ rule to calculate the probability of choosing either die, given that a three was observed.