<?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: Response to Heath Raftery</title>
	<atom:link href="http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/</link>
	<description>Because my LiveJournal is too silly</description>
	<lastBuildDate>Mon, 15 Mar 2010 18:50:59 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: john</title>
		<link>http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/comment-page-1/#comment-179486</link>
		<dc:creator>john</dc:creator>
		<pubDate>Mon, 15 Mar 2010 18:50:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/#comment-179486</guid>
		<description>Sorry, I apparently do not know proper blog etiquette, and apparently don&#039;t quite get the point.

Please feel free to remove any offensive comments I have made, and I will refrain from adding comments to this blog.</description>
		<content:encoded><![CDATA[<p>Sorry, I apparently do not know proper blog etiquette, and apparently don&#8217;t quite get the point.</p>
<p>Please feel free to remove any offensive comments I have made, and I will refrain from adding comments to this blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michi</title>
		<link>http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/comment-page-1/#comment-179335</link>
		<dc:creator>Michi</dc:creator>
		<pubDate>Sat, 13 Mar 2010 00:30:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/#comment-179335</guid>
		<description>@John
It&#039;s been three years. I wrote the comment as a throw-away little hack, inspired by a blog post I read. It&#039;s not in an area I&#039;m particularly specialized in, nor on a subject I&#039;m particularly invested in.

Pulling it back up again - and especially with language like &lt;i&gt; But how can you possibly think that your simulation can prove that “One is a 4? means “at least one is a 4??? Could it be that you couldn’t figure out how to program anything else?&lt;/i&gt; seems a little bit like digging for a dead horse in order to be able to whip it.

I appreciate that you sat down and produced a more accurate simulation; but it seems it might have thrived at least as well in a blog of your own with a link here, not to mention with less randomly thrown insults.</description>
		<content:encoded><![CDATA[<p>@John<br />
It&#8217;s been three years. I wrote the comment as a throw-away little hack, inspired by a blog post I read. It&#8217;s not in an area I&#8217;m particularly specialized in, nor on a subject I&#8217;m particularly invested in.</p>
<p>Pulling it back up again &#8211; and especially with language like <i> But how can you possibly think that your simulation can prove that “One is a 4? means “at least one is a 4??? Could it be that you couldn’t figure out how to program anything else?</i> seems a little bit like digging for a dead horse in order to be able to whip it.</p>
<p>I appreciate that you sat down and produced a more accurate simulation; but it seems it might have thrived at least as well in a blog of your own with a link here, not to mention with less randomly thrown insults.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/comment-page-1/#comment-179332</link>
		<dc:creator>John</dc:creator>
		<pubDate>Fri, 12 Mar 2010 23:31:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/#comment-179332</guid>
		<description>I did read the comments, and noticed that Heath made the same point. I also noticed that all comments after his (except possibly for your reply - I don&#039;t know where Alon&#039;s is) ignored him completely. Almost every comment after his seems dedicated to proving the 2/11 answer assuming at least one is a 4. So, my comment was more in response to those comments than to your original post. None of them realized they were wasting their time proving something that everyone already knows.
 And it&#039;s been 3 years, and still no one seemed to have been able to come up with a simulation for Heath&#039;s interpretation.</description>
		<content:encoded><![CDATA[<p>I did read the comments, and noticed that Heath made the same point. I also noticed that all comments after his (except possibly for your reply &#8211; I don&#8217;t know where Alon&#8217;s is) ignored him completely. Almost every comment after his seems dedicated to proving the 2/11 answer assuming at least one is a 4. So, my comment was more in response to those comments than to your original post. None of them realized they were wasting their time proving something that everyone already knows.<br />
 And it&#8217;s been 3 years, and still no one seemed to have been able to come up with a simulation for Heath&#8217;s interpretation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michi</title>
		<link>http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/comment-page-1/#comment-179271</link>
		<dc:creator>Michi</dc:creator>
		<pubDate>Thu, 11 Mar 2010 21:40:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/#comment-179271</guid>
		<description>And if you had read the comments on the post, you&#039;d have seen Heath himself making that exact point.

Besides, it&#039;s a 2 year old post - you expect me to still even remember the argument I was making back then?</description>
		<content:encoded><![CDATA[<p>And if you had read the comments on the post, you&#8217;d have seen Heath himself making that exact point.</p>
<p>Besides, it&#8217;s a 2 year old post &#8211; you expect me to still even remember the argument I was making back then?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/comment-page-1/#comment-179266</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 11 Mar 2010 20:12:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/#comment-179266</guid>
		<description>It seems to me that simulation is pretty useless. If you read Heath&#039;s page, it is quite obvious that he is not interpreting the problem the way you are setting up your simulation. It is also quite obvious that he would predict an answer of 2/11 for your simulation. So, how is it that you think you are actually resolving anything?
 So, editing the program above, here would be a simulation for Heath&#039;s interpretation (which I think is more in line the the wording of the original question). 



n4=0;
n7=0;

for i=1:1000000
x=ceil(6*rand(1));
y=ceil(6*rand(1));
z=ceil(2*rand(1));
if (z==2 &amp; y==4)
n4=n4+1;
if x+y==7
n7=n7+1;
end
end
if (z==1 &amp; x==4)
n4=n4+1;
if x+y==7
n7=n7+1;
end
end
end

[(n7/n4)*11 (n7/n4)*6]

In this simulatin z randomly chooses which of the die the &quot;one is a 4&quot; refers to. But since you randomly assigned the x and y to the dice in the first place, a simpler program would be just as appropriate (and will give the same answer)

n4=0;
n7=0;

for i=1:1000000
x=ceil(6*rand(1));
y=ceil(6*rand(1));
if x==4
n4=n4+1;
if x+y==7
n7=n7+1;
end
end
end

[(n7/n4)*11 (n7/n4)*6]

If the original problem had stated &quot;at least one is a 4&quot; instead of &quot;one is a 4&quot;, your simulations would be accurate. But how can you possibly think that your simulation can prove that &quot;One is a 4&quot; means &quot;at least one is a 4&quot;?? Could it be that you couldn&#039;t figure out how to program anything else?</description>
		<content:encoded><![CDATA[<p>It seems to me that simulation is pretty useless. If you read Heath&#8217;s page, it is quite obvious that he is not interpreting the problem the way you are setting up your simulation. It is also quite obvious that he would predict an answer of 2/11 for your simulation. So, how is it that you think you are actually resolving anything?<br />
 So, editing the program above, here would be a simulation for Heath&#8217;s interpretation (which I think is more in line the the wording of the original question). </p>
<p>n4=0;<br />
n7=0;</p>
<p>for i=1:1000000<br />
x=ceil(6*rand(1));<br />
y=ceil(6*rand(1));<br />
z=ceil(2*rand(1));<br />
if (z==2 &amp; y==4)<br />
n4=n4+1;<br />
if x+y==7<br />
n7=n7+1;<br />
end<br />
end<br />
if (z==1 &amp; x==4)<br />
n4=n4+1;<br />
if x+y==7<br />
n7=n7+1;<br />
end<br />
end<br />
end</p>
<p>[(n7/n4)*11 (n7/n4)*6]</p>
<p>In this simulatin z randomly chooses which of the die the &#8220;one is a 4&#8243; refers to. But since you randomly assigned the x and y to the dice in the first place, a simpler program would be just as appropriate (and will give the same answer)</p>
<p>n4=0;<br />
n7=0;</p>
<p>for i=1:1000000<br />
x=ceil(6*rand(1));<br />
y=ceil(6*rand(1));<br />
if x==4<br />
n4=n4+1;<br />
if x+y==7<br />
n7=n7+1;<br />
end<br />
end<br />
end</p>
<p>[(n7/n4)*11 (n7/n4)*6]</p>
<p>If the original problem had stated &#8220;at least one is a 4&#8243; instead of &#8220;one is a 4&#8243;, your simulations would be accurate. But how can you possibly think that your simulation can prove that &#8220;One is a 4&#8243; means &#8220;at least one is a 4&#8243;?? Could it be that you couldn&#8217;t figure out how to program anything else?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steph</title>
		<link>http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/comment-page-1/#comment-8338</link>
		<dc:creator>Steph</dc:creator>
		<pubDate>Sun, 18 Feb 2007 23:45:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/#comment-8338</guid>
		<description>I tried a million iteration of the following program with Matlab and got
&gt;&gt; probparadox
ans =
    2.0103    1.0965
&gt;&gt; probparadox
ans =
    1.9924    1.0867
The  first number is /11 while the second is /6.
Without a doubt, 2/11 wins

n4=0;
n7=0;

for i=1:1000000
    x=ceil(6*rand(1));
    y=ceil(6*rand(1));
    if (x==4 &amp; y~=4)
        n4=n4+1;
        if x+y==7
            n7=n7+1;
        end
    end
    if (y==4 &amp; x~=4)
        n4=n4+1;
        if x+y==7
            n7=n7+1;
        end
    end
    if (x==4 &amp; y==4)
        n4=n4+1;
    end
end

[(n7/n4)*11 (n7/n4)*6]</description>
		<content:encoded><![CDATA[<p>I tried a million iteration of the following program with Matlab and got<br />
&gt;&gt; probparadox<br />
ans =<br />
    2.0103    1.0965<br />
&gt;&gt; probparadox<br />
ans =<br />
    1.9924    1.0867<br />
The  first number is /11 while the second is /6.<br />
Without a doubt, 2/11 wins</p>
<p>n4=0;<br />
n7=0;</p>
<p>for i=1:1000000<br />
    x=ceil(6*rand(1));<br />
    y=ceil(6*rand(1));<br />
    if (x==4 &amp; y~=4)<br />
        n4=n4+1;<br />
        if x+y==7<br />
            n7=n7+1;<br />
        end<br />
    end<br />
    if (y==4 &amp; x~=4)<br />
        n4=n4+1;<br />
        if x+y==7<br />
            n7=n7+1;<br />
        end<br />
    end<br />
    if (x==4 &amp; y==4)<br />
        n4=n4+1;<br />
    end<br />
end</p>
<p>[(n7/n4)*11 (n7/n4)*6]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan P</title>
		<link>http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/comment-page-1/#comment-7859</link>
		<dc:creator>Dan P</dc:creator>
		<pubDate>Mon, 12 Feb 2007 19:28:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/#comment-7859</guid>
		<description>I had a look at PFP and don&#039;t like it&#039;s handling of fail. Seems to me that you should be able to write lines in the monad like &quot;guard $ x&gt;10&quot; so that the final outcome is conditioned on x being greater than 10. The &#039;pick&#039; routine should deal with this by renormalising the probability distribution so as to sum to 1. Maybe I haven&#039;t properly thought through the consequences of this and it&#039;s a stupid suggestion. Does it sound reasonable to you?</description>
		<content:encoded><![CDATA[<p>I had a look at PFP and don&#8217;t like it&#8217;s handling of fail. Seems to me that you should be able to write lines in the monad like &#8220;guard $ x&gt;10&#8243; so that the final outcome is conditioned on x being greater than 10. The &#8216;pick&#8217; routine should deal with this by renormalising the probability distribution so as to sum to 1. Maybe I haven&#8217;t properly thought through the consequences of this and it&#8217;s a stupid suggestion. Does it sound reasonable to you?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan P</title>
		<link>http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/comment-page-1/#comment-7848</link>
		<dc:creator>Dan P</dc:creator>
		<pubDate>Mon, 12 Feb 2007 18:14:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/#comment-7848</guid>
		<description>Related to this probability question is the &lt;a href=&quot;http://www.maproom.co.uk/sb.html&quot; rel=&quot;nofollow&quot;&gt;Sleeping Beauty Problem&lt;/a&gt;. It too depends on asking interesting questions about conditional probability. Unlike Monty Hall and its relatives, however, people still debate about what exactly the correct answer is.</description>
		<content:encoded><![CDATA[<p>Related to this probability question is the <a href="http://www.maproom.co.uk/sb.html" rel="nofollow">Sleeping Beauty Problem</a>. It too depends on asking interesting questions about conditional probability. Unlike Monty Hall and its relatives, however, people still debate about what exactly the correct answer is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michi</title>
		<link>http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/comment-page-1/#comment-7759</link>
		<dc:creator>Michi</dc:creator>
		<pubDate>Sun, 11 Feb 2007 11:18:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/#comment-7759</guid>
		<description>pwyll: You did notice which side I&#039;m on in the discussion, right? Heath claims the [4 4] should be double counted. I claim it shouldn&#039;t. :)</description>
		<content:encoded><![CDATA[<p>pwyll: You did notice which side I&#8217;m on in the discussion, right? Heath claims the [4 4] should be double counted. I claim it shouldn&#8217;t. <img src='http://blog.mikael.johanssons.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pwyll</title>
		<link>http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/comment-page-1/#comment-7742</link>
		<dc:creator>pwyll</dc:creator>
		<pubDate>Sun, 11 Feb 2007 03:59:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/#comment-7742</guid>
		<description>The mathematical argument can be made just by counting. There must be at least one 4, so this the sample space: [4 1], [4 2], [4 3], [4 4], [4 5], [4 6], [1 4], [2 4], [3 4] [5 4] [6 4]. There are 11 points in the sample space, only two sum to 7, so the answer is 2/11.

The only trick is to not to count [4 4] more than once. If the reason for this is not obvious, think of the rolls as ordered pairs, the dice as red and green, with 1st dice red, 2nd green.</description>
		<content:encoded><![CDATA[<p>The mathematical argument can be made just by counting. There must be at least one 4, so this the sample space: [4 1], [4 2], [4 3], [4 4], [4 5], [4 6], [1 4], [2 4], [3 4] [5 4] [6 4]. There are 11 points in the sample space, only two sum to 7, so the answer is 2/11.</p>
<p>The only trick is to not to count [4 4] more than once. If the reason for this is not obvious, think of the rolls as ordered pairs, the dice as red and green, with 1st dice red, 2nd green.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TBone</title>
		<link>http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/comment-page-1/#comment-7703</link>
		<dc:creator>TBone</dc:creator>
		<pubDate>Sat, 10 Feb 2007 15:54:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/#comment-7703</guid>
		<description>Okay, the blog comment system just totally mulched my code.

Ah well, it was nothing amazing, just a simple list comprehension to generate the die roll space, followed by a filter to reduce that to the conditional space, and another to reduce that to the events space.

Have a good one!</description>
		<content:encoded><![CDATA[<p>Okay, the blog comment system just totally mulched my code.</p>
<p>Ah well, it was nothing amazing, just a simple list comprehension to generate the die roll space, followed by a filter to reduce that to the conditional space, and another to reduce that to the events space.</p>
<p>Have a good one!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TBone</title>
		<link>http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/comment-page-1/#comment-7702</link>
		<dc:creator>TBone</dc:creator>
		<pubDate>Sat, 10 Feb 2007 15:46:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/#comment-7702</guid>
		<description>Michl:  Yeah, I guess the math argument is not of much use to those who are arguing about the math argument.  : )

Interesting post though, I should have a look into that probability library.  Sounds like it could be usefull/interesting.

For fun, here&#039;s another (slightly less than optimal) proof in the form ghci commands followed by results.

-- The conditional probability space is:

let space = filter (\(x,y) -&gt; x==4 &#124;&#124; y==4) [(x,y)&#124;x x+y == 7) space
-- events = [(3,4),(4,3)]

-- The probability is therefore (all events in the space being equally likely):

let prob = (length events)/(length space)
-- prob = 2/11</description>
		<content:encoded><![CDATA[<p>Michl:  Yeah, I guess the math argument is not of much use to those who are arguing about the math argument.  : )</p>
<p>Interesting post though, I should have a look into that probability library.  Sounds like it could be usefull/interesting.</p>
<p>For fun, here&#8217;s another (slightly less than optimal) proof in the form ghci commands followed by results.</p>
<p>&#8211; The conditional probability space is:</p>
<p>let space = filter (\(x,y) -&gt; x==4 || y==4) [(x,y)|x x+y == 7) space<br />
-- events = [(3,4),(4,3)]</p>
<p>&#8211; The probability is therefore (all events in the space being equally likely):</p>
<p>let prob = (length events)/(length space)<br />
&#8211; prob = 2/11</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michi</title>
		<link>http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/comment-page-1/#comment-7700</link>
		<dc:creator>Michi</dc:creator>
		<pubDate>Sat, 10 Feb 2007 14:23:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/#comment-7700</guid>
		<description>TBone: I&#039;m pretty certain that&#039;s what the probability library does up to the point that I require, with pick, that it involve random selections.

And the reason I do it this way instead of by actual probability analysis is that the core of the matter was a disagreement in the analysis of the problem, where the original author, Heath, claimed that 2/11 was invalid.

But yeah, the purely mathematical reasoning IS cleaner and better.</description>
		<content:encoded><![CDATA[<p>TBone: I&#8217;m pretty certain that&#8217;s what the probability library does up to the point that I require, with pick, that it involve random selections.</p>
<p>And the reason I do it this way instead of by actual probability analysis is that the core of the matter was a disagreement in the analysis of the problem, where the original author, Heath, claimed that 2/11 was invalid.</p>
<p>But yeah, the purely mathematical reasoning IS cleaner and better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TBone</title>
		<link>http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/comment-page-1/#comment-7699</link>
		<dc:creator>TBone</dc:creator>
		<pubDate>Sat, 10 Feb 2007 14:13:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/#comment-7699</guid>
		<description>Why not just simulate the entire probability space in this case.  There are only 6^2=36 possible outcomes given two dice.  Each outcome has an associated 1/(6^2)=1/36 probability.  That&#039;s a heck of a lot less work than what you are doing and it will give you an exact answer.

You could generate all outcomes pretty quick with list comprehension, and then just fold the sucker into a counting function.  Heck, if you use a strict foldl, it won&#039;t even consume any more space than that required to hold one outcome while doing the calculation.

Of course you could just as easily just do the math:

X = Outcome of first dice roll
Y = Outcome of second dice roll

P(X=4&amp;&amp;Y=3 &#124;&#124; X=3&amp;&amp;Y=4 given X=4&#124;&#124;Y=4) =
  P(X=4&amp;&amp;Y=3 &#124;&#124; X=3&amp;&amp;Y=4)/P(X=4&#124;&#124;Y=4)

P(X=4&#124;&#124;Y=4) = P(X=4) + P(Y=4) - P(X=4&amp;&amp;Y=4) = 2/6-1/36 = 11/36
(these events are not mutually exclusive, so you have to subtract one copy of the combined event as otherwise you have counted it twice because it is included in each of the independent events)

P(X=4&amp;&amp;Y=3 &#124;&#124; X=3&amp;&amp;Y=4) = P(X=4&amp;&amp;Y=3) + P(X=3&amp;&amp;Y=4) = 2/36
(these two events are mutually exclusive, so nothing has been counted twice -- equally, the term you would subtract is P(X=4&amp;&amp;Y=3 &amp;&amp; X=3&amp;&amp;Y=4)=0 [being obviously impossible])

Therefore, the answer is 2/36 * 36/11 = 2/11.</description>
		<content:encoded><![CDATA[<p>Why not just simulate the entire probability space in this case.  There are only 6^2=36 possible outcomes given two dice.  Each outcome has an associated 1/(6^2)=1/36 probability.  That&#8217;s a heck of a lot less work than what you are doing and it will give you an exact answer.</p>
<p>You could generate all outcomes pretty quick with list comprehension, and then just fold the sucker into a counting function.  Heck, if you use a strict foldl, it won&#8217;t even consume any more space than that required to hold one outcome while doing the calculation.</p>
<p>Of course you could just as easily just do the math:</p>
<p>X = Outcome of first dice roll<br />
Y = Outcome of second dice roll</p>
<p>P(X=4&amp;&amp;Y=3 || X=3&amp;&amp;Y=4 given X=4||Y=4) =<br />
  P(X=4&amp;&amp;Y=3 || X=3&amp;&amp;Y=4)/P(X=4||Y=4)</p>
<p>P(X=4||Y=4) = P(X=4) + P(Y=4) &#8211; P(X=4&amp;&amp;Y=4) = 2/6-1/36 = 11/36<br />
(these events are not mutually exclusive, so you have to subtract one copy of the combined event as otherwise you have counted it twice because it is included in each of the independent events)</p>
<p>P(X=4&amp;&amp;Y=3 || X=3&amp;&amp;Y=4) = P(X=4&amp;&amp;Y=3) + P(X=3&amp;&amp;Y=4) = 2/36<br />
(these two events are mutually exclusive, so nothing has been counted twice &#8212; equally, the term you would subtract is P(X=4&amp;&amp;Y=3 &amp;&amp; X=3&amp;&amp;Y=4)=0 [being obviously impossible])</p>
<p>Therefore, the answer is 2/36 * 36/11 = 2/11.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michi</title>
		<link>http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/comment-page-1/#comment-7690</link>
		<dc:creator>Michi</dc:creator>
		<pubDate>Sat, 10 Feb 2007 09:48:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mikael.johanssons.org/archive/2007/02/response-to-heath-raftery/#comment-7690</guid>
		<description>DanP: foldl or even foldl&#039; make things better. 100 000 tries works without problem. 

Heath: I&#039;m putting an answer up at Alon&#039;s.</description>
		<content:encoded><![CDATA[<p>DanP: foldl or even foldl&#8217; make things better. 100 000 tries works without problem. </p>
<p>Heath: I&#8217;m putting an answer up at Alon&#8217;s.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
