Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For the answer to this question here: https://www.coursehero.com/tutors-problems/Statistics-and-Probability/26179744-Congratulations-You-have-made-it-onto-an-episode-of-the-game-show-Le/ I see that the outcome for door 3 has this code underneath: if(switch[k] ==2) {wins[k]= 1} if(switch[k]
For the answer to this question here: https://www.coursehero.com/tutors-problems/Statistics-and-Probability/26179744-Congratulations-You-have-made-it-onto-an-episode-of-the-game-show-Le/
I see that the outcome for door 3 has this code underneath:
if(switch[k] ==2) {wins[k]= 1}
if(switch[k] ==1) {wins[k]= 2}
if(switch[k] ==3) {wins[k]= 1}
if(switch[k] ==1) {wins[k]= 3}
if(switch[k] ==3) {wins[k]= 2}
if(switch[k] ==2) {wins[k]= 3}
I'm trying to understand why we did that in r studio and how it affects the results
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started