<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bernard Leong &#187; Research &amp; Pedagogy</title>
	<atom:link href="http://www.bernardleong.com/category/research-pedagogy/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bernardleong.com</link>
	<description>A Pragmatic Idealist on Tech, Media &#38; Entrepreneurship</description>
	<lastBuildDate>Thu, 26 Aug 2010 02:40:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>A Mathematical Solution to Eddington&#8217;s Controversy Problem</title>
		<link>http://www.bernardleong.com/2009/05/23/a-mathematical-solution-to-eddingtons-controversy-problem/</link>
		<comments>http://www.bernardleong.com/2009/05/23/a-mathematical-solution-to-eddingtons-controversy-problem/#comments</comments>
		<pubDate>Sat, 23 May 2009 08:22:28 +0000</pubDate>
		<dc:creator>Bernard Leong</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Research & Pedagogy]]></category>
		<category><![CDATA[Discrete Mathematics]]></category>
		<category><![CDATA[Eddington's Controversy]]></category>
		<category><![CDATA[Logic]]></category>

		<guid isPermaLink="false">http://www.bernardleong.com/?p=227</guid>
		<description><![CDATA[To quote the problem, "If A, B, C, D each speaks the truth 1 in 3 times (independently), and A affirms that B denies that C delcares that D is a liar, what's the probability that D was speaking the truth?"  I thought I share my solution to this problem which attracted different answers from different people. ]]></description>
			<content:encoded><![CDATA[<div style="float:right;margin:0px 0px 0px 0px;"></div><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.bernardleong.com%2F2009%2F05%2F23%2Fa-mathematical-solution-to-eddingtons-controversy-problem%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.bernardleong.com%2F2009%2F05%2F23%2Fa-mathematical-solution-to-eddingtons-controversy-problem%2F&amp;source=bleongcw&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.bernardleong.com/wp-content/uploads/2009/08/eddington.jpg"><img class="alignleft size-full wp-image-228" title="eddington" src="http://www.bernardleong.com/wp-content/uploads/2009/08/eddington.jpg" alt="eddington" width="167" height="221" /></a>Sometime back, while reading Fazlollah M. Reza&#8217;s &#8220;<a href="http://www.amazon.com/Introduction-Information-Theory-Fazlollah-Reza/dp/0486682102" target="_blank">An Introduction to Information Theory</a>&#8220;, I revisited a solution that I have sketched out years back on the <strong>Eddington&#8217;s controvery problem</strong>. This problem is interesting to me because it exemplifies the type of confusion that existed in probability prior to the introduction of set theory considerations. Eddington is the same astrophysicist who did the solar eclipse experiment to demonstrate the prediction of light bending using Einstein&#8217;s general relativity. I thought I should share the solution which I co-solved with Yen Lee, an old friend from Cambridge who&#8217;s now a postdoc in Purdue University. To quote the problem, &#8220;<em>If A, B, C, D each speaks the truth 1 in 3 times (independently), and A affirms that B denies that C delcares that D is a liar, what&#8217;s the probability that D was speaking the truth?</em>&#8221; Historically, this problem was examined by M. Gardner in an article entitled &#8220;Brain Teasers that involve Formal Logic&#8221; and to everyone&#8217;s surprise, some theoretical physicists and mathematicians are embroiled in getting the correct the number of the solution. So, I will discuss the problem in detail, giving my solution to the problem and explain why Eddington&#8217;s answer of 25/71 was greeted with so much protests from the thinkers of the time. (<strong>Warning:</strong> <em>If you are not a theoretical physicist or mathematician, you will be inundated by a plethora of mathematical symbols, hence you are warned before proceeding to the interesting parts</em>).<span id="more-227"></span></p>
<p>To simplify the problem without bringing up the controversy, we make the following assumptions (see the last section of the blog article):</p>
<ol>
<li>All four men made statements.</li>
<li>A, B, and C each made a statement that either aﬃrmed or denied the statement that follows.</li>
<li>A lying affirmation is taken to be a denial and a lying denial is taken to be an affirmation.</li>
</ol>
<p>Let <em>a</em>, <em>b</em>,<em> c</em> and <em>d</em> be the event when A, B, C and D tells the truth respectively, and let</p>
<ul>
<li><em>p</em> be the event that D lied,</li>
<li><em>q</em> be the event that C declared that D lied,</li>
<li><em>r</em> be the event that B denied that C declared that D lied,</li>
<li><em>s</em> be the event that A affirmed that B denied that C declared that D lied.</li>
</ul>
<p>We are told that A, B, C, D each tel the truth (denote truth as T and false as F) with a probability of 1/3. Thus, we get the following:</p>
<div style="text-align: center;"><a href="http://www.bernardleong.com/wp-content/uploads/2009/08/eddington1.png"><img class="alignnone size-full wp-image-229" title="eddington1" src="http://www.bernardleong.com/wp-content/uploads/2009/08/eddington1.png" alt="eddington1" width="453" height="39" /></a></p>
<div style="text-align: left;">where == indicates that two logical statements are equivalent.We set up the following logical operations for the problem. The event <em>p</em> is the event that D lied, i.e that d is false, so</p>
<div style="text-align: center;"><a href="http://www.bernardleong.com/wp-content/uploads/2009/08/eddington2.png"><img class="alignnone size-full wp-image-230" title="eddington2" src="http://www.bernardleong.com/wp-content/uploads/2009/08/eddington2.png" alt="eddington2" width="195" height="22" /></a></p>
<div style="text-align: left;">and we use the logical operators &amp;&amp; means AND, || means OR and ^ means XOR.Let&#8217;s work out <em>q</em>, which is the event that C declared that D lies, i.e. q is the event that C declared that &#8220;<em>p</em> is true&#8221;. This happens if either &#8220;<em>p</em> is true and C tells the truth&#8221; or &#8220;<em>p</em> is false and C lies&#8221;, hence, we get the following:</p>
<div style="text-align: center;"><a href="http://www.bernardleong.com/wp-content/uploads/2009/08/eddington3.png"><img class="alignnone size-full wp-image-231" title="eddington3" src="http://www.bernardleong.com/wp-content/uploads/2009/08/eddington3.png" alt="eddington3" width="329" height="83" /></a></p>
<div style="text-align: left;">Then we continue with <em>r</em> which is the event that B denied statement <em>q</em>, i.e. <em>r</em> is the event that B said that &#8220;<em>q</em> is false&#8221;. This happens if either &#8220;<em>q</em> is false and B tells the truth&#8221; or &#8220;<em>q</em> is true and B lies&#8221;, hence</p>
<p style="text-align: center;"><a href="http://www.bernardleong.com/wp-content/uploads/2009/08/eddington4.png"><img class="alignnone size-full wp-image-232" title="eddington4" src="http://www.bernardleong.com/wp-content/uploads/2009/08/eddington4.png" alt="eddington4" width="312" height="84" /></a></p>
<div style="text-align: center;">
<div style="text-align: left;">Finally, we evaluate <em>s</em> which is the event that A affirmed the statement<em> r</em>, we run thru the same calculation and find:</p>
<div style="text-align: center;"><a style="display: inline;" onclick="window.open( this.href, '_blank', 'width=640,height=480,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0' ); return false" href="http://bleongcw.typepad.com/.a/6a00d8341c7bc453ef0115709f1473970b-popup"><a href="http://www.bernardleong.com/wp-content/uploads/2009/08/eddington5.png"><img class="alignnone size-full wp-image-233" title="eddington5" src="http://www.bernardleong.com/wp-content/uploads/2009/08/eddington5.png" alt="eddington5" width="314" height="86" /></a><br />
</a></p>
<div style="text-align: left;">where we use the identity (x == y) == !(x^y). Since the XOR operation is commutative and associative, we can just write:</p>
<div style="text-align: center;"><a style="display: inline;" onclick="window.open( this.href, '_blank', 'width=640,height=480,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0' ); return false" href="http://bleongcw.typepad.com/.a/6a00d8341c7bc453ef01156fa9d7e8970c-popup"><a href="http://www.bernardleong.com/wp-content/uploads/2009/08/eddington6.png"><img class="alignnone size-full wp-image-234" title="eddington6" src="http://www.bernardleong.com/wp-content/uploads/2009/08/eddington6.png" alt="eddington6" width="110" height="33" /></a><br />
</a></p>
<div style="text-align: left;">You can refer to this truth table which I have painstakingly constructed:</p>
<div style="text-align: center;"><a href="http://www.bernardleong.com/wp-content/uploads/2009/08/eddington7.png"><img class="alignnone size-full wp-image-235" title="eddington7" src="http://www.bernardleong.com/wp-content/uploads/2009/08/eddington7.png" alt="eddington7" width="286" height="302" /></a></div>
</div>
<div style="text-align: left;">With the logical relation <em>s</em>, we proceed to ﬁnd the probability that D told the truth (event d) given what A said (event <em>s</em>):</p>
<div style="text-align: center;"><a style="display: inline;" onclick="window.open( this.href, '_blank', 'width=640,height=480,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0' ); return false" href="http://bleongcw.typepad.com/.a/6a00d8341c7bc453ef0115709f15f8970b-popup"><a href="http://www.bernardleong.com/wp-content/uploads/2009/08/eddington8.png"><img class="alignnone size-full wp-image-236" title="eddington8" src="http://www.bernardleong.com/wp-content/uploads/2009/08/eddington8.png" alt="eddington8" width="139" height="48" /></a><br />
</a></p>
<div style="text-align: left;">and we calculate the denominator by setting up the truth table: Therefore we calculate the answer:</p>
<div style="text-align: center;"><a style="display: inline;" onclick="window.open( this.href, '_blank', 'width=640,height=480,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0' ); return false" href="http://bleongcw.typepad.com/.a/6a00d8341c7bc453ef0115709f17ca970b-popup"><a href="http://www.bernardleong.com/wp-content/uploads/2009/08/eddington9.png"><img class="alignnone size-full wp-image-237" title="eddington9" src="http://www.bernardleong.com/wp-content/uploads/2009/08/eddington9.png" alt="eddington9" width="281" height="128" /></a><br />
</a></p>
<div style="text-align: left;">and yes, my solution is slightly different from Eddington&#8217;s solution of 25/71, which I will explain how he come to that solution.</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p><span style="text-decoration: underline;"><span style="font-weight: bold;">How</span><strong> Eddington got his solution</strong></span></p>
<p>In this section, we describe Eddington’s original solution to the problem [Eddington (1935)]. Eddington interpreted the question as the following: D has made a statement X, and A stated that B denied that C contradicted X, hence what is the probability that the statement X is true?</p>
<p>There are only two premises made in Eddington’s view: (1) D’s statement, X and (2) A’s statement that “B denied that C contradicted X”. He assumed that we do not know whether B and C made any relevant statements. An example will be if B truthfully denied that C contradicted X, there is no reason that C aﬃrmed X. By this reasoning, the only cases which are inconsistent with what’s known are: (1) A truths, B lies, C truths, D truths and (2) A truths, lies, C lies, D lies.</p>
<p>If A is lying, we don’t know what B said and if A and B both spoke the truth, we do not know what C said. Since case 1 and 2 occur twice and eight times out of 81 occasions respectively, therefore D’s 27 truths and 54 lies are reduced to 25 truths and 46 lies. Therefore the probability becomes 25/(25 + 46) = 25/71<br />
≈ 0.35. Hence that’s Eddington’s answer to the problem.</p>
<p><span style="text-decoration: underline;"><strong>A Historical Depiction of the Problem from Gardner&#8217;s paper &#8220;Brain Teasers that involve Formal Logic&#8221;</strong></span></p>
<p>I thought that it may be good to quote the comments on the Eddington problem here from Gardner&#8217;s paper (note that while trying to write out the solution, I have read all the papers cited below by spending a few days digging in old stacks library of journals in Cambridge and, yes, they have Nature papers dated back 1900s):</p>
<p><em>&#8220;Eddington&#8217;s answer of 25/71 was greeted by howls of protest from his readers touching off an amusing controversy that was never decisively resolved. The English astronomer Herbert Dingle, reviewing Eddington&#8217;s book in Nature (March 23, 1935) dismissed the problem as meaningless and symptomatic of Eddington&#8217;s confused thinking about probability. Theodore Sterne, an American physicist, replied (Nature, June 29, 1935) that the problem was not meaningless but lacked sufficient data for a solution. Dingle responded (nature, Sept 14, 1935) by contending that if one granted Sterne&#8217;s approach, there were enough data to reach a solution of exactly 1/3. Eddington then re-entered the fray with a paper entitled &#8220;The Problem of A, B, C and D&#8221; (Math. Gaz., October 1935) in which he explained in detail how he calculated the answer.</em></p>
<p><em>The difficulty lies chiefly in deciding exactly how to interpret Eddington&#8217;s statement of the problem. If B is truthful in making his denial, are we justified in assuming that C said that D spoke the truth? Eddington thought not. Similarly, if A is lying, can we then be sure that B and C said anything at all? Fortunately, we can side-step all these verbal difficulties by making (as Eddington did not) the following assumptions:<br />
</em></p>
<ol>
<li><em>All four men made statements. </em></li>
<li><em>A, B, and C each made a state that either aﬃrmed or denied the statement that follows. </em></li>
<li><em>A lying aﬃrmation is taken to be a denial and a lying denial is taken to be an aﬃrmation.</em> &#8220;</li>
</ol>
<p><strong>Related Links:</strong><br />
[1] <span class="f">David Stirzake, <a href="http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fbooks.google.com%2Fbooks%3Fid%3DBp12CPDUoOoC%26pg%3DPA75%26lpg%3DPA75%26dq%3DEddington%2527s%2Bcontroversy%26source%3Dbl%26ots%3Db_gC926aHz%26sig%3D7D0NPbTz_Y-5VavUJMGqQ6hRDvM%26hl%3Den%26ei%3DOuUWStnqIsyIkQXktdHjDA%26sa%3DX%26oi%3Dbook_result%26ct%3Dresult%26resnum%3D1&amp;ei=OuUWStnqIsyIkQXktdHjDA&amp;usg=AFQjCNHiNWY60sg6uKJCOOqMgUu9Twnp0A&amp;sig2=gJq2vPsSk7aQWSh6Fspwnw" target="_blank">Elementary Probability</a> (presented a solution using Set theory).</span></p>


<p>Related posts:<ol><li><a href='http://www.bernardleong.com/2007/10/15/the-birthday-problem/' rel='bookmark' title='Permanent Link: The Birthday Problem'>The Birthday Problem</a></li>
<li><a href='http://www.bernardleong.com/2007/08/03/a-possible-solution-to-the-taxi-problem-in-singapore/' rel='bookmark' title='Permanent Link: A Possible Solution to the Taxi problem in Singapore'>A Possible Solution to the Taxi problem in Singapore</a></li>
<li><a href='http://www.bernardleong.com/2009/02/06/buffon-needle-noodle-problem/' rel='bookmark' title='Permanent Link: Buffon&#8217;s Needle and Noodle Problem'>Buffon&#8217;s Needle and Noodle Problem</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.bernardleong.com/2009/05/23/a-mathematical-solution-to-eddingtons-controversy-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Buffon&#8217;s Needle and Noodle Problem</title>
		<link>http://www.bernardleong.com/2009/02/06/buffon-needle-noodle-problem/</link>
		<comments>http://www.bernardleong.com/2009/02/06/buffon-needle-noodle-problem/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 07:00:09 +0000</pubDate>
		<dc:creator>Bernard Leong</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Research & Pedagogy]]></category>
		<category><![CDATA[Buffon Needle]]></category>
		<category><![CDATA[Buffon Noodle]]></category>
		<category><![CDATA[Geometry]]></category>
		<category><![CDATA[Pi]]></category>
		<category><![CDATA[Probability]]></category>
		<category><![CDATA[Statistics]]></category>

		<guid isPermaLink="false">http://www.bernardleong.com/?p=217</guid>
		<description><![CDATA[What is the probability that the needle will cross a line? How can this be extended to a random curve of length A? My solution to both Buffon Noodle and Needle. ]]></description>
			<content:encoded><![CDATA[<div style="float:right;margin:0px 0px 0px 0px;"></div><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.bernardleong.com%2F2009%2F02%2F06%2Fbuffon-needle-noodle-problem%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.bernardleong.com%2F2009%2F02%2F06%2Fbuffon-needle-noodle-problem%2F&amp;source=bleongcw&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p style="text-align: justify;"><a href="http://www.bernardleong.com/wp-content/uploads/2009/08/pi.jpg"><img class="alignleft size-full wp-image-218" title="pi" src="http://www.bernardleong.com/wp-content/uploads/2009/08/pi.jpg" alt="pi" width="150" height="150" /></a>Recently, while flipping through a research paper made me think about the estimation of π (which we know is 3.141&#8230; ). Here is an interesting problem which is associated with a method to estimate π. A needle of length <em>a</em> is thrown on to the plane covered with equally spaced parallel lines with seperation<em> b</em>. What is the probability that the needle will cross a line? How can this be extended to a random curve of length<em> A</em>? I thought I might just share a simple mathematical solution for both the <a href="http://en.wikipedia.org/wiki/Buffon%27s_needle" target="_blank">Buffon&#8217;s Needle</a> and <a href="http://en.wikipedia.org/wiki/Buffon%27s_noodle" target="_blank">Buffon&#8217;s Noodle</a> problem that I have worked out years back on this problem during my PhD years.</p>
<p><span id="more-217"></span></p>
<div style="text-align: justify;">The only way to do this is to illlustrate with a figure to show how a needle might land so that it just touches one of the parallels.  Making use of the symmetry of the system, we only need to look at one half sgement in the diagram.</div>
<div style="text-align: justify;">The vertical position of the needle does not matter because shifting it up or down leaves the state of crossing a vertical line unchanged. The only factors which will matter will be: (a) The needle&#8217;s angle with the horizontal and (b) the distance of the centre of the needle to the nearest parallel.The centre P is equally likely to fall anywhere between the parallels, which is essentially, the assumption of uniform distribution and for a fixed angle θ, the chance that the line crosses a parallel will be</div>
<p style="text-align: left;"><a href="http://www.bernardleong.com/wp-content/uploads/2009/08/buffon1.png"><img class="size-full wp-image-219 aligncenter" title="buffon1" src="http://www.bernardleong.com/wp-content/uploads/2009/08/buffon1.png" alt="buffon1" width="135" height="55" /></a>because the line crosses a parallel if the centre falls within <em>x</em>-units of either parallel. (See the dashed lines in the figure).</p>
<p style="text-align: center;"><a href="http://www.bernardleong.com/wp-content/uploads/2009/08/buffon2.png"><img class="size-full wp-image-220 aligncenter" title="buffon2" src="http://www.bernardleong.com/wp-content/uploads/2009/08/buffon2.png" alt="buffon2" width="550" /></a></p>
<div style="text-align: justify;">The angle θ is thought to be uniforrmly distributed from 0 to (π/2) because of twirling. The crossings that happen for θ also work for π &#8211; θ.Now we proceed to compute the probability that θ is between 0 and π/2. We need the mean value of (<em>2x/b</em>) for <em>x = a/2 cos </em>θ and it works out to be (<em>a/b cos </em>θ). Then integrating to find the average</div>
<div style="text-align: center;">
<div style="text-align: center;"><a href="http://www.bernardleong.com/wp-content/uploads/2009/08/buffon3.png"><img class="alignnone size-full wp-image-221" title="buffon3" src="http://www.bernardleong.com/wp-content/uploads/2009/08/buffon3.png" alt="buffon3" width="199" height="58" /></a></div>
<div style="text-align: left;">and it gives the following relation</p>
<div style="text-align: center;"><a style="display: inline;" onclick="window.open( this.href, '_blank', 'width=640,height=480,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0' ); return false" href="http://bleongcw.typepad.com/.a/6a00d8341c7bc453ef010537104f86970b-popup"><a href="http://www.bernardleong.com/wp-content/uploads/2009/08/buffon4.png"><img class="alignnone size-full wp-image-222" title="buffon4" src="http://www.bernardleong.com/wp-content/uploads/2009/08/buffon4.png" alt="buffon4" width="485" height="50" /></a><br />
</a></p>
<div style="text-align: left;">
<div style="text-align: justify;">The above relation suggests a geometrical relation between a pure chance experiment and the value of the transcendental number, π, i.e. we can estimate π by tossing a long needle on a grid of squares.</div>
<p>We can extend the Buffon&#8217;s needle problem to Buffon&#8217;s noodle (a random curve of length <em>A</em>). Suppose we cut up the noodle into several needles, i.e.</p>
<div style="text-align: center;"><a style="display: inline;" onclick="window.open( this.href, '_blank', 'width=640,height=480,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0' ); return false" href="http://bleongcw.typepad.com/.a/6a00d8341c7bc453ef010537105222970b-popup"><a href="http://www.bernardleong.com/wp-content/uploads/2009/08/buffon5.png"><img class="alignnone size-full wp-image-223" title="buffon5" src="http://www.bernardleong.com/wp-content/uploads/2009/08/buffon5.png" alt="buffon5" width="206" height="58" /></a><br />
</a></p>
<p style="text-align: left;">Hence, tossing the noodle is like dropping a couple of needles at one go. The equation earlier for Buffon&#8217;s needle can be extended to</p>
<div style="text-align: left;">
<div style="text-align: center;"><a href="http://www.bernardleong.com/wp-content/uploads/2009/08/buffon6.png"><img class="alignnone size-full wp-image-224" title="buffon6" src="http://www.bernardleong.com/wp-content/uploads/2009/08/buffon6.png" alt="buffon6" width="167" height="64" /></a></div>
<p>Therefore, on average, a random curve of length <em>A</em> is expected to intersect the lines 2<em>A</em>/(π b) times.</p>
<p><strong>Related Links:</strong></p>
<ul style="font-family: inherit;">
<li style="font-family: inherit;"><a href="http://www.mste.uiuc.edu/reese/buffon/buffon.html" target="_blank">Buffon&#8217;s Needle: An analysis and simulation.</a></li>
<li style="font-family: inherit;"><a href="http://mathworld.wolfram.com/BuffonsNeedleProblem.html" target="_blank">Mathematica&#8217;s solution to Buffon&#8217;s Needle</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>


<p>Related posts:<ol><li><a href='http://www.bernardleong.com/2007/10/15/the-birthday-problem/' rel='bookmark' title='Permanent Link: The Birthday Problem'>The Birthday Problem</a></li>
<li><a href='http://www.bernardleong.com/2009/05/23/a-mathematical-solution-to-eddingtons-controversy-problem/' rel='bookmark' title='Permanent Link: A Mathematical Solution to Eddington&#8217;s Controversy Problem'>A Mathematical Solution to Eddington&#8217;s Controversy Problem</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.bernardleong.com/2009/02/06/buffon-needle-noodle-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firing of BPL Football Managers and Maximal Efficiency</title>
		<link>http://www.bernardleong.com/2008/01/28/firing-of-bpl-football-managers-and-maximal-efficiency/</link>
		<comments>http://www.bernardleong.com/2008/01/28/firing-of-bpl-football-managers-and-maximal-efficiency/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 18:01:48 +0000</pubDate>
		<dc:creator>Bernard Leong</dc:creator>
				<category><![CDATA[Economics]]></category>
		<category><![CDATA[Research & Pedagogy]]></category>
		<category><![CDATA[Barclays Premiere League]]></category>
		<category><![CDATA[Complex Systems]]></category>
		<category><![CDATA[Football Managers]]></category>
		<category><![CDATA[Freakonomics]]></category>
		<category><![CDATA[Maximal Efficiency]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[Self-Organized Criticality]]></category>

		<guid isPermaLink="false">http://www.bernardleong.com/?p=87</guid>
		<description><![CDATA[Why are we seeing more football managers getting fired these days in the Barclays Premiere League? A research paper has predicted this some years back using a combined set of ideas from physics and economics. ]]></description>
			<content:encoded><![CDATA[<div style="float:right;margin:0px 0px 0px 0px;"></div><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.bernardleong.com%2F2008%2F01%2F28%2Ffiring-of-bpl-football-managers-and-maximal-efficiency%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.bernardleong.com%2F2008%2F01%2F28%2Ffiring-of-bpl-football-managers-and-maximal-efficiency%2F&amp;source=bleongcw&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.bernardleong.com/wp-content/uploads/2009/07/official_logo_epl.jpg"><img class="alignleft size-thumbnail wp-image-90" title="official_logo_epl" src="http://www.bernardleong.com/wp-content/uploads/2009/07/official_logo_epl-150x150.jpg" alt="official_logo_epl" width="150" height="150" /></a>Till today, since the beginning of the Barclays Premiere League, eight out of twenty football managers are already replaced. Sometime back, together with two economists (Toke Aidt and Daniel Sgroi) and another fellow physicist in Cambridge (Bill Saslaw), we co-wrote a research paper entitled &#8220;<a href="http://bleongcw.typepad.com/simple_is_the_reason_of_m/files/PhysicaA.pdf">Power Laws, Maximal Efficiency and the Turnover of Sports Managers</a>&#8221; (which was published in <a href="http://www.sciencedirect.com/science?_ob=ArticleURL&amp;_udi=B6TVG-4JSG6DD-1&amp;_user=10&amp;_handle=V-WA-A-W-ZW-MsSWYWW-UUA-U-AAZUUEEWBZ-AACDZYUUBZ-AUDWUAVYC-ZW-U&amp;_fmt=summary&amp;_coverDate=10%2F15%2F2006&amp;_rdoc=44&amp;_orig=browse&amp;_srch=%23toc%235534%232006%23996299997%23631876%21&amp;_cdi=5534&amp;_acct=C000050221&amp;_version=1&amp;_urlVersion=0&amp;_userid=10&amp;md5=b0e4e5a5512de17160ee28e3d8541ed7">Physica A</a> and <a href="http://news.softpedia.com/news/Football-Managers-039-Tenure-Is-Determined-By-Luck-Not-Skill-29574.shtml">got</a> <a href="http://www.physorg.com/news71937744.html">some press attention</a> in the UK after the World Cup 2006). Yes, I have done the &#8220;freaknomics&#8221; type research by looking at the phenomena of sports managers being fired for all sorts of reasons. It was the research that I have done on the football clubs that eventually led me to watching the Premiere League football till today. It was one of the most enjoyable and multi-disciplinary research collaborations for me. In this short blog entry, I will explain the research work with a &#8220;freaknomics&#8221; tradition and explain why the current firings will continue to happen because of  market efficiency in the Premiere League.</p>
<p>Let me start off with a simple situation that you face. If you believe that life is random, any six sided dice you roll will give you a random probability of 1/6, provided that it is not a loaded dice. Consider the following scenario, if you are into sports betting, is the probability of betting in every football match just 1/3 (since there are only three outcomes &#8211; win, lose and draw)? An avid football fan will tell me that there are many factors affecting a football match, for example, the manager&#8217;s ability, the injuries sustained by the football team, the media reports which goes both ways like speculating this manager will be sacked if he wins or loses a game, or even two big clubs playing is different from a big vs a mediocre one.</p>
<p>It turns out that a combination of ideas from physics and economics provide an interesting explanation to why the football managers are getting easier to fire in the recent days. The idea stems from the science of complex systems in physics. In this framework, you look at the macroscopic properties (for e.g. the distribution of the tenure of football managers) that arises from relatively simple microscopic interactions (for e.g. two football clubs playing against each other with a 1/3 win, lose or draw and taking the scores of 3 for win, 1 for draw and 0 for loss). Unlike neo-classical economic theory that is built on deductive analytical methods, for e.g., game theory, the theory of complex systems might be use to ask the question of maximal efficiency in any economic system.</p>
<p>So why did we pick the tenures of football managers, if you may ask? There is a background story behind this. Originally, we intend to use the tenures of CEO in Fortune 500 as a dataset to demonstrate our proof of concept. The idea is to demonstrate that the firing of CEOs result in the economic system trying to move towards maximal economic efficiency. However, the problem is that for each data point of a CEO from a certain industry, say IT, I have to pay 5 Singapore dollars for each datapoint. Since we academics are poor people, we have to rely on smarter ways to find data.</p>
<p>The inspiration came to me during a discussion with Toke, Daniel and Bill over a coffee break. Since we are thinking of mathematically modelling CEOs and the way that they got fired, the scenarios can be extremely complex, given that CEOs can lose jobs due to mergers, or by many other factors. There must be a dataset out there which is free and easily obtainable using Google search. For some strange reason, I was thinking of football managers and it was likely because I recalled some friends of mine were watching the champions league game that night. Hence it may be simpler to pick something simpler where the job is determined by win, lose or draw like any simple constructed game. The truth of the matter is that we picked football managers because we thought that it would be easy to gather the data. So, being a young and brash scientist, I told the rest that I will spend the night using Google to collect the tenures of the managers for the top 10 Premiere league clubs and  do a plot. If the logarithmic plot is a power law, then we can account using the concept of self organized criticality in the physics of complex systems. So, thanks to those football fanatics who have collected the tenure years of the managers who managed their favourite football clubs, I am able to collect about 200 datapoints and did a first approximate plot and not surprisingly, I got a power law (see the graph below, which I used a simple model vs the actual results from the league, and there is a matching of theory and reality).</p>
<p style="text-align: center;"><a href="http://www.bernardleong.com/wp-content/uploads/2009/07/blpowerlawfootballmanagers.jpg"><img class="size-medium wp-image-91 aligncenter" title="blpowerlawfootballmanagers" src="http://www.bernardleong.com/wp-content/uploads/2009/07/blpowerlawfootballmanagers-300x205.jpg" alt="blpowerlawfootballmanagers" width="300" height="205" /></a></p>
<p>Of course, 200 datapoints are too small for the type of idea which I am pursuing. So, over the summer, we got a student intern who helped us to collect all the manager tenure dates and football statistics of all the leagues in Europe and the total dataset is about 7183 managers (datapoints). Instead of telling you the complete story, I will focus on the part which will tell you why we are seeing so much firings recently in the Premiere league.</p>
<p>The first thing is that if we splice, cut or mix the datasets of football managers&#8217; tenure in the different leagues, the power laws are consistent throughout and we can measure how volatile a system in firing managers using the gradient of the power law. For example, I can split the datapoints in the seperate leagues &#8211; BPL, Serie A, Prima Liga and Bundesliga, the power law will still turn up. We did some statistical tests to examine whether we are getting a real straight line or a curve. It turns out that the French league did not satisfy a power law unless you start from counting the tenure from 2 years onwards. Well, it did correspond to reality, because the French has a labor law that states that you cannot fire someone unless they have worked for you two years. Hence  most French managers don&#8217;t get fired so quickly after two years. We also tried on other types of sports, for e.g. American football and baseball. That helps us to feel that our idea is pretty robust. So, to cut the long story short, the Premiere League has an exponent of -2.23 (before 2002) which means that they don&#8217;t fire managers that often, while the Spanish La Liga and the Italian Serie A leagues, the exponents were far higher like -2.8. So, we started examining why that is the case.</p>
<p>It turns out that European managers are more mobile as compared to the English counterparts. Most European managers spent two to three years before they got fired for poor performances, and they are flexible in moving to another league easily without much problem. A lot of money has been poured into these leagues and the fans demand performance, and hence if a manager starts losing 5 to 10 games in a row, they got booted out by their presidents with the advice of the director of football, a system which is not common in the Premiere League until recently.</p>
<p>That comes to my favourite part, with more money into the Spanish and Italian leagues, you find that the better clubs will be better in getting better players. The reason why we see a power law is because in such zero sum games, there is a differentiation of good and bad, i.e. the rich gets richer and the poor gets poorer. A lot of small clubs will have more firings than the big clubs, because their performance are consistently bad.</p>
<p>What are all these results telling us? Here is a way to think about the problem. The interactions of the managers within the leagues and the external forces have built up till the point when it hits the critical mass. That pushed the system into a state which the physicists call it self-organized criticality. Avalanches and earthquakes are examples of systems which exhibit this kind of behaviour once they break a certain threshold. So, what does this mean to economics? The answer is simple. Let me use a result we observed from the data. Suppose you take the data for the English managers and cut it into different eras (1890-1920, 1920-1940, 1940-1960, &#8230;) , the power law only starts to manifest when it reaches 1960s. So, we went back to the archives and found two interesting things which happened that caused the distribution to move to a power law. The first is that football matches have moved from the stadium to the TV screen, allowing more people to watch the game and indirectly contribute to the money of the game. The second event which is more significant, is that the wages of football players have gone uncapped. Before 1960s, the maximum wage of a English football player is 20 pounds, but now, it went uncapped. Hence, the competition for talent has led to the system moving towards a maximal efficient state. The best managers and football clubs will start to pay higher for talent. With better talent, they win better games with the correct management. Hence the power law starts to manifest, because the football league has reached a &#8220;critical state&#8221;.</p>
<p>In fact, we predicted a few years back, that if the money into the Premiere League clubs increases, the power law will get steeper. Recently, I added the datapoints in the past few years back to my plot and found that the exponent has increased. Interestingly, the BPL is starting to share similar exponents close to her European counterparts. So, what are we seeing in the Premiere league now is that with more investments, there is a demand for better results, and as a result, we start to see the distinction between good and bad managers and hence, in turn, the power law is a demonstration of how efficient the system is evolved.</p>
<p>One interesting feature is that these results cannot be used to point the accusing finger at any manager&#8217;s current performance given that the results are purely statistical. Hence, we can&#8217;t apply them to one individual. However, we could use the results to calculate the probability of a manager&#8217;s survival in the future.</p>
<p><strong>References:</strong></p>
<ul>
<li>Toke Aidt, Bernard Leong, William Saslaw and Daniel Sgroi, &#8220;A power law distribution for the tenures of Sports Managers&#8221;, Physica A, 370(2):697-703.</li>
</ul>


<p>Related posts:<ol><li><a href='http://www.bernardleong.com/2009/06/04/self-organization-economics-football-tedxkl/' rel='bookmark' title='Permanent Link: Self-Organization, Economics &#038; Football @ TEDxKL'>Self-Organization, Economics &#038; Football @ TEDxKL</a></li>
<li><a href='http://www.bernardleong.com/2009/09/08/inverting-the-pyramid-by-jonathan-wilson/' rel='bookmark' title='Permanent Link: Inverting the Pyramid by Jonathan Wilson'>Inverting the Pyramid by Jonathan Wilson</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.bernardleong.com/2008/01/28/firing-of-bpl-football-managers-and-maximal-efficiency/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Birthday Problem</title>
		<link>http://www.bernardleong.com/2007/10/15/the-birthday-problem/</link>
		<comments>http://www.bernardleong.com/2007/10/15/the-birthday-problem/#comments</comments>
		<pubDate>Mon, 15 Oct 2007 07:58:28 +0000</pubDate>
		<dc:creator>Bernard Leong</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Research & Pedagogy]]></category>
		<category><![CDATA[Cambridge]]></category>
		<category><![CDATA[Probability]]></category>
		<category><![CDATA[Statistics]]></category>
		<category><![CDATA[The Birthday Problem]]></category>

		<guid isPermaLink="false">http://www.bernardleong.com/?p=207</guid>
		<description><![CDATA[
			
				
			
		
Three days ago, I discovered that one of my colleagues from Singapore Angle shares the same birthday with me. It reminded me of this interesting first year Cambridge undergraduate mathematical problem: What is the least number of persons required if the probability exceeds 0.5 that two or more persons have the same birthday (excluding the year)? So, I will offer the solution to the birthday problem (on my birthday, of course) and examine some interesting implications about the solution to this problem.  
Let me start with the assumptions to ...]]></description>
			<content:encoded><![CDATA[<div style="float:right;margin:0px 0px 0px 0px;"></div><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.bernardleong.com%2F2007%2F10%2F15%2Fthe-birthday-problem%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.bernardleong.com%2F2007%2F10%2F15%2Fthe-birthday-problem%2F&amp;source=bleongcw&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.bernardleong.com/wp-content/uploads/2009/10/birthday_balloons.jpg"><img class="alignleft size-thumbnail wp-image-210" title="birthday_balloons" src="http://www.bernardleong.com/wp-content/uploads/2009/10/birthday_balloons-150x150.jpg" alt="birthday_balloons" width="110" height="110" /></a>Three days ago, I discovered that one of my colleagues from Singapore Angle shares the same birthday with me. It reminded me of this interesting first year Cambridge undergraduate mathematical problem: <em>What is the least number of person</em>s <em>required if the probability exceeds 0.5 that two or more persons have the same birthday (excluding the year)? </em>So, I will offer the solution to the birthday problem (on my birthday, of course) and examine some interesting implications about the solution to this problem. <span id="more-207"></span> </p>
<p>Let me start with the assumptions to solve this problem:</p>
<ol>
<li>We exclude the year of birth from the date of birth in the problem. For  example, both John and Harry share the same birthday on the date 28 March.</li>
<li>We omit Februrary 29 as a possible birthday. This is easily generalized if you  want to include it. Please also omit the year from the birthday as it will complicate the problem.</li>
<li>We assume that there are 365 days for an Earth year. Let N be the number of days where you can get a birthday, and in the case that  we are living on Earth, N = 365 days, and r be the number of individuals, say r = 23,  means that there are 23 individuals.</li>
</ol>
<p>We want to compute the probability of nobody sharing similar birthdays, P (A), hence it is obvious that the probability of getting at least one pair of birthdays, P (B), is just by taking the complement P (B) = [1 − P (A)].  Hence, for the first person, there are N days to choose from the year, and for the second person, there are (N − 1) days to pick from the year so that he or she does not share the same birthday as the first person. By induction, we conclude that for the r-th individual, he or she only has (N − r + 1) days to pick from.</p>
<p>Therefor the number of ways for no matching birthdays for r individuals are:  N (N − 1) . . . (N − r + 1)</p>
<p>To work out the probability, we need the total sample space, we need the number of ways r people can have their birthdates without restriction. There are N ways for each person. Using the multiplication principle, the total number of ways that the birthdays can be assigned to r individuals will be: N to the power of r (N^r).</p>
<p>We proceed to compute P (A), the probability of r individuals not sharing the same birthdays:</p>
<p style="text-align: center;"><a href="http://www.bernardleong.com/wp-content/uploads/2009/10/bdayformula1.jpg"><img class="size-full wp-image-211 aligncenter" title="bdayformula1" src="http://www.bernardleong.com/wp-content/uploads/2009/10/bdayformula1.jpg" alt="bdayformula1" width="438" height="162" /></a></p>
<p>Therefore the probability of finding at least one pair of birthdays, P (B) is</p>
<p style="text-align: center;"><a href="http://www.bernardleong.com/wp-content/uploads/2009/10/bdayformula2.jpg"><img class="size-full wp-image-212 aligncenter" title="bdayformula2" src="http://www.bernardleong.com/wp-content/uploads/2009/10/bdayformula2.jpg" alt="bdayformula2" width="237" height="63" /></a></p>
<p>So, we solve the problem. Knowing the solution is not enough, but understanding the implication of the solution is what matters. So, let’s try to put some numbers into the equations. Let’s take N = 365 days and work out a table for different values of r (refer to table 1) .</p>
<p style="text-align: center;"><a href="http://www.bernardleong.com/wp-content/uploads/2009/10/bdayprobtable.jpg"><img class="size-full wp-image-213 aligncenter" title="bdayprobtable" src="http://www.bernardleong.com/wp-content/uploads/2009/10/bdayprobtable.jpg" alt="bdayprobtable" width="550" /></a></p>
<p style="text-align: center;"><a href="http://www.bernardleong.com/wp-content/uploads/2009/10/bdaygraph.jpg"><img class="size-full wp-image-214 aligncenter" title="bdaygraph" src="http://www.bernardleong.com/wp-content/uploads/2009/10/bdaygraph.jpg" alt="bdaygraph" width="550" /></a></p>
<p>If you realize by now, the more people present in the bar, the more likely that you can find someone with the same birthday with you (excluding the year of course). It sounds counter-intuitive, but the solution is true. I thought that since there are about 50 over social-political bloggers in Singapore, the chance of finding someone with the same birthday is definitely greater than 0.5. Guess what, I found one same to mine just right next to my doorstep. Lastly, I used to tell this to my female students in Cambridge. If there is a guy coming to them making such a bet (usually a pub has about 100 people), don&#8217;t take the bet.</p>


<p>Related posts:<ol><li><a href='http://www.bernardleong.com/2009/02/06/buffon-needle-noodle-problem/' rel='bookmark' title='Permanent Link: Buffon&#8217;s Needle and Noodle Problem'>Buffon&#8217;s Needle and Noodle Problem</a></li>
<li><a href='http://www.bernardleong.com/2009/05/23/a-mathematical-solution-to-eddingtons-controversy-problem/' rel='bookmark' title='Permanent Link: A Mathematical Solution to Eddington&#8217;s Controversy Problem'>A Mathematical Solution to Eddington&#8217;s Controversy Problem</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.bernardleong.com/2007/10/15/the-birthday-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
