Automated Monty Hall Trials

Here we will generate empirical data to compare against the theoretical results of the two Monty Hall strategies. There are several proofs that show that a strategy of always changing from your initial choice will win with probability 2/3, while keeping the initial guess only wins with a probability of 1/3. Below, enter the number (a positive integer) of trials that you'd like to run, and whether you'd like to always keep your initial guess or change your choice. The algorithm will randomly choose a door, apply your choice of whether to keep it or not, and then record the result of the trial.

Trial Data

Run Trials

Results