Comment

Comment by tgb

You stimulated out the situation where Monty Hall always picks the door without the prize. That’s exactly the standard Monty Hall problem. Change your code to instead allow him to choose the prize door (but never the player’s door). Then condition on him picking the goat door by dropping all the cases where he picked the prize door.

You’ll see that that changes it by discarding scenarios where switching is good (the prize is shown to you) but not ones where staying is bad.

parent tgb 4 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton