<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Monte Carlo simulation of the Monty Hall Problem in Ruby and Python	</title>
	<atom:link href="https://programmingzen.com/monte-carlo-simulation-of-the-monty-hall-problem-in-ruby-and-python/feed/" rel="self" type="application/rss+xml" />
	<link>https://programmingzen.com/monte-carlo-simulation-of-the-monty-hall-problem-in-ruby-and-python/</link>
	<description>Meditations on programming, startups, and technology</description>
	<lastBuildDate>Fri, 29 Jul 2016 12:00:57 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: Using Programming to Teach Mathematics		</title>
		<link>https://programmingzen.com/monte-carlo-simulation-of-the-monty-hall-problem-in-ruby-and-python/#comment-29190</link>

		<dc:creator><![CDATA[Using Programming to Teach Mathematics]]></dc:creator>
		<pubDate>Fri, 29 Jul 2016 12:00:57 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=524#comment-29190</guid>

					<description><![CDATA[[&#8230;] example, the Monty Hall problem even managed to fool some seasoned mathematicians. Running a simple simulation we can quickly see that switching doors is the winning strategy (and that we&#8217;ll win roughly [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] example, the Monty Hall problem even managed to fool some seasoned mathematicians. Running a simple simulation we can quickly see that switching doors is the winning strategy (and that we&#8217;ll win roughly [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Al		</title>
		<link>https://programmingzen.com/monte-carlo-simulation-of-the-monty-hall-problem-in-ruby-and-python/#comment-8519</link>

		<dc:creator><![CDATA[Al]]></dc:creator>
		<pubDate>Thu, 10 Dec 2009 13:12:07 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=524#comment-8519</guid>

					<description><![CDATA[How do you modify the script to simulate a case where there are say 2 cars and 5 goats?]]></description>
			<content:encoded><![CDATA[<p>How do you modify the script to simulate a case where there are say 2 cars and 5 goats?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Blinkozo		</title>
		<link>https://programmingzen.com/monte-carlo-simulation-of-the-monty-hall-problem-in-ruby-and-python/#comment-8364</link>

		<dc:creator><![CDATA[Blinkozo]]></dc:creator>
		<pubDate>Wed, 18 Nov 2009 21:25:08 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=524#comment-8364</guid>

					<description><![CDATA[Gustav, it&#039;s not a true 50/50. Since he picked his door when there were more goats than cars, the veteran&#039;s door is more likely to have a goat in it, His door, therefore, is tainted by previous bad odds.

The only time it&#039;d be 50/50 is if Monty removed the goat first, then let the vet select a door. One may think this is the same thing, but remember: the door eliminated in your scenario is guaranteed NOT to be the contestant&#039;s door. This means the contestant keeps the odds he was originally dealt (1:3), unless he switches.]]></description>
			<content:encoded><![CDATA[<p>Gustav, it&#8217;s not a true 50/50. Since he picked his door when there were more goats than cars, the veteran&#8217;s door is more likely to have a goat in it, His door, therefore, is tainted by previous bad odds.</p>
<p>The only time it&#8217;d be 50/50 is if Monty removed the goat first, then let the vet select a door. One may think this is the same thing, but remember: the door eliminated in your scenario is guaranteed NOT to be the contestant&#8217;s door. This means the contestant keeps the odds he was originally dealt (1:3), unless he switches.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Gustav Isaac		</title>
		<link>https://programmingzen.com/monte-carlo-simulation-of-the-monty-hall-problem-in-ruby-and-python/#comment-7949</link>

		<dc:creator><![CDATA[Gustav Isaac]]></dc:creator>
		<pubDate>Fri, 02 Oct 2009 20:08:18 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=524#comment-7949</guid>

					<description><![CDATA[Monty Hall problem
Lets suppose the contestant comes on stage and selects door # 1 in the hope that a prize is in door 1 and not a goat.  Before Monty Hall does or says anything, an associate comes out and whispers something to Monty Hall.  Now Monty Hall turns to the contestant and says: I just have been informed that you are a veteran.  Therefore I want to better your odds and have you decide only between 2 doors. He  than tells a Stage hand to remove Door 3 from the stage. ( Of course Monty knew that there was a goat behind door 3).  Now he turns to the contestant and says: &quot;There you are, 2 doors. New game. You want to switch from door # 1 to door # 2, or stay with your original choice?&quot;  Same setup as in the original problem, nothing changed except there only 2 doors now, and the contestant has now a chance of staying with his original choice or selecting the other door.
That&#039;s now 50-50 probability, even though it&#039;s the same problem.  Which means the original problem must also be a 50-50 proposition.]]></description>
			<content:encoded><![CDATA[<p>Monty Hall problem<br />
Lets suppose the contestant comes on stage and selects door # 1 in the hope that a prize is in door 1 and not a goat.  Before Monty Hall does or says anything, an associate comes out and whispers something to Monty Hall.  Now Monty Hall turns to the contestant and says: I just have been informed that you are a veteran.  Therefore I want to better your odds and have you decide only between 2 doors. He  than tells a Stage hand to remove Door 3 from the stage. ( Of course Monty knew that there was a goat behind door 3).  Now he turns to the contestant and says: &#8220;There you are, 2 doors. New game. You want to switch from door # 1 to door # 2, or stay with your original choice?&#8221;  Same setup as in the original problem, nothing changed except there only 2 doors now, and the contestant has now a chance of staying with his original choice or selecting the other door.<br />
That&#8217;s now 50-50 probability, even though it&#8217;s the same problem.  Which means the original problem must also be a 50-50 proposition.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Francesco		</title>
		<link>https://programmingzen.com/monte-carlo-simulation-of-the-monty-hall-problem-in-ruby-and-python/#comment-5668</link>

		<dc:creator><![CDATA[Francesco]]></dc:creator>
		<pubDate>Thu, 05 Mar 2009 09:26:57 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=524#comment-5668</guid>

					<description><![CDATA[What if I switch the previously selected door with itself? It&#039;s the same as switching with the other one, right?
I&#039;m no math-geek at all, I just want to see the light because I&#039;m really puzzled! :-)]]></description>
			<content:encoded><![CDATA[<p>What if I switch the previously selected door with itself? It&#8217;s the same as switching with the other one, right?<br />
I&#8217;m no math-geek at all, I just want to see the light because I&#8217;m really puzzled! 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jérôme		</title>
		<link>https://programmingzen.com/monte-carlo-simulation-of-the-monty-hall-problem-in-ruby-and-python/#comment-5445</link>

		<dc:creator><![CDATA[Jérôme]]></dc:creator>
		<pubDate>Fri, 06 Feb 2009 11:01:56 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=524#comment-5445</guid>

					<description><![CDATA[On my desktop :
&lt;pre&gt;
time python montecarlo.py 

real	0m7.882s
user	0m7.880s
sys	0m0.004s

time ruby montecarlo.rb   (ruby 1.9.1)

real	0m3.924s
user	0m3.904s
sys	0m0.000s
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>On my desktop :</p>
<pre>
time python montecarlo.py 

real	0m7.882s
user	0m7.880s
sys	0m0.004s

time ruby montecarlo.rb   (ruby 1.9.1)

real	0m3.924s
user	0m3.904s
sys	0m0.000s
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ryan		</title>
		<link>https://programmingzen.com/monte-carlo-simulation-of-the-monty-hall-problem-in-ruby-and-python/#comment-5432</link>

		<dc:creator><![CDATA[Ryan]]></dc:creator>
		<pubDate>Tue, 03 Feb 2009 03:59:50 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=524#comment-5432</guid>

					<description><![CDATA[I almost said something awful just because of your comment, Kent.
Not really, just kidding.]]></description>
			<content:encoded><![CDATA[<p>I almost said something awful just because of your comment, Kent.<br />
Not really, just kidding.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kent		</title>
		<link>https://programmingzen.com/monte-carlo-simulation-of-the-monty-hall-problem-in-ruby-and-python/#comment-5260</link>

		<dc:creator><![CDATA[Kent]]></dc:creator>
		<pubDate>Wed, 07 Jan 2009 18:13:59 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=524#comment-5260</guid>

					<description><![CDATA[What&#039;s really amazing is the number of posts here without a single disrespectful comment.   In this day of internet anonymity, what are the odds of that?]]></description>
			<content:encoded><![CDATA[<p>What&#8217;s really amazing is the number of posts here without a single disrespectful comment.   In this day of internet anonymity, what are the odds of that?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Daniel		</title>
		<link>https://programmingzen.com/monte-carlo-simulation-of-the-monty-hall-problem-in-ruby-and-python/#comment-5258</link>

		<dc:creator><![CDATA[Daniel]]></dc:creator>
		<pubDate>Wed, 07 Jan 2009 15:29:13 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=524#comment-5258</guid>

					<description><![CDATA[I find it easier to think of this as if you are actually switching from your single chosen door to both of the two other doors.

Since the rules are known before the game you know you&#039;ll pick one door and then you&#039;ll be able to switch to the other two. Since you know you&#039;ll switch you can think of it as if you already &quot;own&quot; the two other doors. When Monty opens one of them, he is just helping you to open a losing door first.

It&#039;s actually just like if you were given the choice of selecting one of the three doors or two of the three doors.]]></description>
			<content:encoded><![CDATA[<p>I find it easier to think of this as if you are actually switching from your single chosen door to both of the two other doors.</p>
<p>Since the rules are known before the game you know you&#8217;ll pick one door and then you&#8217;ll be able to switch to the other two. Since you know you&#8217;ll switch you can think of it as if you already &#8220;own&#8221; the two other doors. When Monty opens one of them, he is just helping you to open a losing door first.</p>
<p>It&#8217;s actually just like if you were given the choice of selecting one of the three doors or two of the three doors.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Monty Hall with a billion doors &#171; Random Determinism		</title>
		<link>https://programmingzen.com/monte-carlo-simulation-of-the-monty-hall-problem-in-ruby-and-python/#comment-5255</link>

		<dc:creator><![CDATA[Monty Hall with a billion doors &#171; Random Determinism]]></dc:creator>
		<pubDate>Wed, 07 Jan 2009 05:56:22 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=524#comment-5255</guid>

					<description><![CDATA[[...]  Jump to Comments In order to provide intuition behind the solution of the Monty Hall problem,  Antonio Cangiano says: If there were a billion doors, you picked one, and then Monty proceeded to open up all the [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;]  Jump to Comments In order to provide intuition behind the solution of the Monty Hall problem,  Antonio Cangiano says: If there were a billion doors, you picked one, and then Monty proceeded to open up all the [&#8230;]</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
