scribenaz/montyhall: Monty Hall Door Game and Evaluating Game of Chance Strategy

The game setup replicates the door game on the old TV game 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 doors 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. The code generated by this package will run 10,000 simulations and record the outcome of each simulation to make inferences on the outcome and the contestant's propability of Winning or Losing based upon their strategy of Staying or Switching doors in hopes of winning the car.

Getting started

Package details

Maintainer
License`use_mit_license()`, `use_gpl3_license()` or friends to pick a license
Version0.0.0.9000
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("scribenaz/montyhall")
scribenaz/montyhall documentation built on Jan. 31, 2021, 12:48 a.m.