{"id":1833,"date":"2014-03-16T15:19:23","date_gmt":"2014-03-16T09:49:23","guid":{"rendered":"http:\/\/ucanalytics.com\/blogs\/?p=1833"},"modified":"2016-10-13T15:12:14","modified_gmt":"2016-10-13T09:42:14","slug":"bayes-theorem-monty-hall-problem","status":"publish","type":"post","link":"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/","title":{"rendered":"Bayes&#8217; Theorem &#8211; Monty Hall Problem"},"content":{"rendered":"<hr \/>\n<h2><span style=\"color: #3396e6; font-size: 18px;\">Monty Hall Problem<\/span><\/h2>\n<div id=\"attachment_1834\" style=\"width: 357px\" class=\"wp-caption alignright\"><a href=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo21.jpg\"><img aria-describedby=\"caption-attachment-1834\" data-attachment-id=\"1834\" data-permalink=\"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/photo2\/\" data-orig-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo21.jpg?fit=983%2C768&amp;ssl=1\" data-orig-size=\"983,768\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Monty Hall &#038; Bayes Theorem &#8211; by Roopam\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Monty Hall &#038; Bayes Theorem &#8211; by Roopam&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo21.jpg?fit=300%2C234&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo21.jpg?fit=640%2C500&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\" wp-image-1834 \" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo21.jpg?resize=347%2C271\" alt=\"Monty Hall &amp; Bayes Theorem - by Roopam\" width=\"347\" height=\"271\" srcset=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo21.jpg?w=983&amp;ssl=1 983w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo21.jpg?resize=300%2C234&amp;ssl=1 300w\" sizes=\"(max-width: 347px) 100vw, 347px\" data-recalc-dims=\"1\" \/><\/a><p id=\"caption-attachment-1834\" class=\"wp-caption-text\">Monty Hall &amp; Bayes&#8217; Theorem &#8211; by Roopam<\/p><\/div>\n<p>Monty Hall is back, for one last time, to host the famous show from the 1960s \u2018Let&#8217;s Make a Deal\u2019. You are his final guest and the prize is really desirable \u2013 a red Ferrari 458 Italia. Monty is no generous host; he could be over 90 years old, but he is going to make you work for your prize. So here is the deal, there are three closed doors (A, B, and C) and behind one of these doors is the Ferrari and the remaining doors have a goat each. You need to pick a door and can take home whatever is behind that door \u2013 you really hope it&#8217;s the Ferrari. \u00a0After doing your calculation you picked door A \u2013 you know that was a wild guess. Monty being a generous host tries to help you out by opening one of the remaining two doors i.e. door B and displays the beautiful goat behind the door. By the way, Monty knows the location of the car and will never open the door concealing it. He asked you for the last time if you would like to switch from door A to door C. This is where it gets really difficult &#8211; whether to stick or switch. The decision is particularly difficult when a huge audience (studio and television) is watching you live. Despite the pressure, you have decided to do the long calculation for this problem using the Bayes&#8217; theorem. I think you have made a wise choice.<\/p>\n<h2><span style=\"color: #3396e6; font-size: 18px;\">Bayes&#8217; Theorem to Solve Monty Hall Problem<br \/>\n<\/span><\/h2>\n<p>You are aware of the difficulty of this problem. The solution to this problem is completely counter-intuitive. Marilyn Vos Savant was asked to solve the same problem by a reader in her column \u2018Ask Marilyn\u2019 in Parade magazine. Marilyn, by the way, is listed as the person with \u2018Highest IQ\u2019 by the Guinness Book of World Records. She recommended switching as that will increase one&#8217;s chances of winning the car by a factor of two. Her answer created a major furor with one of the readers (with a Ph.D.) writing her the following:<\/p>\n<table border=\"1\">\n<tbody>\n<tr style=\"background-color: #c7d7eb;\">\n<td><em>&#8220;[Marilyn] You blew it, and you blew it big! Since you seem to have difficulty grasping the basic principle at work here, I&#8217;ll explain. After the host reveals a goat, you now have a one-in-two chance of being correct. Whether you change your selection or not, the odds are the same. There is enough mathematical illiteracy in this country, and we don&#8217;t need the world&#8217;s highest IQ propagating more. Shame!&#8221; <\/em>&#8211; Scott Smith, Ph.D. University of Florida<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>You know it is not going to be easy but Bayes&#8217; Theorem will guide you well. We have discussed Bayes&#8217; Theorem a couple of times in previous articles on YOU CANalytics, you may want to refer to those articles <a href=\"http:\/\/ucanalytics.com\/blogs\/bayesian-inference-made-simple\/\">Bayesian Inference &#8211; Made Easy<\/a> and <a href=\"http:\/\/ucanalytics.com\/blogs\/logical-rigor\/\">O.J. Simpson case<\/a>.<\/p>\n<p>You have scribbled down your solution to the problem on a piece of paper. The following is a version of your scribbling<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/Monty-Hall-Problem-1.jpg\"><img data-attachment-id=\"1886\" data-permalink=\"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/monty-hall-problem-1\/\" data-orig-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/Monty-Hall-Problem-1.jpg?fit=811%2C479&amp;ssl=1\" data-orig-size=\"811,479\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Monty Hall Problem 1\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/Monty-Hall-Problem-1.jpg?fit=300%2C177&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/Monty-Hall-Problem-1.jpg?fit=640%2C378&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1886\" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/Monty-Hall-Problem-1.jpg?resize=640%2C378\" alt=\"Monty Hall Problem 1\" width=\"640\" height=\"378\" srcset=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/Monty-Hall-Problem-1.jpg?w=811&amp;ssl=1 811w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/Monty-Hall-Problem-1.jpg?resize=300%2C177&amp;ssl=1 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>It seems Marlyn was right or was she? You want to solve it one more time to be doubly sure. So you start all over again, to begin with, you need to find the prior probability i.e. the chances of having the car behind each door. Since there is no other information available the prior probabilities is the same for all the doors. This was fairly easy as shown in the formula below.<\/p>\n<pre><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=P%28Car%40A%29%3DP%28Car%40B%29%3DP%28Car%40C%29%3D%5Cfrac%7B1%7D%7B3%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"P(Car@A)=P(Car@B)=P(Car@C)=&#92;frac{1}{3} \" class=\"latex\" \/><\/pre>\n<p>There is not much to choose and hence you have chosen door A. Now comes the difficult part, Monty Hall has revealed a goat behind door B this has infused some information into the above problem. This needs us to create a second layer of probabilities post the event i.e. probability of Monty to open door B when you have chosen door A. Remember that Monty knows the location of the car and will never open the door concealing the car.<\/p>\n<p>This requires us to calculate the conditional probability or chances of the event given the position of the car. What are the chances for Monty to open door B if the car is behind door A?<\/p>\n<pre><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=P%28Open%5C+B%7C+Car%40A%29%3D%5Cfrac%7B1%7D%7B2%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"P(Open&#92; B| Car@A)=&#92;frac{1}{2} \" class=\"latex\" \/>\r\n\r\nMonty could have opened either 'door B' or 'door C'. As You have chosen 'door A' (He cannot open this door)<\/pre>\n<p>Second question: What are the chances for Monty to open door B if the car is behind door B?<\/p>\n<pre><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=P%28Open%5C+B%7C+Car%40B%29%3D0+&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"P(Open&#92; B| Car@B)=0 \" class=\"latex\" \/> \r\n\r\nMonty will never open door B if it was concealing the car.<\/pre>\n<p>Final question: What are the chances for Monty to open door B if the car is behind door C?<\/p>\n<pre><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=P%28Open%5C+B%7C+Car%40C%29%3D1+&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"P(Open&#92; B| Car@C)=1 \" class=\"latex\" \/>\r\n\r\nMonty has to open door B, he has no other choice. You have already chosen 'door A' and door C is concealing the car.<\/pre>\n<p>Having this knowledge leaves you with one final task to calculate the posterior probabilities. One of the calculations is shown below.<\/p>\n<pre><img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=P%28Car%40A%7COpen%5C+B%29%3D%5Cfrac%7BX%7D%7B%28X%2BY%2BZ%29%29%7D%3D%5Cfrac%7B1%7D%7B3%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"P(Car@A|Open&#92; B)=&#92;frac{X}{(X+Y+Z))}=&#92;frac{1}{3} \" class=\"latex\" \/>\r\n\r\nwhere,\r\n<img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=X%3DP%28Open%5C+B%7C+Car%40A%29%5Ctimes+P%28Car%40A%29%3D%5Cfrac%7B1%7D%7B2%7D%5Ctimes%5Cfrac%7B1%7D%7B3%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"X=P(Open&#92; B| Car@A)&#92;times P(Car@A)=&#92;frac{1}{2}&#92;times&#92;frac{1}{3} \" class=\"latex\" \/>\r\n\r\n<img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=Y%3DP%28Open%5C+B%7C+Car%40B%29%5Ctimes+P%28Car%40B%29%3D0%5Ctimes%5Cfrac%7B1%7D%7B3%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"Y=P(Open&#92; B| Car@B)&#92;times P(Car@B)=0&#92;times&#92;frac{1}{3} \" class=\"latex\" \/>\r\n\r\n<img decoding=\"async\" src=\"https:\/\/s0.wp.com\/latex.php?latex=Z%3DP%28Open%5C+B%7C+Car%40C%29%5Ctimes+P%28Car%40C%29%3D1%5Ctimes%5Cfrac%7B1%7D%7B3%7D+&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"Z=P(Open&#92; B| Car@C)&#92;times P(Car@C)=1&#92;times&#92;frac{1}{3} \" class=\"latex\" \/><\/pre>\n<p>Let us revisit your scribbling from the previous calculation.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/Monty-Hall-Problem-1.jpg\"><img data-attachment-id=\"1886\" data-permalink=\"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/monty-hall-problem-1\/\" data-orig-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/Monty-Hall-Problem-1.jpg?fit=811%2C479&amp;ssl=1\" data-orig-size=\"811,479\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Monty Hall Problem 1\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/Monty-Hall-Problem-1.jpg?fit=300%2C177&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/Monty-Hall-Problem-1.jpg?fit=640%2C378&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1886\" src=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/Monty-Hall-Problem-1.jpg?resize=640%2C378\" alt=\"Monty Hall Problem 1\" width=\"640\" height=\"378\" srcset=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/Monty-Hall-Problem-1.jpg?w=811&amp;ssl=1 811w, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/Monty-Hall-Problem-1.jpg?resize=300%2C177&amp;ssl=1 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>The chances of winning the car are indeed 2 times higher i.e. 2\/3 when you switch than when you stick i.e. 1\/3. Marilyn was right! Going by your calculation you have decided to switch to door C.<\/p>\n<h4><span style=\"color: #3396e6; font-size: 16px;\">Sign-off Note<\/span><\/h4>\n<p>Monty opens the door you chose i.e. door C and reveals your prize &#8211; a goat! Hard luck. If Monty Hall plays this game with you 1000 times you are most likely to end up with 667 Ferraris &#8211; that&#8217;s how probability works. You have decided to donate the goat to a charity and feeling good about it (probably better than driving a Ferrari).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Monty Hall Problem Monty Hall is back, for one last time, to host the famous show from the 1960s \u2018Let&#8217;s Make a Deal\u2019. You are his final guest and the prize is really desirable \u2013 a red Ferrari 458 Italia. Monty is no generous host; he could be over 90 years old, but he is<\/p>\n<p><a class=\"excerpt-more blog-excerpt\" href=\"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":1834,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[64,65],"tags":[33,7,6,10],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Bayes&#039; Theorem - Monty Hall Problem &ndash; YOU CANalytics |<\/title>\n<meta name=\"description\" content=\"The solution to the Monty Hall Problem using Bayes Theorem. Monty Hall is back, for one last time, to host the show from the 1960s \u2018Let&#039;s Make a Deal\u2019.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bayes&#039; Theorem - Monty Hall Problem &ndash; YOU CANalytics |\" \/>\n<meta property=\"og:description\" content=\"The solution to the Monty Hall Problem using Bayes Theorem. Monty Hall is back, for one last time, to host the show from the 1960s \u2018Let&#039;s Make a Deal\u2019.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/\" \/>\n<meta property=\"og:site_name\" content=\"YOU CANalytics |\" \/>\n<meta property=\"article:author\" content=\"roopam\" \/>\n<meta property=\"article:published_time\" content=\"2014-03-16T09:49:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-10-13T09:42:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo21.jpg?fit=983%2C768&#038;ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"983\" \/>\n\t<meta property=\"og:image:height\" content=\"768\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Roopam Upadhyay\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#organization\",\"name\":\"YOU CANalytics\",\"url\":\"https:\/\/ucanalytics.com\/blogs\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/11\/YOU-CANalytics-Logo.jpg?fit=607%2C120\",\"contentUrl\":\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/11\/YOU-CANalytics-Logo.jpg?fit=607%2C120\",\"width\":607,\"height\":120,\"caption\":\"YOU CANalytics\"},\"image\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#website\",\"url\":\"https:\/\/ucanalytics.com\/blogs\/\",\"name\":\"YOU CANalytics |\",\"description\":\"Explore the Power of Data Science\",\"publisher\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ucanalytics.com\/blogs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo21.jpg?fit=983%2C768&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo21.jpg?fit=983%2C768&ssl=1\",\"width\":983,\"height\":768,\"caption\":\"Monty Hall & Bayes Theorem - by Roopam\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/#webpage\",\"url\":\"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/\",\"name\":\"Bayes' Theorem - Monty Hall Problem &ndash; YOU CANalytics |\",\"isPartOf\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/#primaryimage\"},\"datePublished\":\"2014-03-16T09:49:23+00:00\",\"dateModified\":\"2016-10-13T09:42:14+00:00\",\"description\":\"The solution to the Monty Hall Problem using Bayes Theorem. Monty Hall is back, for one last time, to host the show from the 1960s \\u2018Let's Make a Deal\\u2019.\",\"breadcrumb\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ucanalytics.com\/blogs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bayes&#8217; Theorem &#8211; Monty Hall Problem\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/#webpage\"},\"author\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#\/schema\/person\/55961a1cea272ecdf290cb387be069b6\"},\"headline\":\"Bayes&#8217; Theorem &#8211; Monty Hall Problem\",\"datePublished\":\"2014-03-16T09:49:23+00:00\",\"dateModified\":\"2016-10-13T09:42:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/#webpage\"},\"wordCount\":883,\"commentCount\":21,\"publisher\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#organization\"},\"image\":{\"@id\":\"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo21.jpg?fit=983%2C768&ssl=1\",\"keywords\":[\"Bayesian inference\",\"Business Analytics\",\"Predictive Analytics\",\"Roopam Upadhyay\"],\"articleSection\":[\"Analytics Graffiti\",\"Bayesian Inference and Statistics\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#\/schema\/person\/55961a1cea272ecdf290cb387be069b6\",\"name\":\"Roopam Upadhyay\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ucanalytics.com\/blogs\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/dd1aa0b0e813f7639800bcfad6a554f1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/dd1aa0b0e813f7639800bcfad6a554f1?s=96&d=mm&r=g\",\"caption\":\"Roopam Upadhyay\"},\"description\":\"This blog contains my personal views and thoughts on predictive Analytics and big data. - Roopam Upadhyay\",\"sameAs\":[\"roopam\"],\"url\":\"https:\/\/ucanalytics.com\/blogs\/author\/roopam\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Bayes' Theorem - Monty Hall Problem &ndash; YOU CANalytics |","description":"The solution to the Monty Hall Problem using Bayes Theorem. Monty Hall is back, for one last time, to host the show from the 1960s \u2018Let's Make a Deal\u2019.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/","og_locale":"en_US","og_type":"article","og_title":"Bayes' Theorem - Monty Hall Problem &ndash; YOU CANalytics |","og_description":"The solution to the Monty Hall Problem using Bayes Theorem. Monty Hall is back, for one last time, to host the show from the 1960s \u2018Let's Make a Deal\u2019.","og_url":"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/","og_site_name":"YOU CANalytics |","article_author":"roopam","article_published_time":"2014-03-16T09:49:23+00:00","article_modified_time":"2016-10-13T09:42:14+00:00","og_image":[{"width":983,"height":768,"url":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo21.jpg?fit=983%2C768&ssl=1","type":"image\/jpeg"}],"twitter_misc":{"Written by":"Roopam Upadhyay","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/ucanalytics.com\/blogs\/#organization","name":"YOU CANalytics","url":"https:\/\/ucanalytics.com\/blogs\/","sameAs":[],"logo":{"@type":"ImageObject","@id":"https:\/\/ucanalytics.com\/blogs\/#logo","inLanguage":"en-US","url":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/11\/YOU-CANalytics-Logo.jpg?fit=607%2C120","contentUrl":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/11\/YOU-CANalytics-Logo.jpg?fit=607%2C120","width":607,"height":120,"caption":"YOU CANalytics"},"image":{"@id":"https:\/\/ucanalytics.com\/blogs\/#logo"}},{"@type":"WebSite","@id":"https:\/\/ucanalytics.com\/blogs\/#website","url":"https:\/\/ucanalytics.com\/blogs\/","name":"YOU CANalytics |","description":"Explore the Power of Data Science","publisher":{"@id":"https:\/\/ucanalytics.com\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ucanalytics.com\/blogs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/#primaryimage","inLanguage":"en-US","url":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo21.jpg?fit=983%2C768&ssl=1","contentUrl":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo21.jpg?fit=983%2C768&ssl=1","width":983,"height":768,"caption":"Monty Hall & Bayes Theorem - by Roopam"},{"@type":"WebPage","@id":"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/#webpage","url":"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/","name":"Bayes' Theorem - Monty Hall Problem &ndash; YOU CANalytics |","isPartOf":{"@id":"https:\/\/ucanalytics.com\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/#primaryimage"},"datePublished":"2014-03-16T09:49:23+00:00","dateModified":"2016-10-13T09:42:14+00:00","description":"The solution to the Monty Hall Problem using Bayes Theorem. Monty Hall is back, for one last time, to host the show from the 1960s \u2018Let's Make a Deal\u2019.","breadcrumb":{"@id":"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ucanalytics.com\/blogs\/"},{"@type":"ListItem","position":2,"name":"Bayes&#8217; Theorem &#8211; Monty Hall Problem"}]},{"@type":"Article","@id":"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/#article","isPartOf":{"@id":"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/#webpage"},"author":{"@id":"https:\/\/ucanalytics.com\/blogs\/#\/schema\/person\/55961a1cea272ecdf290cb387be069b6"},"headline":"Bayes&#8217; Theorem &#8211; Monty Hall Problem","datePublished":"2014-03-16T09:49:23+00:00","dateModified":"2016-10-13T09:42:14+00:00","mainEntityOfPage":{"@id":"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/#webpage"},"wordCount":883,"commentCount":21,"publisher":{"@id":"https:\/\/ucanalytics.com\/blogs\/#organization"},"image":{"@id":"https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo21.jpg?fit=983%2C768&ssl=1","keywords":["Bayesian inference","Business Analytics","Predictive Analytics","Roopam Upadhyay"],"articleSection":["Analytics Graffiti","Bayesian Inference and Statistics"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ucanalytics.com\/blogs\/bayes-theorem-monty-hall-problem\/#respond"]}]},{"@type":"Person","@id":"https:\/\/ucanalytics.com\/blogs\/#\/schema\/person\/55961a1cea272ecdf290cb387be069b6","name":"Roopam Upadhyay","image":{"@type":"ImageObject","@id":"https:\/\/ucanalytics.com\/blogs\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/dd1aa0b0e813f7639800bcfad6a554f1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/dd1aa0b0e813f7639800bcfad6a554f1?s=96&d=mm&r=g","caption":"Roopam Upadhyay"},"description":"This blog contains my personal views and thoughts on predictive Analytics and big data. - Roopam Upadhyay","sameAs":["roopam"],"url":"https:\/\/ucanalytics.com\/blogs\/author\/roopam\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo21.jpg?fit=983%2C768&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3L0jT-tz","jetpack-related-posts":[{"id":6693,"url":"https:\/\/ucanalytics.com\/blogs\/data-analytics-challenge-1-clue-3-does-bayes-theorem-have-a-better-answer\/","url_meta":{"origin":1833,"position":0},"title":"Data Analytics Challenge 1 (Clue # 3) : Does Bayes&#8217; Theorem have a Better Answer?","author":"Roopam Upadhyay","date":false,"format":false,"excerpt":"Data Analytics Challenge 1 \u2013 The Shady Gambler This is the final part of the first\u00a0data analytics challenge on YOU CANalytics. You could find the previous parts at these links:\u00a0Part-1\u00a0&\u00a0Part-2. As mentioned earlier, these challenges require your participation for the investigation to\u00a0move ahead. You had\u00a0some really good discussions in the\u2026","rel":"","context":"In &quot;Analytics Challenge&quot;","block_context":{"text":"Analytics Challenge","link":"https:\/\/ucanalytics.com\/blogs\/category\/analytics-challenge\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/11\/Bayes-Theorem-Shady-Gambler-2.jpg?fit=800%2C486&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/11\/Bayes-Theorem-Shady-Gambler-2.jpg?fit=800%2C486&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/11\/Bayes-Theorem-Shady-Gambler-2.jpg?fit=800%2C486&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2015\/11\/Bayes-Theorem-Shady-Gambler-2.jpg?fit=800%2C486&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1984,"url":"https:\/\/ucanalytics.com\/blogs\/probability-bayesian-statistics-books-self-taught\/","url_meta":{"origin":1833,"position":1},"title":"Books to Teach Yourself Probability and Bayesian Statistics (Part 1)","author":"Roopam Upadhyay","date":false,"format":false,"excerpt":"Self Study: Probability and Bayesian Statistics An average 21-year-old with a college degree spends a little over 15000 hours in classroom lectures. This accounts for a roughly 8th portion of his \/ her active life on this planet. To me, this alone is a good enough reason to bring constant\u2026","rel":"","context":"In &quot;Analytics Book Club&quot;","block_context":{"text":"Analytics Book Club","link":"https:\/\/ucanalytics.com\/blogs\/category\/analytics-book-club\/"},"img":{"alt_text":"Self Learning Bayesian Statistics","src":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo.jpg?fit=768%2C1024&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo.jpg?fit=768%2C1024&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo.jpg?fit=768%2C1024&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo.jpg?fit=768%2C1024&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1727,"url":"https:\/\/ucanalytics.com\/blogs\/bayesian-inference-made-simple\/","url_meta":{"origin":1833,"position":2},"title":"Bayesian Inference &#8211; Made Simple","author":"Roopam Upadhyay","date":false,"format":false,"excerpt":"In this article we are going to discuss Bayesian inference and statistics. In order to gain understanding of Bayesian inference we will use the experiment of coin tossing. Hence it is only appropriate to have a quick discussion about the power of... ...Flip of the Coin To begin with, let\u2026","rel":"","context":"In &quot;Analytics Graffiti&quot;","block_context":{"text":"Analytics Graffiti","link":"https:\/\/ucanalytics.com\/blogs\/category\/analytics-graffiti\/"},"img":{"alt_text":"The Mystical Dance - by Roopam","src":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo2.jpg?fit=729%2C1024&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo2.jpg?fit=729%2C1024&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo2.jpg?fit=729%2C1024&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2014\/03\/photo2.jpg?fit=729%2C1024&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1191,"url":"https:\/\/ucanalytics.com\/blogs\/logical-rigor\/","url_meta":{"origin":1833,"position":3},"title":"Murder Cases, Evidence and Logical Rigor","author":"Roopam Upadhyay","date":false,"format":false,"excerpt":"Aarushi Murder Case & Logical Rigor Last week, on 25th November 2013, Ghaziabad High Court has given the verdict in the Aarushi murder case. The media frenzy in India has not allowed the public interest in the case to die down for the last five and a half year. The\u2026","rel":"","context":"In &quot;Analytics Graffiti&quot;","block_context":{"text":"Analytics Graffiti","link":"https:\/\/ucanalytics.com\/blogs\/category\/analytics-graffiti\/"},"img":{"alt_text":"Bayesian statistics for Logical Rigor","src":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2013\/12\/bayes.jpg?fit=738%2C564&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2013\/12\/bayes.jpg?fit=738%2C564&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2013\/12\/bayes.jpg?fit=738%2C564&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2013\/12\/bayes.jpg?fit=738%2C564&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":281,"url":"https:\/\/ucanalytics.com\/blogs\/credit-scorecards-predictive-analytics-part-7\/","url_meta":{"origin":1833,"position":4},"title":"Credit Scorecards &#8211;  Business Integration of Predictive Analytics (part 7 of 7)","author":"Roopam Upadhyay","date":false,"format":false,"excerpt":"Columbus - A lesson in Leadership Christopher Columbus \u2013 I have adored this man for various reasons at various stages of my life. At seven, I adored him because his mistakes were applauded and became part of history \u2013 Columbus mistook Native Americans for Indians because he thought he had\u2026","rel":"","context":"In &quot;Credit Risk Analytics Series&quot;","block_context":{"text":"Credit Risk Analytics Series","link":"https:\/\/ucanalytics.com\/blogs\/category\/risk-analytics\/credit-risk-analytics-series\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2013\/07\/7-Leader-225x300.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":9951,"url":"https:\/\/ucanalytics.com\/blogs\/bayesian-statistics-to-improve-ab-testing-digital-marketing-case-study-example-part-3\/","url_meta":{"origin":1833,"position":5},"title":"Bayesian Statistics to Improve A\/B Testing &#8211; Digital Marketing Case Study Example (Part 3)","author":"Roopam Upadhyay","date":false,"format":false,"excerpt":"Welcome back to the\u00a0digital marketing case study example. In this case study, you are helping your client to identify an ad that will generate them the maximum return on marketing investment (ROMI). In the previous part, we discussed A\/B testing which is the\u00a0prevalent method used to compare the effectiveness of\u2026","rel":"","context":"In &quot;Digital Marketing - Case Study&quot;","block_context":{"text":"Digital Marketing - Case Study","link":"https:\/\/ucanalytics.com\/blogs\/category\/digital-marketing-case-study\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2017\/04\/Bayesian-Statistics-and-Knowledge.jpg?fit=920%2C574&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2017\/04\/Bayesian-Statistics-and-Knowledge.jpg?fit=920%2C574&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2017\/04\/Bayesian-Statistics-and-Knowledge.jpg?fit=920%2C574&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/ucanalytics.com\/blogs\/wp-content\/uploads\/2017\/04\/Bayesian-Statistics-and-Knowledge.jpg?fit=920%2C574&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/posts\/1833"}],"collection":[{"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/comments?post=1833"}],"version-history":[{"count":0,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/posts\/1833\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/media\/1834"}],"wp:attachment":[{"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/media?parent=1833"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/categories?post=1833"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ucanalytics.com\/blogs\/wp-json\/wp\/v2\/tags?post=1833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}