Monty Hall problem with coin flip












1












$begingroup$



Before each show, Monty secretly flips a coin with probability p of Heads. If the coin
lands Heads, Monty resolves to open a goat door (with equal probabilities if there is
a choice). Otherwise, Monty resolves to open a random unopened door, with equal probabilities. The contestant knows p but does not know the outcome of the coin flip.
When the show starts, the contestant chooses a door. Monty (who knows where the car is) then opens a door. If the car is revealed, the game is over; if a goat is revealed, the contestant is offered the option of switching. Now suppose it turns out that the contestant opens door 1 and then Monty opens door 2, revealing a goat. What is the contestant’s probability of success if he or she switches to door 3?




This is from "Introduction to Probability" By Joseph K. Blitzstein



The solution that I came up with is the following:



Ci - event that car is behind door i



H - event that coin landed head



Xi - event that participant picks door i initially
Oi - event that Monty opens door i



Given this we have:



$P(C3|X1, O2) = frac{P(O2|C3, X1)P(C3|X1)}{P(O2|C3, X1)}$



And:



$P(O2|C3, X1) = P(O2|C3, X1, H)P(H|C3, X1) + P(O2|C3, X1, Hc)P(Hc|C3, X1)$



I'd appreciate some thoughts on this.










share|cite|improve this question









$endgroup$












  • $begingroup$
    Well.... did you try plugging in some numbers? It seems like a straightforward Baye's theorem.
    $endgroup$
    – fleablood
    Nov 26 '18 at 23:18










  • $begingroup$
    Don't think you need to worry about probability that contestant picks door i. We are given that he picked door 1. That's a given.
    $endgroup$
    – fleablood
    Nov 26 '18 at 23:20
















1












$begingroup$



Before each show, Monty secretly flips a coin with probability p of Heads. If the coin
lands Heads, Monty resolves to open a goat door (with equal probabilities if there is
a choice). Otherwise, Monty resolves to open a random unopened door, with equal probabilities. The contestant knows p but does not know the outcome of the coin flip.
When the show starts, the contestant chooses a door. Monty (who knows where the car is) then opens a door. If the car is revealed, the game is over; if a goat is revealed, the contestant is offered the option of switching. Now suppose it turns out that the contestant opens door 1 and then Monty opens door 2, revealing a goat. What is the contestant’s probability of success if he or she switches to door 3?




This is from "Introduction to Probability" By Joseph K. Blitzstein



The solution that I came up with is the following:



Ci - event that car is behind door i



H - event that coin landed head



Xi - event that participant picks door i initially
Oi - event that Monty opens door i



Given this we have:



$P(C3|X1, O2) = frac{P(O2|C3, X1)P(C3|X1)}{P(O2|C3, X1)}$



And:



$P(O2|C3, X1) = P(O2|C3, X1, H)P(H|C3, X1) + P(O2|C3, X1, Hc)P(Hc|C3, X1)$



I'd appreciate some thoughts on this.










share|cite|improve this question









$endgroup$












  • $begingroup$
    Well.... did you try plugging in some numbers? It seems like a straightforward Baye's theorem.
    $endgroup$
    – fleablood
    Nov 26 '18 at 23:18










  • $begingroup$
    Don't think you need to worry about probability that contestant picks door i. We are given that he picked door 1. That's a given.
    $endgroup$
    – fleablood
    Nov 26 '18 at 23:20














1












1








1


2



$begingroup$



Before each show, Monty secretly flips a coin with probability p of Heads. If the coin
lands Heads, Monty resolves to open a goat door (with equal probabilities if there is
a choice). Otherwise, Monty resolves to open a random unopened door, with equal probabilities. The contestant knows p but does not know the outcome of the coin flip.
When the show starts, the contestant chooses a door. Monty (who knows where the car is) then opens a door. If the car is revealed, the game is over; if a goat is revealed, the contestant is offered the option of switching. Now suppose it turns out that the contestant opens door 1 and then Monty opens door 2, revealing a goat. What is the contestant’s probability of success if he or she switches to door 3?




This is from "Introduction to Probability" By Joseph K. Blitzstein



The solution that I came up with is the following:



Ci - event that car is behind door i



H - event that coin landed head



Xi - event that participant picks door i initially
Oi - event that Monty opens door i



Given this we have:



$P(C3|X1, O2) = frac{P(O2|C3, X1)P(C3|X1)}{P(O2|C3, X1)}$



And:



$P(O2|C3, X1) = P(O2|C3, X1, H)P(H|C3, X1) + P(O2|C3, X1, Hc)P(Hc|C3, X1)$



I'd appreciate some thoughts on this.










share|cite|improve this question









$endgroup$





