# 3. Monty-Hall 10-doors (modified).
Consider the following modified Monty-Hall game with 10 doors.
Step 1: you choose one door at random.
Step 2: Monty opens 7 (out of 9 doors) that do not have the prize.
Step 3: you either stick with your original choice, or choose between one of the two unopened doors.
Set up the experiment two functions "monty_10doors_mod_noswitch" and "monty_10doors_mod_switch" (these functions will have no input values):
```{r}
monty_10doors_mod_noswitch <- function(){
}
monty_10doors_mod_switch <- function(){
}
Use your two functions and the replicate function to compute the empirical probablility of winning for the two experiments.
The computation of the theoretical probability in this case might not be completely obvious, however, use your empirical probability to make a guess.
```{r}
```
Not for submission: Play with this modified setup, for example Monty opens 6 doors at step 2 e
1
Expert's answer
2020-10-07T22:25:37-0400
Dear nati, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment