jeresmi13/montyhall: The Monty Hall Problem Game

The game setup replicates the game on the TV show "Let's Make a Deal" where there are three doors for a contestant to choose from, one of which has a car behind it and two have goats. The contestant selects a door, then the host opens a door to reveal a goat, and then the contestant is given an opportunity to stay with their original selection or switch to the other unopened door. There was a famous debate about whether it was optimal to stay or switch when given the option to switch, so this simulation was created to test both strategies.

Getting started

Package details

License`use_mit_license()`, `use_gpl3_license()` or friends to pick a license
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
jeresmi13/montyhall documentation built on Feb. 2, 2021, 6:56 p.m.