R Script Demo: Monty Hall Problem Simulation
HTML-код
- Опубликовано: 21 авг 2024
- In this video we look at a script that uses R code to simulate the Monty Hall problem. Three prizes (two goats and a car) are placed randomly behind three doors (or curtains). The contestant chooses a door and is then shown a goat behind one of the doors not selected. The contestant must then decide between keeping the original choice or switching. The simulation reveals that switching is the better strategy. The R script uses: list, for-loop, seq, sample, match, runif, as.integer, among others.
Just because the title of this question has been repeated endlessly declares or implies that intuition is wrong. After learning this explanation, some people feel that they are absolutely correct, and their egos are inflated. They cannot accept other people's thinking processes and practices, and are close to becoming beliefs. . Isn’t this also intuitive?
This also seems to make most people confuse the difference between quick thinking and intuition, and some people directly despise intuition. Don’t you think there is a problem?
s the reality of quantum mechanics more logical than what the math? The player never knows which goat is the one revealed.。.Don’t let the Jews fool you. If life is an endless choice, then if we face it with this way of dealing with things, then what aspect of human nature is eternal?