Before each show, Monty secretly flips a coin with probability p of Heads. If the coin
lands Heads, Monty resolves to open a goat door (with equal probabilities if there is
a choice). Otherwise, Monty resolves to open a random unopened door, with equal probabilities. The contestant knows p but does not know the outcome of the coin flip.
When the show starts, the contestant chooses a door. Monty (who knows where the car is) then opens a door. If the car is revealed, the game is over; if a goat is revealed, the contestant is offered the option of switching. Now suppose it turns out that the contestant opens door 1 and then Monty opens door 2, revealing a goat. What is the contestant’s probability of success if he or she switches to door 3?




This is from "Introduction to Probability" By Joseph K. Blitzstein



The solution that I came up with is the following:



Ci - event that car is behind door i



H - event that coin landed head



Xi - event that participant picks door i initially
Oi - event that Monty opens door i



Given this we have:



$P(C3|X1, O2) = frac{P(O2|C3, X1)P(C3|X1)}{P(O2|C3, X1)}$



And:



$P(O2|C3, X1) = P(O2|C3, X1, H)P(H|C3, X1) + P(O2|C3, X1, Hc)P(Hc|C3, X1)$



I'd appreciate some thoughts on this.







combinatorics conditional-probability monty-hall






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 26 '18 at 22:02









Erik Cristian SeuleanErik Cristian Seulean

556




556












  • $begingroup$
    Well.... did you try plugging in some numbers? It seems like a straightforward Baye's theorem.
    $endgroup$
    – fleablood
    Nov 26 '18 at 23:18










  • $begingroup$
    Don't think you need to worry about probability that contestant picks door i. We are given that he picked door 1. That's a given.
    $endgroup$
    – fleablood
    Nov 26 '18 at 23:20


















  • $begingroup$
    Well.... did you try plugging in some numbers? It seems like a straightforward Baye's theorem.
    $endgroup$
    – fleablood
    Nov 26 '18 at 23:18










  • $begingroup$
    Don't think you need to worry about probability that contestant picks door i. We are given that he picked door 1. That's a given.
    $endgroup$
    – fleablood
    Nov 26 '18 at 23:20
















$begingroup$
Well.... did you try plugging in some numbers? It seems like a straightforward Baye's theorem.
$endgroup$
– fleablood
Nov 26 '18 at 23:18




$begingroup$
Well.... did you try plugging in some numbers? It seems like a straightforward Baye's theorem.
$endgroup$
– fleablood
Nov 26 '18 at 23:18












$begingroup$
Don't think you need to worry about probability that contestant picks door i. We are given that he picked door 1. That's a given.
$endgroup$
– fleablood
Nov 26 '18 at 23:20




$begingroup$
Don't think you need to worry about probability that contestant picks door i. We are given that he picked door 1. That's a given.
$endgroup$
– fleablood
Nov 26 '18 at 23:20










1 Answer
1






active

oldest

votes


















1












$begingroup$

The coin flip, the door that the contestant picks, and the placement of the car will be mutually independent .



However, the door that Monty picked depended on their result.   When the contestant and car indicate different doors, then if the coin landed heads, Monty certainly revealed the only goat he could, but otherwise he had unbiasedly choosen a door from those the contestant did not choose reguardless of the car placement.



$$begin{split}mathsf P(O_2mid X_1,C_3) &= mathsf P(H)~mathsf P(O_2mid H,X_1,C_3) + mathsf P(H^complement)~mathsf P(O_2mid H^complement,X_1)end{split}$$



Of course, if both the contestant and car choose the same door, then Monty's choiseof goats was unbiased whatever the coin may have said.





$$begin{split}mathsf P(C_3mid X_1,O_2) &= dfrac{mathsf P(C_3)~mathsf P(O_2mid X_1,C_3)}{mathsf P(C_1)~mathsf P(O_2mid X_1,C_1)+mathsf P(C_3)~mathsf P(O_2mid X_1,C_3)}end{split}$$






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Thanks for this, yeah, I thought about being independent events, although didn't simplify.
    $endgroup$
    – Erik Cristian Seulean
    Nov 28 '18 at 20:57











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3015002%2fmonty-hall-problem-with-coin-flip%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1












$begingroup$

The coin flip, the door that the contestant picks, and the placement of the car will be mutually independent .



However, the door that Monty picked depended on their result.   When the contestant and car indicate different doors, then if the coin landed heads, Monty certainly revealed the only goat he could, but otherwise he had unbiasedly choosen a door from those the contestant did not choose reguardless of the car placement.



$$begin{split}mathsf P(O_2mid X_1,C_3) &= mathsf P(H)~mathsf P(O_2mid H,X_1,C_3) + mathsf P(H^complement)~mathsf P(O_2mid H^complement,X_1)end{split}$$



Of course, if both the contestant and car choose the same door, then Monty's choiseof goats was unbiased whatever the coin may have said.





$$begin{split}mathsf P(C_3mid X_1,O_2) &= dfrac{mathsf P(C_3)~mathsf P(O_2mid X_1,C_3)}{mathsf P(C_1)~mathsf P(O_2mid X_1,C_1)+mathsf P(C_3)~mathsf P(O_2mid X_1,C_3)}end{split}$$






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Thanks for this, yeah, I thought about being independent events, although didn't simplify.
    $endgroup$
    – Erik Cristian Seulean
    Nov 28 '18 at 20:57
















1












$begingroup$

The coin flip, the door that the contestant picks, and the placement of the car will be mutually independent .



However, the door that Monty picked depended on their result.   When the contestant and car indicate different doors, then if the coin landed heads, Monty certainly revealed the only goat he could, but otherwise he had unbiasedly choosen a door from those the contestant did not choose reguardless of the car placement.



$$begin{split}mathsf P(O_2mid X_1,C_3) &= mathsf P(H)~mathsf P(O_2mid H,X_1,C_3) + mathsf P(H^complement)~mathsf P(O_2mid H^complement,X_1)end{split}$$



Of course, if both the contestant and car choose the same door, then Monty's choiseof goats was unbiased whatever the coin may have said.





$$begin{split}mathsf P(C_3mid X_1,O_2) &= dfrac{mathsf P(C_3)~mathsf P(O_2mid X_1,C_3)}{mathsf P(C_1)~mathsf P(O_2mid X_1,C_1)+mathsf P(C_3)~mathsf P(O_2mid X_1,C_3)}end{split}$$






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Thanks for this, yeah, I thought about being independent events, although didn't simplify.
    $endgroup$
    – Erik Cristian Seulean
    Nov 28 '18 at 20:57














1












1








1





$begingroup$

The coin flip, the door that the contestant picks, and the placement of the car will be mutually independent .



However, the door that Monty picked depended on their result.   When the contestant and car indicate different doors, then if the coin landed heads, Monty certainly revealed the only goat he could, but otherwise he had unbiasedly choosen a door from those the contestant did not choose reguardless of the car placement.



$$begin{split}mathsf P(O_2mid X_1,C_3) &= mathsf P(H)~mathsf P(O_2mid H,X_1,C_3) + mathsf P(H^complement)~mathsf P(O_2mid H^complement,X_1)end{split}$$



Of course, if both the contestant and car choose the same door, then Monty's choiseof goats was unbiased whatever the coin may have said.





$$begin{split}mathsf P(C_3mid X_1,O_2) &= dfrac{mathsf P(C_3)~mathsf P(O_2mid X_1,C_3)}{mathsf P(C_1)~mathsf P(O_2mid X_1,C_1)+mathsf P(C_3)~mathsf P(O_2mid X_1,C_3)}end{split}$$






share|cite|improve this answer









$endgroup$



The coin flip, the door that the contestant picks, and the placement of the car will be mutually independent .



However, the door that Monty picked depended on their result.   When the contestant and car indicate different doors, then if the coin landed heads, Monty certainly revealed the only goat he could, but otherwise he had unbiasedly choosen a door from those the contestant did not choose reguardless of the car placement.



$$begin{split}mathsf P(O_2mid X_1,C_3) &= mathsf P(H)~mathsf P(O_2mid H,X_1,C_3) + mathsf P(H^complement)~mathsf P(O_2mid H^complement,X_1)end{split}$$



Of course, if both the contestant and car choose the same door, then Monty's choiseof goats was unbiased whatever the coin may have said.





$$begin{split}mathsf P(C_3mid X_1,O_2) &= dfrac{mathsf P(C_3)~mathsf P(O_2mid X_1,C_3)}{mathsf P(C_1)~mathsf P(O_2mid X_1,C_1)+mathsf P(C_3)~mathsf P(O_2mid X_1,C_3)}end{split}$$







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Nov 26 '18 at 23:20









Graham KempGraham Kemp

85.1k43378




85.1k43378












  • $begingroup$
    Thanks for this, yeah, I thought about being independent events, although didn't simplify.
    $endgroup$
    – Erik Cristian Seulean
    Nov 28 '18 at 20:57


















  • $begingroup$
    Thanks for this, yeah, I thought about being independent events, although didn't simplify.
    $endgroup$
    – Erik Cristian Seulean
    Nov 28 '18 at 20:57
















$begingroup$
Thanks for this, yeah, I thought about being independent events, although didn't simplify.
$endgroup$
– Erik Cristian Seulean
Nov 28 '18 at 20:57




$begingroup$
Thanks for this, yeah, I thought about being independent events, although didn't simplify.
$endgroup$
– Erik Cristian Seulean
Nov 28 '18 at 20:57


















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3015002%2fmonty-hall-problem-with-coin-flip%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents