{"id":1221,"date":"2023-08-30T17:37:18","date_gmt":"2023-08-30T16:37:18","guid":{"rendered":"http:\/\/www.cir-strategy.com\/blog\/?p=1221"},"modified":"2023-11-23T11:25:09","modified_gmt":"2023-11-23T11:25:09","slug":"generalised-game-show-problem-using-bayes-theorem","status":"publish","type":"post","link":"http:\/\/www.cir-strategy.com\/blog\/?p=1221","title":{"rendered":"Generalised Game Show Problem"},"content":{"rendered":"<p>We generalise a result in Professor David Mackay\u2019s book on inference. Bayes theorem also plays a crucial role in decision-making:<\/p>\n<p><span class=\"math display\"><math display=\"block\" xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mi>P<\/mi><mo stretchy=\"false\">(<\/mo><mi>A<\/mi><mo stretchy=\"false\" data-mjx-texclass=\"ORD\">|<\/mo><mi>D<\/mi><mo stretchy=\"false\">)<\/mo><mo>=<\/mo><mfrac><mrow><mi>P<\/mi><mo stretchy=\"false\">(<\/mo><mi>D<\/mi><mo stretchy=\"false\" data-mjx-texclass=\"ORD\">|<\/mo><mi>A<\/mi><mo stretchy=\"false\">)<\/mo><mi>P<\/mi><mo stretchy=\"false\">(<\/mo><mi>A<\/mi><mo stretchy=\"false\">)<\/mo><\/mrow><mrow><mi>P<\/mi><mo stretchy=\"false\">(<\/mo><mi>D<\/mi><mo stretchy=\"false\" data-mjx-texclass=\"ORD\">|<\/mo><mi>A<\/mi><mo stretchy=\"false\">)<\/mo><mi>P<\/mi><mo stretchy=\"false\">(<\/mo><mi>A<\/mi><mo stretchy=\"false\">)<\/mo><mo>+<\/mo><mi>P<\/mi><mo stretchy=\"false\">(<\/mo><mi>D<\/mi><mo stretchy=\"false\" data-mjx-texclass=\"ORD\">|<\/mo><mi mathvariant=\"normal\">\u00ac<\/mi><mi>A<\/mi><mo stretchy=\"false\">)<\/mo><mi>P<\/mi><mo stretchy=\"false\">(<\/mo><mi mathvariant=\"normal\">\u00ac<\/mi><mi>A<\/mi><mo stretchy=\"false\">)<\/mo><\/mrow><\/mfrac><\/math><\/span><\/p>\n<p>Let us consider a worked example which demonstrates how unintuitive results following from this 260-year-old theorem can be.<\/p>\n<p>In the Game Show example, we can simplify Bayes\u2019 Theorem by using a form that expands out all individual doors, and then cancelling off the unconditional probability of each door in numerator and denominator as they are each <span class=\"math inline\"><math xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mtext>P(any door)<\/mtext><mo>=<\/mo><mfrac><mn>1<\/mn><mi>n<\/mi><\/mfrac><\/math><\/span>, where there are n doors. We consider the two distinct representative cases:<\/p>\n<p><span class=\"math display\"><math display=\"block\" xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mi>P<\/mi><mo stretchy=\"false\">(<\/mo><mtext>prize behind my chosen door<\/mtext><mo>\u2223<\/mo><mtext>m<\/mtext><mo stretchy=\"false\">)<\/mo><mo>=<\/mo><mfrac><mrow><mi>P<\/mi><mo stretchy=\"false\">(<\/mo><mtext>m<\/mtext><mo>\u2223<\/mo><mtext>prize behind my chosen door<\/mtext><mo stretchy=\"false\">)<\/mo><\/mrow><mi>P<\/mi><\/mfrac><\/math><\/span><\/p>\n<p><span class=\"math display\"><math display=\"block\" xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mi>P<\/mi><mo stretchy=\"false\">(<\/mo><mtext>prize behind another door<\/mtext><mo>\u2223<\/mo><mtext>m<\/mtext><mo stretchy=\"false\">)<\/mo><mo>=<\/mo><mfrac><mrow><mi>P<\/mi><mo stretchy=\"false\">(<\/mo><mtext>m<\/mtext><mo>\u2223<\/mo><mtext>prize behind another door<\/mtext><mo stretchy=\"false\">)<\/mo><\/mrow><mi>P<\/mi><\/mfrac><\/math><\/span><\/p>\n<p>where here<\/p>\n<p><span class=\"math display\"><math display=\"block\" xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mi>P<\/mi><mo>=<\/mo><mn>1<\/mn><mrow data-mjx-texclass=\"ORD\"><mo>\/<\/mo><\/mrow><mrow data-mjx-texclass=\"ORD\"><\/mrow><mrow data-mjx-texclass=\"OPEN\"><mo maxsize=\"2.047em\" minsize=\"2.047em\">(<\/mo><\/mrow><mfrac linethickness=\"0\"><mrow><mi>n<\/mi><mo>\u2212<\/mo><mn>1<\/mn><\/mrow><mi>m<\/mi><\/mfrac><mrow data-mjx-texclass=\"CLOSE\"><mo maxsize=\"2.047em\" minsize=\"2.047em\">)<\/mo><\/mrow><mo>+<\/mo><mo stretchy=\"false\">(<\/mo><mi>n<\/mi><mo>\u2212<\/mo><mn>1<\/mn><mo stretchy=\"false\">)<\/mo><mrow data-mjx-texclass=\"ORD\"><mo>\/<\/mo><\/mrow><mrow data-mjx-texclass=\"ORD\"><\/mrow><mrow data-mjx-texclass=\"OPEN\"><mo maxsize=\"2.047em\" minsize=\"2.047em\">(<\/mo><\/mrow><mfrac linethickness=\"0\"><mrow><mi>n<\/mi><mo>\u2212<\/mo><mn>2<\/mn><\/mrow><mi>m<\/mi><\/mfrac><mrow data-mjx-texclass=\"CLOSE\"><mo maxsize=\"2.047em\" minsize=\"2.047em\">)<\/mo><\/mrow><\/math><\/span><\/p>\n<p>and where <span class=\"math inline\"><math xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mo>\u2223<\/mo><mi>m<\/mi><\/math><\/span> means that any m doors were removed at the usual intermediate stage after I chose a door. When we start with n doors, and one has been chosen, and that door happens to have the prize behind it, then the Game Show Host is free to remove m doors from the set of <span class=\"math inline\"><math xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mi>n<\/mi><mo>\u2212<\/mo><mn>1<\/mn><\/math><\/span> doors and so there are <span class=\"math inline\"><math xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mrow data-mjx-texclass=\"ORD\"><\/mrow><mrow data-mjx-texclass=\"OPEN\"><mo maxsize=\"1.2em\" minsize=\"1.2em\">(<\/mo><\/mrow><mfrac linethickness=\"0\"><mrow><mi>n<\/mi><mo>\u2212<\/mo><mn>1<\/mn><\/mrow><mi>m<\/mi><\/mfrac><mrow data-mjx-texclass=\"CLOSE\"><mo maxsize=\"1.2em\" minsize=\"1.2em\">)<\/mo><\/mrow><\/math><\/span> available ways for the host to do so.<\/p>\n<p>The probability <span class=\"math inline\"><math xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mtext>P(any<\/mtext><mstyle scriptlevel=\"0\"><mspace width=\"0.278em\"><\/mspace><\/mstyle><mtext>m<\/mtext><mo>\u2223<\/mo><mn>1<\/mn><mo stretchy=\"false\">)<\/mo><\/math><\/span> is therefore <span class=\"math inline\"><math xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mn>1<\/mn><mrow data-mjx-texclass=\"ORD\"><mo>\/<\/mo><\/mrow><mrow data-mjx-texclass=\"ORD\"><\/mrow><mrow data-mjx-texclass=\"OPEN\"><mo maxsize=\"1.2em\" minsize=\"1.2em\">(<\/mo><\/mrow><mfrac linethickness=\"0\"><mrow><mi>n<\/mi><mo>\u2212<\/mo><mn>1<\/mn><\/mrow><mi>m<\/mi><\/mfrac><mrow data-mjx-texclass=\"CLOSE\"><mo maxsize=\"1.2em\" minsize=\"1.2em\">)<\/mo><\/mrow><\/math><\/span>, since we equivocate between all the host\u2019s options. For the other case, there are only <span class=\"math inline\"><math xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mi>n<\/mi><mo>\u2212<\/mo><mn>2<\/mn><\/math><\/span> doors for the host to choose m from, so the number of ways is <span class=\"math inline\"><math xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mrow data-mjx-texclass=\"ORD\"><\/mrow><mrow data-mjx-texclass=\"OPEN\"><mo maxsize=\"1.2em\" minsize=\"1.2em\">(<\/mo><\/mrow><mfrac linethickness=\"0\"><mrow><mi>n<\/mi><mo>\u2212<\/mo><mn>2<\/mn><\/mrow><mi>m<\/mi><\/mfrac><mrow data-mjx-texclass=\"CLOSE\"><mo maxsize=\"1.2em\" minsize=\"1.2em\">)<\/mo><\/mrow><\/math><\/span>, and the probability <span class=\"math inline\"><math xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mtext>P(any<\/mtext><mstyle scriptlevel=\"0\"><mspace width=\"0.278em\"><\/mspace><\/mstyle><mtext>m<\/mtext><mo>\u2223<\/mo><mtext>not 1<\/mtext><mo stretchy=\"false\">)<\/mo><\/math><\/span> is therefore <span class=\"math inline\"><math xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mn>1<\/mn><mrow data-mjx-texclass=\"ORD\"><mo>\/<\/mo><\/mrow><mrow data-mjx-texclass=\"ORD\"><\/mrow><mrow data-mjx-texclass=\"OPEN\"><mo maxsize=\"1.2em\" minsize=\"1.2em\">(<\/mo><\/mrow><mfrac linethickness=\"0\"><mrow><mi>n<\/mi><mo>\u2212<\/mo><mn>2<\/mn><\/mrow><mi>m<\/mi><\/mfrac><mrow data-mjx-texclass=\"CLOSE\"><mo maxsize=\"1.2em\" minsize=\"1.2em\">)<\/mo><\/mrow><\/math><\/span>.<\/p>\n<p>after some algebra I find that<\/p>\n<p><span class=\"math display\"><math display=\"block\" xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mi>P<\/mi><mo stretchy=\"false\">(<\/mo><mtext>prize behind my chosen door<\/mtext><mo>\u2223<\/mo><mtext>m<\/mtext><mo stretchy=\"false\">)<\/mo><mo>=<\/mo><mfrac><mrow><mi>n<\/mi><mo>\u2212<\/mo><mn>1<\/mn><mo>\u2212<\/mo><mi>m<\/mi><\/mrow><mrow><mi>n<\/mi><mo>\u2212<\/mo><mn>1<\/mn><mo>\u2212<\/mo><mi>m<\/mi><mo>+<\/mo><mo stretchy=\"false\">(<\/mo><mi>n<\/mi><mo>\u2212<\/mo><mn>1<\/mn><msup><mo stretchy=\"false\">)<\/mo><mn>2<\/mn><\/msup><\/mrow><\/mfrac><\/math><\/span><\/p>\n<p>and<\/p>\n<p><span class=\"math display\"><math display=\"block\" xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mi>P<\/mi><mo stretchy=\"false\">(<\/mo><mtext>prize behind another door<\/mtext><mo>\u2223<\/mo><mtext>m<\/mtext><mo stretchy=\"false\">)<\/mo><mo>=<\/mo><mfrac><mrow><mi>n<\/mi><mo>\u2212<\/mo><mn>1<\/mn><\/mrow><mrow><mi>n<\/mi><mo>\u2212<\/mo><mn>1<\/mn><mo>\u2212<\/mo><mi>m<\/mi><mo>+<\/mo><mo stretchy=\"false\">(<\/mo><mi>n<\/mi><mo>\u2212<\/mo><mn>1<\/mn><msup><mo stretchy=\"false\">)<\/mo><mn>2<\/mn><\/msup><\/mrow><\/mfrac><\/math><\/span><\/p>\n<p>Thus, our probability factor is given by: <span class=\"math display\"><math display=\"block\" xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mfrac><mrow><mtext>P(prize behind another door<\/mtext><mo>\u2223<\/mo><mtext>m<\/mtext><mo stretchy=\"false\">)<\/mo><\/mrow><mrow><mtext>P(prize behind my chosen door<\/mtext><mo>\u2223<\/mo><mtext>m<\/mtext><mo stretchy=\"false\">)<\/mo><\/mrow><\/mfrac><mo>=<\/mo><mfrac><mrow><mi>n<\/mi><mo>\u2212<\/mo><mn>1<\/mn><\/mrow><mrow><mi>n<\/mi><mo>\u2212<\/mo><mn>1<\/mn><mo>\u2212<\/mo><mi>m<\/mi><\/mrow><\/mfrac><\/math><\/span><\/p>\n<p>This expression gives us back, from the original game, our game strategy factor of 2 times better if we shift door when <span class=\"math inline\"><math xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mi>n<\/mi><mo>=<\/mo><mn>3<\/mn><\/math><\/span> and <span class=\"math inline\"><math xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mi>m<\/mi><mo>=<\/mo><mn>1<\/mn><\/math><\/span>. The factor rises to <span class=\"math inline\"><math xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mi>n<\/mi><mo>\u2212<\/mo><mn>1<\/mn><\/math><\/span> better for shifting to another door for any <span class=\"math inline\"><math xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mi>n<\/mi><mo>\u2265<\/mo><mn>2<\/mn><\/math><\/span> and <span class=\"math inline\"><math xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mi>m<\/mi><mo>=<\/mo><mi>n<\/mi><mo>\u2212<\/mo><mn>2<\/mn><\/math><\/span> doors (all but one other than the one the player chose), and for the shift strategy a probability factor that tends to unity from above when <span class=\"math inline\"><math xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mi>n<\/mi><mo accent=\"false\" stretchy=\"false\">\u2192<\/mo><mi mathvariant=\"normal\">\u221e<\/mi><\/math><\/span> and <span class=\"math inline\"><math xmlns=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mi>m<\/mi><mo>=<\/mo><mn>1<\/mn><\/math><\/span>, i.e. only one door is removed.<\/p>\n<p>An informal survey by Student-b has shown that quite often, intuition among a random sample of people asked, is lacking. Some will believe it is better to stick, and some say in the standard three-door game that it is slightly better to shift. The mathematics show that for positive n and m: <em>it is always better to shift<\/em>!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We generalise a result in Professor David Mackay\u2019s book on inference. Bayes theorem also plays a crucial role in decision-making: P(A|D)=P(D|A)P(A)P(D|A)P(A)+P(D|\u00acA)P(\u00acA) Let us consider a worked example which demonstrates how unintuitive results following from this 260-year-old theorem can be. In the Game Show example, we can simplify Bayes\u2019 Theorem by using a form that expands &hellip; <a href=\"http:\/\/www.cir-strategy.com\/blog\/?p=1221\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Generalised Game Show Problem<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[882],"tags":[891,889,884,890,892],"class_list":["post-1221","post","type-post","status-publish","format-standard","hentry","category-probability-as-logic-for-decisionmaking","tag-bayesianism","tag-business-strategy","tag-decisionmaking","tag-probability-logic","tag-rational-degree-of-belief"],"_links":{"self":[{"href":"http:\/\/www.cir-strategy.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.cir-strategy.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.cir-strategy.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.cir-strategy.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.cir-strategy.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1221"}],"version-history":[{"count":10,"href":"http:\/\/www.cir-strategy.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1221\/revisions"}],"predecessor-version":[{"id":1272,"href":"http:\/\/www.cir-strategy.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1221\/revisions\/1272"}],"wp:attachment":[{"href":"http:\/\/www.cir-strategy.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.cir-strategy.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1221"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.cir-strategy.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}