[quote]pookie wrote:
LIFTICVSMAXIMVS wrote:
pookie wrote:
Switching takes your chances from 1/3 to 2/3, so yes, switching is good.
After door #3 was open by the host his chances became 1/2.
What does that change if he picks door #2?
Argh.
Have you read the rest of the thread?
Let’s try one more way:
You pick one door out of three. Your door has a 1/3 chance of being right. The remaining group of two non-picked doors has 2/3 chance of being right, right?
You have 1 group of 1 door with 1/3 the chances and a second group of two doors with 2/3 chances.
The host asks you if you’d prefer the second group with 2/3 the chances instead of your current group with 1/3 the chances. To do that, he eliminates one of the bad doors from the second group and offers you to switch to the remaining one.
As a group, the remaining door and the opened one still have 2/3 of the chances of having the prize. That’s why you have two closed doors with one of them (your initial pick) having 1/3 chance of winning and the remaining door having 2/3 chance of winning.
If you still don’t get it, well program yourself a simulation and find out by running a few million trials. You’ll get: “not switching” wins 33.3% or the time, “switching” wins 66.6%. It’s a mathematical fact.
[/quote]
Pookie, you are summing probabilities that are not related to each other.
Try this mental exercise. Assume there are two people separated by a wall so that they do not know what the other is doing. The first guy gets to pick 1 out of three.
The probability is: 1/3 right + 1/3 wrong + 1/3 wrong = 1
The host then eliminates one incorrect choice and tells the other guy separated by the wall, with no knowledge of what choice the other guy made, to pick one out of the two remaining.
The odds are: 1/2 right + 1/2 wrong = 1
The odds do not change just because there is only one guy picking nor are they different because the other guy has no knowledge of what is picked first – the situations are analogous to each other. The fact remains that after each possibility of picking an incorrect choice are removed the odds need to be recomputed. Your script does not account for that.