Skip to content

chrismdollinger/The-Monty-Hall-Problem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Monty Hall Problem Simulator

The Monty Hall Problem is a mathematical proof that somehow turns a 50/50 shot a winning a car into a 66% chance of winning a car. I intend to sort out how it works by simulating a large number of runs of the Monty Hall game and seeing what the results show.

Order of Events

  • Place the car (pick one of the total doors)
  • Pick 1 door (pick one of the total doors)
  • Pick doors to eliminate (pick the door that was previously chosen and another door, either the correct door or a random door if the correct one was chosen)
  • Pick to swap or stay (50/50 decision)
  • Record win or loss
  • Repeat a number of times

Manually Set Items

  • Number of doors to choose from (how does this affect the outcome)
  • Number of runs to do

References

Monty Hall Problem Explained

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages