<?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>Thinking Bettor</title>
	<atom:link href="https://www.thinkingbettor.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.thinkingbettor.com</link>
	<description>gambling for smart people</description>
	<lastBuildDate>Fri, 31 Dec 2010 17:55:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>How Much Would You Pay to Play this Infinite-Expectation Game?</title>
		<link>https://www.thinkingbettor.com/st-petersburg-paradox/</link>
					<comments>https://www.thinkingbettor.com/st-petersburg-paradox/#comments</comments>
		
		<dc:creator><![CDATA[Matt]]></dc:creator>
		<pubDate>Thu, 07 Oct 2010 20:54:12 +0000</pubDate>
				<category><![CDATA[Math and Stats Concepts]]></category>
		<category><![CDATA[expected value]]></category>
		<category><![CDATA[gambling expectation]]></category>
		<category><![CDATA[infinite expected value]]></category>
		<category><![CDATA[st. petersburg paradox]]></category>
		<guid isPermaLink="false">http://www.thinkingbettor.com/?p=239</guid>

					<description><![CDATA[For any gambler with a cursory understanding of math, expectation is everything. When you calculate pot odds in poker, what you&#8217;re calculating is expectation.  Let&#8217;s say all the cards are out in a hand of Holdem, you&#8217;re heads up with a single player, and there&#8217;s 90 dollars in the pot.  You assess that you have...]]></description>
										<content:encoded><![CDATA[<p>For any gambler with a cursory understanding of math, expectation is everything.</p>
<p>When you calculate pot odds in poker, what you&#8217;re calculating is expectation.  Let&#8217;s say all the cards are out in a hand of Holdem, you&#8217;re heads up with a single player, and there&#8217;s 90 dollars in the pot.  You assess that you have a 20% chance of winning the hand.</p>
<p><img fetchpriority="high" decoding="async" class="alignright size-medium wp-image-259" title="[exponential growth coins image]" src="http://www.thinkingbettor.com/wp-content/uploads/2010/10/iStock_000003650675XSmall-300x274.jpg" alt="" width="300" height="274" srcset="https://www.thinkingbettor.com/wp-content/uploads/2010/10/iStock_000003650675XSmall-300x274.jpg 300w, https://www.thinkingbettor.com/wp-content/uploads/2010/10/iStock_000003650675XSmall.jpg 362w" sizes="(max-width: 300px) 100vw, 300px" />If he bets 10 dollars, bringing the pot to $100, then you figure out your expectation by multiplying 100 x .20 = 20 dollars. This means that by calling, you stand to win $20 on average, so you&#8217;re certainly willing to pay $10 for that chance.  If instead you determined that the bet was worth less than $10, you&#8217;d fold.</p>
<p>Simple.  You&#8217;re willing to pay up the amount that a bet is worth to you, on average.</p>
<p>In the language of math, if $$X$$ is a random variable (like the payoffs for outcomes of a bet), the expectation $$E[X]$$ is defined</p>
<p>$$! E[X] = p_1X_1 + p_2X_2 + \cdots + p_nX_n,$$</p>
<p>where for each $$i$$, $$p_i$$ is the probability of the random event $$X_i$$, assuming that the probabilities are all nonnegative and sum to 1.</p>
<h3>So how much would you pay to play THIS game?</h3>
<p>Let&#8217;s see how the expectation calculation works on a hypothetical game.  Here are the rules:</p>
<ul>
<li>You pay an entry fee, which the house keeps.</li>
<li>The house flips a coin until the first heads comes up, at which point the game ends.</li>
<li>If that first heads is on the first flip, you win 1 dollar.</li>
<li>If it&#8217;s on the second flip, you win 2 dollars.</li>
<li>If it&#8217;s on the third flip, you win 4 dollars.</li>
<li>Your payout continues to double in this way with each flip, so that if the first heads comes on the nth flip, you win $$2^{n-1}$$ dollars.</li>
</ul>
<p>So, how much would you be willing to pay to play this game?</p>
<h3>Determining the Expectation of the Game</h3>
<p>Let&#8217;s use the above expectation formula to determine what this game should be worth.</p>
<p>First, the probabilities: The chance of first getting heads on the first flip is 1/2.  The chance of first getting heads on the second flip is $$(1/2)(1/2) = 1/4$$. The third flip, 1/8.  Continuing in this way, we know that the probability of the first heads coming on the nth flip is $$1/2^n$$.</p>
<p>Multiplying each probability by the corresponding payout, we get</p>
<p>$$!E[X] = (1/2)*1 + (1/4)*2 + (1/8)*4 + \cdots$$ or</p>
<p>$$!E[X] = 1/2 + 1/2 + 1/2 + \cdots = \infty$$</p>
<p>See what happens?  Each term in the sum simplifies to 1/2, and there are infinitely many of them.  Thus, the expected value of the game is infinite!</p>
<p>If you&#8217;re using expected value as your criterion for deciding whether to play, there&#8217;s no amount you&#8217;d be unwilling to pay for a single chance to play the game.  And you&#8217;d be pretty weird, because nobody else in their right mind would pay more than maybe 20 bucks for it.</p>
<h3>What&#8217;s causing the paradox?</h3>
<p>This famous problem is known as the <a href="http://en.wikipedia.org/wiki/St._Petersburg_paradox" target="_blank">St. Petersburg paradox</a>.  For several hundred years, mathematicians and economists have argued about the reasons nobody would pay any significant amount for the chance to play this infinite-expectation game.</p>
<p>One solution uses the fact that <a href="http://www.thinkingbettor.com/why-smart-people-gamble/" target="_blank">people are risk averse</a>&#8212;in general, people don&#8217;t like taking risks with large amounts of money.  So even if a game has a huge expected value, it&#8217;s hard to justify betting the farm if you have such a big chance of losing it right away (like if heads comes up on the first flip and you win a <a href="../?p=239&amp;preview=true">Preview</a>measly dollar).</p>
<p>But that solution, which can be made precise by dealing with expected utility gain rather than expected wealth gain, isn&#8217;t satisfactory.  Why?  Because you can always tweak the payouts of the game to create an even more favorable game.  No matter the utility function being used, you can always invent a positive-expected-utility game that&#8217;s just as unappealing as this one.</p>
<p><strong>A better explanation is that no casino in the world has an infinite bank. </strong>Nobody could ever pay out the huge sums that occur if heads takes, say, 40 flips to show up.</p>
<p><a href="http://en.wikipedia.org/wiki/St._Petersburg_paradox" target="_blank">Wikipedia</a> has an interesting chart that explains this.  If, say, the casino couldn&#8217;t pay you more than $100 dollars, then your expectation is quite low ($4.28), because most of the expectation from the game comes from the huge payouts that are possible from an unlimited bank.  Even if the casino could pay out a million dollars, your expectation is barely more than $10!</p>
<table align="center">
<tbody>
<tr>
<td><em>Banker</em></td>
<td><em>Bankroll</em></td>
<td><em>Expected value of lottery</em></td>
</tr>
<tr>
<td>Friendly game</td>
<td>$100</td>
<td>$4.28</td>
</tr>
<tr>
<td><a title="Millionaire" href="http://en.wikipedia.org/wiki/Millionaire">Millionaire</a></td>
<td>$1,000,000</td>
<td>$10.95</td>
</tr>
<tr>
<td><a title="Billionaire" href="http://en.wikipedia.org/wiki/Billionaire">Billionaire</a></td>
<td>$1,000,000,000</td>
<td>$15.93</td>
</tr>
<tr>
<td><a title="Bill Gates" href="http://en.wikipedia.org/wiki/Bill_Gates">Bill Gates</a> (2008)</td>
<td>$58,000,000,000</td>
<td>$18.84</td>
</tr>
<tr>
<td><a title="List of countries by GDP (nominal)" href="http://en.wikipedia.org/wiki/List_of_countries_by_GDP_%28nominal%29">U.S. GDP</a> (2007)</td>
<td>$13.8 trillion</td>
<td>$22.79</td>
</tr>
<tr>
<td><a title="List of countries by GDP (nominal)" href="http://en.wikipedia.org/wiki/List_of_countries_by_GDP_%28nominal%29">World GDP</a> (2007)</td>
<td>$54.3 trillion</td>
<td>$23.77</td>
</tr>
<tr>
<td>Googolaire</td>
<td>$10<sup>100</sup></td>
<td>$166.50</td>
</tr>
</tbody>
</table>
<h3>So what we can learn from the St. Petersburg paradox that will make us better gamblers?</h3>
<p>Not too much, that I can think of.  But it&#8217;s interesting, nonetheless.</p>
<p>One thing we can learn from the first, unsatisfactory solution: If we are risk averse when it comes to large wagers, then we need to account for the riskiness of a wager in addition to simply the expectation.</p>
<p>So, for example, even though taking odds on a pass line bet is &#8220;the best bet in the casino,&#8221; that doesn&#8217;t mean you should put your entire bankroll on it.   Sure, the odds bet is a fair, zero-expectation bet, the only one of its kind in the casino.  And making a minimal passline bet and putting everything you have behind it is as close to a fair bet as you can get.</p>
<p>But you don&#8217;t do it, because it&#8217;s too risky.  A single seven-out, and your Vegas trip is over.</p>
<p>Expectation matters.  But so does risk, volatility, exposure, or whatever you want to call that mysterious thing that makes gambling so much fun.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.thinkingbettor.com/st-petersburg-paradox/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>Improving the Strength of Schedule Model, and Week 4 NFL Picks</title>
		<link>https://www.thinkingbettor.com/reduced-variance-strength-of-schedule-betting-model/</link>
					<comments>https://www.thinkingbettor.com/reduced-variance-strength-of-schedule-betting-model/#comments</comments>
		
		<dc:creator><![CDATA[Matt]]></dc:creator>
		<pubDate>Sun, 03 Oct 2010 02:23:35 +0000</pubDate>
				<category><![CDATA[Betting Models]]></category>
		<category><![CDATA[nfl picks]]></category>
		<category><![CDATA[reversion to the mean]]></category>
		<category><![CDATA[strength of schedule]]></category>
		<category><![CDATA[variance reduction]]></category>
		<guid isPermaLink="false">http://www.thinkingbettor.com/?p=215</guid>

					<description><![CDATA[I promised you all that before Sunday, I&#8217;d try to get you the offensive and defensive ratings of the 32 NFL teams, as computed by the strength-of-schedule model I introduced in my last post. Well, it&#8217;s Saturday, I&#8217;m making good on that promise. Here they are, in order of strongest overall to weakest overall Offense/Defense...]]></description>
										<content:encoded><![CDATA[<p>I promised you all that before Sunday, I&#8217;d try to get you the offensive and defensive ratings of the 32 NFL teams, as computed by the <a href="http://www.thinkingbettor.com/basic-model/" target="_blank">strength-of-schedule model</a> I introduced in my last post.</p>
<p>Well, it&#8217;s Saturday, I&#8217;m making good on that promise. Here they are, in order of strongest overall to weakest overall</p>
<h3>Offense/Defense NFL Strength Ratings</h3>
<table style="height: 693px;" border="0" cellspacing="0" cellpadding="0" width="388">
<col width="89"></col>
<col span="2" width="64"></col>
<col width="161"></col>
<tbody>
<tr height="20">
<td width="89" height="20">Team</td>
<td width="64">Offense</td>
<td width="64">Defense</td>
<td width="161">Total (=Off-Def)</td>
</tr>
<tr height="20">
<td height="20">Pittsburgh</td>
<td align="right">9.3454</td>
<td align="right">-12.8488</td>
<td align="right">22.1942</td>
</tr>
<tr height="20">
<td height="20">Atlanta</td>
<td align="right">7.998</td>
<td align="right">-9.2423</td>
<td align="right">17.2403</td>
</tr>
<tr height="20">
<td height="20">Green Bay</td>
<td align="right">9.3868</td>
<td align="right">-6.5442</td>
<td align="right">15.931</td>
</tr>
<tr height="20">
<td height="20">Tennessee</td>
<td align="right">3.4918</td>
<td align="right">-8.0904</td>
<td align="right">11.5822</td>
</tr>
<tr height="20">
<td height="20">Chicago</td>
<td align="right">3.6899</td>
<td align="right">-6.6026</td>
<td align="right">10.2925</td>
</tr>
<tr height="20">
<td height="20">NY Jets</td>
<td align="right">-1.0105</td>
<td align="right">-9.9763</td>
<td align="right">8.9658</td>
</tr>
<tr height="20">
<td height="20">Philadelphia</td>
<td align="right">7.0592</td>
<td align="right">-1.5056</td>
<td align="right">8.5648</td>
</tr>
<tr height="20">
<td height="20">Miami</td>
<td align="right">5.4238</td>
<td align="right">1.781</td>
<td align="right">3.6428</td>
</tr>
<tr height="20">
<td height="20">Baltimore</td>
<td align="right">-1.2518</td>
<td align="right">-4.5747</td>
<td align="right">3.3229</td>
</tr>
<tr height="20">
<td height="20">Kansas City</td>
<td align="right">-3.0222</td>
<td align="right">-6.1722</td>
<td align="right">3.15</td>
</tr>
<tr height="20">
<td height="20">Minnesota</td>
<td align="right">-9.2154</td>
<td align="right">-12.2434</td>
<td align="right">3.028</td>
</tr>
<tr height="20">
<td height="20">Indianapolis</td>
<td align="right">1.3655</td>
<td align="right">-1.3805</td>
<td align="right">2.746</td>
</tr>
<tr height="20">
<td height="20">New Orleans</td>
<td align="right">4.4175</td>
<td align="right">1.8985</td>
<td align="right">2.519</td>
</tr>
<tr height="20">
<td height="20">Dallas</td>
<td align="right">-3.4686</td>
<td align="right">-5.4919</td>
<td align="right">2.0233</td>
</tr>
<tr height="20">
<td height="20">New England</td>
<td align="right">13.5998</td>
<td align="right">11.6069</td>
<td align="right">1.9929</td>
</tr>
<tr height="20">
<td height="20">Detroit</td>
<td align="right">5.7315</td>
<td align="right">4.7494</td>
<td align="right">0.9821</td>
</tr>
<tr height="20">
<td height="20">San Diego</td>
<td align="right">4.8438</td>
<td align="right">5.4278</td>
<td align="right">-0.584</td>
</tr>
<tr height="20">
<td height="20">Houston</td>
<td align="right">5.8486</td>
<td align="right">7.742</td>
<td align="right">-1.8934</td>
</tr>
<tr height="20">
<td height="20">Cleveland</td>
<td align="right">-1.8498</td>
<td align="right">0.4057</td>
<td align="right">-2.2555</td>
</tr>
<tr height="20">
<td height="20">Cincinnati</td>
<td align="right">-4.6325</td>
<td align="right">-1.8317</td>
<td align="right">-2.8008</td>
</tr>
<tr height="20">
<td height="20">Seattle</td>
<td align="right">-3.6599</td>
<td align="right">0.0247</td>
<td align="right">-3.6846</td>
</tr>
<tr height="20">
<td height="20">Tampa Bay</td>
<td align="right">-2.1605</td>
<td align="right">2.139</td>
<td align="right">-4.2995</td>
</tr>
<tr height="20">
<td height="20">Buffalo</td>
<td align="right">-6.334</td>
<td align="right">-1.2093</td>
<td align="right">-5.1247</td>
</tr>
<tr height="20">
<td height="20">St. Louis</td>
<td align="right">-6.8654</td>
<td align="right">-1.6255</td>
<td align="right">-5.2399</td>
</tr>
<tr height="20">
<td height="20">Washington</td>
<td align="right">-2.2807</td>
<td align="right">4.1093</td>
<td align="right">-6.39</td>
</tr>
<tr height="20">
<td height="20">Arizona</td>
<td align="right">-2.2533</td>
<td align="right">4.7989</td>
<td align="right">-7.0522</td>
</tr>
<tr height="20">
<td height="20">Oakland</td>
<td align="right">-0.7469</td>
<td align="right">6.4701</td>
<td align="right">-7.217</td>
</tr>
<tr height="20">
<td height="20">Denver</td>
<td align="right">-1.4403</td>
<td align="right">6.3187</td>
<td align="right">-7.759</td>
</tr>
<tr height="20">
<td height="20">NY Giants</td>
<td align="right">-1.4845</td>
<td align="right">11.6852</td>
<td align="right">-13.1697</td>
</tr>
<tr height="20">
<td height="20">San Francisco</td>
<td align="right">-5.6359</td>
<td align="right">9.0157</td>
<td align="right">-14.6516</td>
</tr>
<tr height="20">
<td height="20">Jacksonville</td>
<td align="right">-10.8193</td>
<td align="right">4.4598</td>
<td align="right">-15.2791</td>
</tr>
<tr height="20">
<td height="20">Carolina</td>
<td align="right">-14.07</td>
<td align="right">6.7069</td>
<td align="right">-20.7769</td>
</tr>
</tbody>
</table>
<p>A few things to note about these ratings.  First the numbers are in points-scored/allowed-above-average-per-game.  So for offenses, positive numbers are good.  For defenses, negative numbers are good.  And when you subtract the defensive points from the offensive points, you get total point differential, or what I&#8217;m calling the strength rating.</p>
<p>If you&#8217;re observant, you&#8217;ll notice something else.  The total numbers don&#8217;t match the numbers I computed in my last post, when the model didn&#8217;t break things down into offense and defense.  So what gives?</p>
<p>Well, I discovered a minor coding error in what I did last time.  I fixed it, so now when we compute single strength ratings and compare them to the offense/defense totals, we get:</p>
<table style="height: 660px;" border="0" cellspacing="0" cellpadding="0" width="402">
<col width="89"></col>
<col width="129"></col>
<col width="161"></col>
<tbody>
<tr height="20">
<td width="89" height="20">Team</td>
<td width="129">Single Output</td>
<td width="161">O-D Total (from above)</td>
</tr>
<tr height="20">
<td height="20">Pittsburgh</td>
<td align="right">22.0813</td>
<td align="right">22.1942</td>
</tr>
<tr height="20">
<td height="20">Atlanta</td>
<td align="right">16.9875</td>
<td align="right">17.2403</td>
</tr>
<tr height="20">
<td height="20">Green Bay</td>
<td align="right">15.4567</td>
<td align="right">15.931</td>
</tr>
<tr height="20">
<td height="20">Tennessee</td>
<td align="right">11.8251</td>
<td align="right">11.5822</td>
</tr>
<tr height="20">
<td height="20">Chicago</td>
<td align="right">10.2158</td>
<td align="right">10.2925</td>
</tr>
<tr height="20">
<td height="20">NY Jets</td>
<td align="right">8.8681</td>
<td align="right">8.9658</td>
</tr>
<tr height="20">
<td height="20">Philadelphia</td>
<td align="right">8.1996</td>
<td align="right">8.5648</td>
</tr>
<tr height="20">
<td height="20">Miami</td>
<td align="right">3.2691</td>
<td align="right">3.6428</td>
</tr>
<tr height="20">
<td height="20">Baltimore</td>
<td align="right">2.9968</td>
<td align="right">3.3229</td>
</tr>
<tr height="20">
<td height="20">Kansas City</td>
<td align="right">3.2809</td>
<td align="right">3.15</td>
</tr>
<tr height="20">
<td height="20">Minnesota</td>
<td align="right">2.9843</td>
<td align="right">3.028</td>
</tr>
<tr height="20">
<td height="20">Indianapolis</td>
<td align="right">3.0042</td>
<td align="right">2.746</td>
</tr>
<tr height="20">
<td height="20">New Orleans</td>
<td align="right">2.5907</td>
<td align="right">2.519</td>
</tr>
<tr height="20">
<td height="20">Dallas</td>
<td align="right">2.0974</td>
<td align="right">2.0233</td>
</tr>
<tr height="20">
<td height="20">New England</td>
<td align="right">1.8985</td>
<td align="right">1.9929</td>
</tr>
<tr height="20">
<td height="20">Detroit</td>
<td align="right">0.6533</td>
<td align="right">0.9821</td>
</tr>
<tr height="20">
<td height="20">San Diego</td>
<td align="right">-0.5271</td>
<td align="right">-0.584</td>
</tr>
<tr height="20">
<td height="20">Houston</td>
<td align="right">-1.4855</td>
<td align="right">-1.8934</td>
</tr>
<tr height="20">
<td height="20">Cleveland</td>
<td align="right">-2.4303</td>
<td align="right">-2.2555</td>
</tr>
<tr height="20">
<td height="20">Cincinnati</td>
<td align="right">-3.0073</td>
<td align="right">-2.8008</td>
</tr>
<tr height="20">
<td height="20">Seattle</td>
<td align="right">-3.3511</td>
<td align="right">-3.6846</td>
</tr>
<tr height="20">
<td height="20">Tampa Bay</td>
<td align="right">-4.1288</td>
<td align="right">-4.2995</td>
</tr>
<tr height="20">
<td height="20">Buffalo</td>
<td align="right">-5.6052</td>
<td align="right">-5.1247</td>
</tr>
<tr height="20">
<td height="20">St. Louis</td>
<td align="right">-5.0459</td>
<td align="right">-5.2399</td>
</tr>
<tr height="20">
<td height="20">Washington</td>
<td align="right">-5.998</td>
<td align="right">-6.39</td>
</tr>
<tr height="20">
<td height="20">Arizona</td>
<td align="right">-7.2695</td>
<td align="right">-7.0522</td>
</tr>
<tr height="20">
<td height="20">Oakland</td>
<td align="right">-7.3101</td>
<td align="right">-7.217</td>
</tr>
<tr height="20">
<td height="20">Denver</td>
<td align="right">-7.3261</td>
<td align="right">-7.759</td>
</tr>
<tr height="20">
<td height="20">NY Giants</td>
<td align="right">-12.736</td>
<td align="right">-13.1697</td>
</tr>
<tr height="20">
<td height="20">San Francisco</td>
<td align="right">-14.6399</td>
<td align="right">-14.6516</td>
</tr>
<tr height="20">
<td height="20">Jacksonville</td>
<td align="right">-15.0712</td>
<td align="right">-15.2791</td>
</tr>
<tr height="20">
<td height="20">Carolina</td>
<td align="right">-20.4773</td>
<td align="right">-20.7769</td>
</tr>
</tbody>
</table>
<p>The numbers very nearly match, which they should.  The difference can be attributed to randomness in the optimization routine used to the solve the system of equations, and its effect on bets will be negligible.  (In other words, we&#8217;d never bet a game where the line was close enough to ours that this small difference affected the side we took.)</p>
<h3>Using the Model to Pick Games</h3>
<p>So I&#8217;ll show you how we&#8217;d use these strength ratings to pick a few games.  First, notice that when we combine offense and defense ratings into a single number, we&#8217;re throwing away some good information, since we could have gotten that single number without breaking it down.  For now, that&#8217;s ok, but in the future, we&#8217;ll want to use that extra information to possibly say something about matchups.</p>
<p>Maybe, for example, when a bad offense plays against a bad defense, they often score a lot of points, but when a great offense plays a great defense, they don&#8217;t score much, in general.  This type of information would certainly be useful for choosing bets, but which we can&#8217;t do that without significant backtesting.  So for now, we just ignore the offense/defense breakdown.  But even just using the single strength rating, there&#8217;s still one more thing we need to do before we can really interpret these as meaningful values.</p>
<h3>A 19-Point Favorite?  We Need to Fix That&#8230;</h3>
<p>Notice how large some of the values are. For example, Pittsburgh&#8217;s rating is a whopping 22 points per game, while their opponent Baltimore&#8217;s is a more reasonable 3.</p>
<p>Interpreting the ratings as points per game, as is natural, this tells us the Steelers should beat the Ravens by a 19 points, before we even consider that their home field advantage.  19 POINTS??  They&#8217;re only a 2 point favorite, at home!</p>
<p>So what&#8217;s the problem?  Well, remember how last time I mentioned that we haven&#8217;t yet accounted for <a href="http://www.thinkingbettor.com/mean-reversion/" target="_blank">reversion to the mean</a>?  In general, teams that look really good right now aren&#8217;t going to be this good all year, and teams that look really bad aren&#8217;t going to be quite this bad all year.  As the data piles up, teams will all tend to look more average than they do now, as a rule.</p>
<p>Let&#8217;s see what we can do to quantify this and make an adjustment.  Check out this histogram of NFL teams&#8217; strength ratings going into Week 4, as computed by our model, from 2002-2007:</p>
<p><a href="http://www.thinkingbettor.com/wp-content/uploads/2010/10/Week-4-nfl-teams-image.jpg"><img decoding="async" class="aligncenter size-full wp-image-213" title="[Week 4 nfl teams image]" src="http://www.thinkingbettor.com/wp-content/uploads/2010/10/Week-4-nfl-teams-image.jpg" alt="" width="500" height="365" srcset="https://www.thinkingbettor.com/wp-content/uploads/2010/10/Week-4-nfl-teams-image.jpg 617w, https://www.thinkingbettor.com/wp-content/uploads/2010/10/Week-4-nfl-teams-image-300x219.jpg 300w" sizes="(max-width: 500px) 100vw, 500px" /></a>You can see that most of the teams&#8217; ratings fall between -10 and 10, but with some in the -30 to -40 range on the low end, and the 20- to 30 range on the high end.  Compare this to the same graph, but of teams&#8217; ratings heading into Week 16:</p>
<p><a href="http://www.thinkingbettor.com/wp-content/uploads/2010/10/Week-16-nfl-teams-image.jpg"><img decoding="async" class="aligncenter size-full wp-image-214" title="[Week 16 nfl teams image]" src="http://www.thinkingbettor.com/wp-content/uploads/2010/10/Week-16-nfl-teams-image.jpg" alt="" width="499" height="367" srcset="https://www.thinkingbettor.com/wp-content/uploads/2010/10/Week-16-nfl-teams-image.jpg 625w, https://www.thinkingbettor.com/wp-content/uploads/2010/10/Week-16-nfl-teams-image-300x220.jpg 300w" sizes="(max-width: 499px) 100vw, 499px" /></a>Ahh, a much tighter distribution!  There&#8217;s just one amazing outlier, a team that managed to be 20 points better than most of the league for the entire season. Three guesses as to which model-dating, prettyboy quarterback engineered that one.  (Of course, we all know their coach was cheating.)</p>
<p>Jealousy aside, we need to account for this somehow.  We do it by looking at <a href="http:///">variance</a>, a measure of how widely spread around the mean a set of datapoints is.  What we find is this: <em>The variance of the Week 4 ratings is very large, about 148.3, while the variance of the Week 16 ratings is only about 41.9. </em></p>
<p>This means that in order to compare teams in Week 4, we need to shrink the variance of our Week 4 ratings by a factor of $$148.3/41.9\approx 3.5$$.<em><br />
</em></p>
<p>In this case, since the mean is zero (remember, we required that of values when we solved for the solution), the variance $$\sigma^2$$ can be expressed $$\sigma^2 = E(X^2).$$ Since we want to shrink the variance by 3.5, this means we need to divide the X&#8217;s (our Week 4 strength ratings) by a factor of $$\sqrt{3.5}$$ in order to make the spread of our team abilities match what we know it should look like after lots of games have revealed teams&#8217; true abilities.  These &#8220;variance-adjusted strengths&#8221; appear below.</p>
<h3>Reduced-Variance NFL Strength Ratings</h3>
<table style="height: 672px;" border="0" cellspacing="0" cellpadding="0" width="312">
<col width="89"></col>
<col width="165"></col>
<tbody>
<tr height="20">
<td width="89" height="20">Team</td>
<td width="165">Reduced-Variance Strength</td>
</tr>
<tr height="20">
<td height="20">Pittsburgh</td>
<td align="right">11.7381</td>
</tr>
<tr height="20">
<td height="20">Atlanta</td>
<td align="right">9.0303</td>
</tr>
<tr height="20">
<td height="20">Green Bay</td>
<td align="right">8.2165</td>
</tr>
<tr height="20">
<td height="20">Tennessee</td>
<td align="right">6.2860</td>
</tr>
<tr height="20">
<td height="20">Chicago</td>
<td align="right">5.4306</td>
</tr>
<tr height="20">
<td height="20">NY Jets</td>
<td align="right">4.7141</td>
</tr>
<tr height="20">
<td height="20">Philadelphia</td>
<td align="right">4.3588</td>
</tr>
<tr height="20">
<td height="20">Miami</td>
<td align="right">1.7378</td>
</tr>
<tr height="20">
<td height="20">Baltimore</td>
<td align="right">1.5930</td>
</tr>
<tr height="20">
<td height="20">Kansas City</td>
<td align="right">1.7441</td>
</tr>
<tr height="20">
<td height="20">Minnesota</td>
<td align="right">1.5864</td>
</tr>
<tr height="20">
<td height="20">Indianapolis</td>
<td align="right">1.5970</td>
</tr>
<tr height="20">
<td height="20">New Orleans</td>
<td align="right">1.3772</td>
</tr>
<tr height="20">
<td height="20">Dallas</td>
<td align="right">1.1149</td>
</tr>
<tr height="20">
<td height="20">New England</td>
<td align="right">1.0092</td>
</tr>
<tr height="20">
<td height="20">Detroit</td>
<td align="right">0.3473</td>
</tr>
<tr height="20">
<td height="20">San Diego</td>
<td align="right">-0.2802</td>
</tr>
<tr height="20">
<td height="20">Houston</td>
<td align="right">-0.7897</td>
</tr>
<tr height="20">
<td height="20">Cleveland</td>
<td align="right">-1.2919</td>
</tr>
<tr height="20">
<td height="20">Cincinnati</td>
<td align="right">-1.5986</td>
</tr>
<tr height="20">
<td height="20">Seattle</td>
<td align="right">-1.7814</td>
</tr>
<tr height="20">
<td height="20">Tampa Bay</td>
<td align="right">-2.1948</td>
</tr>
<tr height="20">
<td height="20">Buffalo</td>
<td align="right">-2.9796</td>
</tr>
<tr height="20">
<td height="20">St. Louis</td>
<td align="right">-2.6823</td>
</tr>
<tr height="20">
<td height="20">Washington</td>
<td align="right">-3.1884</td>
</tr>
<tr height="20">
<td height="20">Arizona</td>
<td align="right">-3.8643</td>
</tr>
<tr height="20">
<td height="20">Oakland</td>
<td align="right">-3.8859</td>
</tr>
<tr height="20">
<td height="20">Denver</td>
<td align="right">-3.8944</td>
</tr>
<tr height="20">
<td height="20">NY Giants</td>
<td align="right">-6.7702</td>
</tr>
<tr height="20">
<td height="20">San Francisco</td>
<td align="right">-7.7823</td>
</tr>
<tr height="20">
<td height="20">Jacksonville</td>
<td align="right">-8.0116</td>
</tr>
<tr height="20">
<td height="20">Carolina</td>
<td align="right">-10.8854</td>
</tr>
</tbody>
</table>
<p>It&#8217;s these numbers that we should use to make our picks.  I&#8217;ll emphasize again that <em>this is a simplified version of the model</em>, so I wouldn&#8217;t advise making any bets with it yet (unless strictly for fun).  We&#8217;re not even accounting for any injuries yet!</p>
<p>But for the fun of it, here&#8217;s what we&#8217;d do if we were betting.</p>
<h3>The System&#8217;s Week 4 NFL Picks</h3>
<p>Look at the Baltimore-Pittsburgh game.  The Steelers are laying 2 points.  We have the Ravens at 1.59; the Steelers are the best team in the league at 11.73, so the difference is $$11.73-1.59=10.14.$$ Add to that 2.5 for the Steelers homefield advantage, and they should be a 12.5-point favorite.  (Yeah, I know that&#8217;s huge.  That happens early in the year, because the model uses no preconceived notions about the team abilities, only what&#8217;s in the data.)</p>
<p>So in this case, much as I hate to say it, the model would take the Steelers.  I&#8217;ll do one more, then you&#8217;re on your own:</p>
<ul>
<li>Denver +7 at Tennessee. Denver = -3.89, Tennessee = 6.28.  So the difference is greater than 10, in favor of Tennessee, plus home field for them.  Way more than 7, so we take Tennessee, laying the points.</li>
</ul>
<p>Get the idea?</p>
<p>Continuing in this way, the model would pick:</p>
<ul>
<li><strong>Pittsburgh minus 2</strong></li>
<li><strong>Denver plus 7 </strong>[This is a typo. According to the above, the pick should have been Tennessee minus 7 (which is a loser).]</li>
<li>Cleveland plus 3</li>
<li>Atlanta minus 7</li>
<li>Philadelphia minus 6</li>
<li><strong>Chicago plus 3.5</strong></li>
<li>Miami plus 1</li>
</ul>
<p>The bold are the most favorable bets, according to the model.  The other games listed are still good, and for games not listed, the model&#8217;s prediction was too close to the actual line to make a bet.  (For the record, JMS, it likes your Lions getting 14, but just barely.)</p>
<p>In the future, I&#8217;d like to find a better way&#8212;possibly using pattern-recognition or other machine-learning software&#8212;to recognize favorable bets, given the offense/defense ratings, week number, and spread.  That&#8217;s something I didn&#8217;t get anywhere with when I tried it before, but I&#8217;m hoping a few bright minds out there will have some suggestions.</p>
<p>So there you go.  Week 4 NFL picks, from our very (right now) basic model.  I&#8217;m planning to introducing a little more each week, along with an additional post every week about another topic, just to lighten things up.  Sound good?</p>
<p>If you&#8217;re on board for that, <a href="http://feeds.feedburner.com/thinkingbettor" target="_self">subscribe</a> to Thinking Bettor to make sure you never miss a post.  Come on, it&#8217;s free!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.thinkingbettor.com/reduced-variance-strength-of-schedule-betting-model/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>A Basic Model to Account for Strength of Schedule</title>
		<link>https://www.thinkingbettor.com/basic-model/</link>
					<comments>https://www.thinkingbettor.com/basic-model/#comments</comments>
		
		<dc:creator><![CDATA[Matt]]></dc:creator>
		<pubDate>Wed, 29 Sep 2010 14:45:18 +0000</pubDate>
				<category><![CDATA[Betting Models]]></category>
		<category><![CDATA[mathematical model]]></category>
		<category><![CDATA[nfl betting]]></category>
		<category><![CDATA[sports betting]]></category>
		<guid isPermaLink="false">http://www.thinkingbettor.com/?p=150</guid>

					<description><![CDATA[In this post I&#8217;ll introduce the basic framework of the model I&#8217;ve used with some success to bet NFL and college basketball games. There&#8217;s plenty of room to make it stronger, and my hope is that the readers of this site will contribute with ideas and man-hours to help strengthen it. Since the model came...]]></description>
										<content:encoded><![CDATA[<p>In this post I&#8217;ll introduce the basic framework of the model I&#8217;ve used with some success to bet NFL and college basketball games.  There&#8217;s plenty of room to make it stronger, and my hope is that the readers of this site will contribute with ideas and man-hours to help strengthen it.</p>
<p>Since the model came about as a way of computing strength-of-schedule, it&#8217;s particularly good at comparing two teams who have few or no common opponents, where humans have difficulty.  For this reason, it has a lot of potential for betting on college football, tennis, and international soccer, where these types of matches arise frequently and make it hard for handicappers to accurately compare the teams playing.</p>
<p><em>A note on the math: I&#8217;m including a few equations here, but nothing fancy. I&#8217;ll try to explain in words any  equations I write, so if it feels too much like school, you can probably  ignore the math and still get the gist.  I plan on setting up static pages with more detailed mathematics so that you can refer to them if you decide you want to go deeper with the nerdy stuff.<br />
</em></p>
<h3>The Basic Difficulty in Computing Strength-of-Schedule</h3>
<p>For the sake of familiarity, let&#8217;s assume we&#8217;re talking about the NFL.  You&#8217;re considering a bet on the Houston Texans this weekend, Week 4.</p>
<p>We&#8217;d like to quantify just how good the Texans are and to do the same for their opponent, the Raiders, to decide on the likely outcome of the game.</p>
<p>So we look at who the Texans have played and how they did. We&#8217;ve seen the Texans beat the Colts and Redskins this year, by 10 points and 3 points, but they lost to the Cowboys, by 14.  Does this all make them good or bad?  We need to know more.</p>
<p>So what do we do next?  Of course, we have to look at how good their previous opponents, the Colts, Redskins, and Cowboys are.</p>
<p>But almost immediately, we run into the problem.</p>
<p><strong>The Problem:</strong> If we try to evaluate these three teams the same way, by looking at who they&#8217;ve played and their margins of victory or defeat, we&#8217;re stuck.  They&#8217;ve each played Texans, the team we&#8217;re trying to evaluate in the first place!  So we have no obvious way of determining how good they are, leaving us with nothing to say about how good the Texans are.</p>
<p>We could look at the other games these teams have played, but the same problem arises in trying to evaluate <em>their</em> opponents.  As we get further into the season the web of games played becomes more complicated, and the problem becomes overwhelming.</p>
<h3>A Best-Fit Solution</h3>
<p>It turns out that with a little creativity and a computer, this problem can be solved.  We&#8217;ve seen that looking at each team one at a time, won&#8217;t work, so we have to set the problem up as a system of equations and write a program to solve it.  Let&#8217;s look at the most basic way to do this.</p>
<p>Recall that for each game a team has played, we&#8217;re using only two pieces of information: the strength of the opponent and the margin of victory or defeat.  (We&#8217;ll need to eventually incorporate more information, but this simplicity is what allows the model to be used for almost any sport.)</p>
<p>So how should we use that information for each game?  In the simplest setup, we can simply add the two numbers together.  Let $$x_i $$ be the strength of team $$i$$, and $$m_{i,j}$$ be the margin of team $$i$$&#8217;s game against team $$j$$.   (Right now, we&#8217;re assuming nobody has played anyone twice yet.)  So for Houston&#8217;s win over Indy, the contribution to Houston&#8217;s strength rating looks like</p>
<p>$$m_{hou,ind} + x_{ind} = 10 + x_{ind}$$.</p>
<p>Notice that the 10 is positive, since Houston won the game, and notice also that the larger the opponent&#8217;s strength rating and margin of victory, the larger the sum will be.</p>
<p>Now let&#8217;s say that a team&#8217;s strength rating will be the average of these terms for each game it has played.  Then in Houston&#8217;s case,</p>
<p>$$x_{hou} = \frac{1}{3}\big((m_{hou,ind} + x_{ind}) + (m_{hou,was} + x_{was}) + (m_{hou,dal} + x_{dal})\big)$$ or</p>
<p>$$x_{hou} = \frac{1}{3}\big((10+x_{ind})+(3+x_{was})+(-13+x_{dal})\big)$$.</p>
<p>Set up an equation like this for each team, and we&#8217;re left with a system of 32 equations in 32 unknowns.  This system won&#8217;t always have an exact solution, but we can use an optimization routine to find the set of team strength ratings that best fits the data.  (That is, the total error in the system is minimized.)</p>
<p>We need to make one final assumption in order to get values that have any meaning to us.  Notice that the units in the margin of victory numbers $$m_{i,j}$$ are simply &#8220;points.&#8221;  To be consistent, we want the units for the strength ratings to be &#8220;points&#8221; as well.  So if we require that the $$x_i$$&#8217;s sum to 0, we can interpret them as the amount of points per game by which each team is better or worse than average, after accounting for strength of schedule.  Make sense?</p>
<h3>The Strength Ratings</h3>
<p>Finally, we&#8217;re in a position to calculate the team strengths.  But first, please note: You should NOT bet based on these numbers!  The actual model I use for betting is far more complicated than this (you didn&#8217;t think beating the sportsbooks was <em>that</em> easy, did you?).  I&#8217;ve calculated these numbers using only the simple model I&#8217;ve explained above, in addition to a small homefield adjustment to each margin of victory.</p>
<table style="height: 668px;" border="0" cellspacing="0" cellpadding="0" width="315">
<col width="89"></col>
<col width="64"></col>
<tbody>
<tr height="20">
<td width="89" height="20">Team</td>
<td width="64">Strength (in points)</td>
</tr>
<tr height="20">
<td height="20">Arizona</td>
<td align="right">-5.8292</td>
</tr>
<tr height="20">
<td height="20">Atlanta</td>
<td align="right">10.7724</td>
</tr>
<tr height="20">
<td height="20">Baltimore</td>
<td align="right">2.1843</td>
</tr>
<tr height="20">
<td height="20">Buffalo</td>
<td align="right">-6.6633</td>
</tr>
<tr height="20">
<td height="20">Carolina</td>
<td align="right">-13.4239</td>
</tr>
<tr height="20">
<td height="20">Chicago</td>
<td align="right">5.2064</td>
</tr>
<tr height="20">
<td height="20">Cincinnati</td>
<td align="right">-0.9725</td>
</tr>
<tr height="20">
<td height="20">Cleveland</td>
<td align="right">-1.4321</td>
</tr>
<tr height="20">
<td height="20">Dallas</td>
<td align="right">1.143</td>
</tr>
<tr height="20">
<td height="20">Denver</td>
<td align="right">-2.9387</td>
</tr>
<tr height="20">
<td height="20">Detroit</td>
<td align="right">-2.1692</td>
</tr>
<tr height="20">
<td height="20">Green Bay</td>
<td align="right">9.2993</td>
</tr>
<tr height="20">
<td height="20">Houston</td>
<td align="right">-0.3437</td>
</tr>
<tr height="20">
<td height="20">Indianapolis</td>
<td align="right">4.7844</td>
</tr>
<tr height="20">
<td height="20">Jacksonville</td>
<td align="right">-10.3225</td>
</tr>
<tr height="20">
<td height="20">Kansas City</td>
<td align="right">4.4525</td>
</tr>
<tr height="20">
<td height="20">Miami</td>
<td align="right">0.7156</td>
</tr>
<tr height="20">
<td height="20">Minnesota</td>
<td align="right">0.4497</td>
</tr>
<tr height="20">
<td height="20">New England</td>
<td align="right">0.8388</td>
</tr>
<tr height="20">
<td height="20">New Orleans</td>
<td align="right">0.8683</td>
</tr>
<tr height="20">
<td height="20">NY Giants</td>
<td align="right">-8.1594</td>
</tr>
<tr height="20">
<td height="20">NY Jets</td>
<td align="right">5.5405</td>
</tr>
<tr height="20">
<td height="20">Oakland</td>
<td align="right">-5.2587</td>
</tr>
<tr height="20">
<td height="20">Philadelphia</td>
<td align="right">5.0974</td>
</tr>
<tr height="20">
<td height="20">Pittsburgh</td>
<td align="right">14.5176</td>
</tr>
<tr height="20">
<td height="20">San Diego</td>
<td align="right">1.9832</td>
</tr>
<tr height="20">
<td height="20">San Francisco</td>
<td align="right">-10.1833</td>
</tr>
<tr height="20">
<td height="20">Seattle</td>
<td align="right">0.3264</td>
</tr>
<tr height="20">
<td height="20">St. Louis</td>
<td align="right">-2.3638</td>
</tr>
<tr height="20">
<td height="20">Tampa Bay</td>
<td align="right">-2.9795</td>
</tr>
<tr height="20">
<td height="20">Tennessee</td>
<td align="right">8.6363</td>
</tr>
<tr height="20">
<td height="20">Washington</td>
<td align="right">-3.7762</td>
</tr>
</tbody>
</table>
<p>At a glance, we see that Pittsburgh is the best (even without Roethlisberger, a scary thought), and that Carolina is the worst.  Sounds about right.</p>
<p>Now, if you were to bet based on these numbers, here&#8217;s how you&#8217;d do it. (Like I said, this wouldn&#8217;t help you much. But because the market is <a href="http://www.thinkingbettor.com/sports-betting-efficient-market/" target="_blank">relatively efficient</a>, you wouldn&#8217;t be any worse off this way than you&#8217;d be by betting randomly.)</p>
<p>Let&#8217;s say you actually wanted to bet that Houston-Oakland game.  Look at the chart and see that Houston is .34 points worse than average.  Oakland is about 5.25 points worse than average.  Subtracting, we find that Houston is just less than 5 points better than Oakland.  But since Oakland is home, add 2.5 points to the difference, and our model predicts that Houston should win by 2-3 points.  Since the spread has Houston laying 4 points, we&#8217;d take Oakland with the points.  Simple, right?  (Actually, with the line that close to our projected outcome, this probably wouldn&#8217;t be a bet at all.)</p>
<p>But again, this is an overly-simplified model.  We&#8217;re failing to account for a lot of stuff here, including <a href="http://www.thinkingbettor.com/mean-reversion/" target="_blank">mean reversion</a>, any injuries that make the past data a poor representation of the teams that will be on the field on Sunday, and more.</p>
<p>Here are a few ideas I have for improving the model, some of which I&#8217;ve already implemented and others which I haven&#8217;t.  I&#8217;m listing them here in hopes that they&#8217;ll get the wheels turning in your head to come up with more ideas about how we might make this better.</p>
<ul>
<li>Using a &#8220;forgetting factor&#8221; to weight recent games more strongly than games from several weeks ago</li>
<li>Using thresholding or tapering to minimize the impact of blowouts</li>
<li>Our additive model for a team&#8217;s strength can be interpreted as &#8220;average margin of victory plus average opponent strength.&#8221;  A multiplicative model would better capture interaction between teams</li>
<li>Rather than using margin of victory, use yards, turnovers, and other data that is less noisy (luck impacts the final score more than the final yard and turnover totals).  Convert this back to points after it is output from the model, using some form of regression, to make bets</li>
<li>Find a way to efficiently account for injuries by determining how many points an injured or returning player is worth</li>
<li>Use a pattern-recognition algorithm to determine what a favorable bet &#8220;looks like&#8221; in terms of the spread and team strength ratings</li>
<li>Filter data through a neural network or other filter to determine best way to combine team strengths and current week number to determine expected outcome.  Use a model which produces offensive and defensive ratings to capture interactions and use current week number to account for mean reversion</li>
</ul>
<h3>Offense/Defense Model Ratings</h3>
<p>The final point above mentions an offensive/defensive model, one which uses points scored and points allowed rather than simply margin of victory.  In fact, it&#8217;s very easy to expand the basic model in this way, with the nice result that for each team, the offensive and defensive ratings sum to the total ratings from above.</p>
<p>There&#8217;s not much we can do with this new information, since the model is still additive (once we add them, we get the same implied bets as in the simpler model).  Still, this is the model we want to build upon, so I&#8217;ll do my best to run this version of the system and publish the results by this weekend.</p>
<p>Alright, that&#8217;s plenty for today.  This math-on-a-blog stuff is brand new to me, so I&#8217;m to figure out the right balance between what&#8217;s interesting and necessary and what will put you to sleep.  So let me know what you think.  We could certainly go much deeper into the math with some matrix theory, even for the simple model in this post, but I&#8217;m doing my best right now to keep my inner nerd at bay.</p>
<p>I&#8217;m going to try to start posting more frequently here, maybe two or three times a week.  So check back soon and <a href="http://feeds.feedburner.com/thinkingbettor" target="_self">subscribe</a> to get post updates automatically.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.thinkingbettor.com/basic-model/feed/</wfw:commentRss>
			<slash:comments>8</slash:comments>
		
		
			</item>
		<item>
		<title>How Sports Betting is Like the Playing the Stock Market</title>
		<link>https://www.thinkingbettor.com/sports-betting-efficient-market/</link>
					<comments>https://www.thinkingbettor.com/sports-betting-efficient-market/#comments</comments>
		
		<dc:creator><![CDATA[Matt]]></dc:creator>
		<pubDate>Mon, 20 Sep 2010 13:23:22 +0000</pubDate>
				<category><![CDATA[Sports Betting]]></category>
		<category><![CDATA[efficient marketing]]></category>
		<category><![CDATA[model]]></category>
		<category><![CDATA[sports betting]]></category>
		<guid isPermaLink="false">http://www.thinkingbettor.com/?p=125</guid>

					<description><![CDATA[If you think about it, a sportsbook isn&#8217;t so different from a financial market. For simplicity, compare it to a stock market.  You invest some money in a position, and at some future time you get a payoff (which may be zero).  Prices of the positions (or odds on bets) change as new information becomes...]]></description>
										<content:encoded><![CDATA[<p>If you think about it, a sportsbook isn&#8217;t so different from a financial market.</p>
<p>For simplicity, compare it to a stock market.  You invest some money in a position, and at some future time you get a payoff (which may be zero).  Prices of the positions (or odds on bets) change as <a href="http://www.betinf.com/" target="_blank">new information</a> becomes available.  When demand is high and lots of people want a certain stock or side of a bet, prices rise.  (In sports betting, the price is reflected by the odds, which pay less as a bet becomes more likely to win.)  When everyone&#8217;s selling, or betting the other side, the price falls.</p>
<h3>The Efficient Market Hypothesis</h3>
<p>There&#8217;s an essential lesson to be gleaned from this comparison, and shockingly, it&#8217;s one that many casual sports bettors never get.  It&#8217;s the notion of market efficiency, a concept that (unfortunately) makes it a lot harder to win consistently.  But it&#8217;s important to understand, because it makes it clear exactly what is necessary in order to win.</p>
<p>The main point of the <a href="http://en.wikipedia.org/wiki/Efficient-market_hypothesis" target="_blank">Efficient Market Hypothesis</a> is this: <em>All public information, as soon as it becomes available, is immediately reflected in the price of an asset</em>.  Information travels so quickly, and trading systems are so sophisticated, that as soon as fresh news comes out regarding a company, buyers bid up the price of a stock or sellers bid it down.  Key here is that it happens <em>instantaneously.</em></p>
<p>The conclusion: No public information, whether from a chart of historical prices or from an up-to-the-minute newswire, is useful in helping to predict the future price of a stock.  By the time you can react to the public news that a startup tech company just got a huge government contract, the market will have already driven up the price to where it should be. (Note: Private information is a different story, and that&#8217;s why <a href="http://economics.about.com/cs/finance/a/insider_trading.htm" target="_blank">Martha Stewart</a> got in trouble.)</p>
<p>Not everyone agrees that world financial markets are completely efficient.  But there&#8217;s a lot of evidence that, at least to some extent, they are.</p>
<h3>Are Sportsbooks Efficient?</h3>
<p>However efficient financial markets may be, you can bet that sports betting markets are less so&#8212;good news, if you&#8217;re trying to beat them.</p>
<p>Why?  Because they&#8217;re less liquid.  While there are millions of participants in financial markets, a small sportsbook may be catering to a few dozen players.</p>
<p>Let&#8217;s say a bookie has gotten a few bets on the Saints for <a href="http://espn.go.com/nfl/mnf" target="_blank">Monday Night Football</a> tonight, but nothing on the 49ers. The goal of a smart bookmaker is to balance the book: He wants equal money on both sides of the game, so that he wins regardless of the outcome, by paying the winners slightly less than even money.  For him, it&#8217;s about limiting or eliminating risk, not gambling.</p>
<p>So he hopes to get a few bets on the underdog 49ers today to balance the book, and as incentive for players to bet on the &#8216;9ers, offers to lay 7 points instead of the 6 that everyone else is laying.  But what happens when news comes out that Saints QB Drew Brees is only 80% for tonight&#8217;s game, due to an ankle injury that flared up at the end of the week? (Note: This didn&#8217;t happen, so don&#8217;t use it to bet!)</p>
<p>Now the bookie is in a tough position.  Given this news, he should probably move the spread back to Saints-minus-6 or even minus-5 or 4, but he also has to think about his unbalanced book.  It&#8217;s very likely that he won&#8217;t move his line until some money comes in on the 49ers, or at least that he won&#8217;t move it enough.  And if this happens, you&#8217;ll have a chance to get good line on the 49ers before he does.</p>
<p>In this case, the lack of participants in the market has made it illiquid, and therefore inefficient.  The bookmaker can&#8217;t fully incorporate the information about the injury into his line because of concerns about his own risk, so there&#8217;s opportunity to get a favorable bet down if you can quickly adjust whatever predictive model you&#8217;re using to account for the new information.</p>
<h3>Winning in an Efficient Betting Market</h3>
<p>Of course, most larger sportsbooks won&#8217;t have this problem.  They won&#8217;t be overly concerned with balancing their books if they have the bankroll to handle the risk associated with leaving a book unbalanced in order to incorporate all available information into their line.</p>
<p>In other words, it won&#8217;t always be this easy.</p>
<p>So let&#8217;s assume that sports betting markets aren&#8217;t completely efficient but are fairly close&#8212;in other words, it&#8217;s possible to win, but you have to be really good&#8212;which seems like an accurate assumption to me.  In this case, &#8220;obvious&#8221; information is not going to help you, as it&#8217;s almost certainly already incorporated in the odds.</p>
<p><em>Example: When two high-powered offenses are playing,  someone on sports-talk radio inevitably says, &#8220;You&#8217;d have to be an idiot to take the under in that game!&#8221;</em> Well, it turns out he&#8217;s actually the idiot.  True, the teams are likely to score a lot of points.  But, of course, the over/under line is set to reflect this information.</p>
<p>Same goes for any other information that&#8217;s widely known.  It simply will not help you.</p>
<p>In an efficient market, betting with information everyone knows is the same as betting with no information at all.  You&#8217;ll win half the time, like everyone else.  And in the long run, the <a href="http://en.wikipedia.org/wiki/Vigorish" target="_blank">vig</a> will wipe you out.</p>
<p><strong>If you&#8217;re going to make a long-term profit from sports betting, it has to come from one of two sources.</strong></p>
<p>Either:</p>
<ol>
<li>You have information nobody else has; or</li>
<li>You can process information better than anyone else</li>
</ol>
<p>As someone with a math and statistics background (and without any inside sources), I&#8217;m interested in the second option.</p>
<h3>Building Sports Betting Models</h3>
<p>Processing information can be as simple as using your &#8220;feel&#8221; for the game, the teams, the matchups, and the like.  But I don&#8217;t think you can win this way, unless you are truly something special and live and breathe the sport you&#8217;re betting on.</p>
<p>Instead, I prefer to build mathematical models to process the ample numbers that are now available for any sporting event.  While everyone has access to these statistics, my feeling is that the mounds of data contain patterns of information that human beings are unable to recognize due to limited processing power in our brains.</p>
<p>With this in mind, in my next post I&#8217;m going to introduce the model I built for predicting outcomes of football games.  It&#8217;s one that I bet with for an entire NFL season, and picked well above the 55% rate needed to beat the house edge.</p>
<p>So why am I not rich?  Well, I didn&#8217;t make money that season.  My system for sizing bets was flawed (or maybe, the victim of bad luck) so I lost enough large bets that the system didn&#8217;t come out on top.  More importantly, manual accounting for injuries and other hard-to-automate information required far more hours than I had to give, so I eventually abandoned the system.</p>
<p>And that&#8217;s why I&#8217;m going to share the model here.  Not for the purpose of selling picks, but because it&#8217;s interesting and I believe that making it public is the best way to make it better.  (What if I could convince 32 passionate people to each handle the injuries for a single team that they follow anyway?)</p>
<p>Then again, people like picks.  You didn&#8217;t think I could resist posting those, did you?</p>
<p>Sound like fun? <a href="http://feeds.feedburner.com/thinkingbettor" target="_blank">Subscribe</a> to Thinking Bettor so you&#8217;ll get that post and other new ones delivered automatically.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.thinkingbettor.com/sports-betting-efficient-market/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
		<item>
		<title>A Simple Probability Error Almost Everyone Makes (Including this Gambling Author)</title>
		<link>https://www.thinkingbettor.com/whats-luck-got-to-do-with-it-error/</link>
					<comments>https://www.thinkingbettor.com/whats-luck-got-to-do-with-it-error/#comments</comments>
		
		<dc:creator><![CDATA[Matt]]></dc:creator>
		<pubDate>Wed, 08 Sep 2010 17:30:24 +0000</pubDate>
				<category><![CDATA[Math and Stats Concepts]]></category>
		<category><![CDATA[joseph mazur]]></category>
		<category><![CDATA[mistakes]]></category>
		<category><![CDATA[probability calculation]]></category>
		<category><![CDATA[roulette]]></category>
		<category><![CDATA[what's luck got to do with it]]></category>
		<guid isPermaLink="false">http://www.thinkingbettor.com/?p=94</guid>

					<description><![CDATA[The following is from Joseph Mazur&#8217;s new book, What&#8217;s Luck Got to Do with It?: &#8230;there is an authentically verified story that sometime in the 1950s a [roulette] wheel in Monte Carlo came up even twenty-eight times in straight succession.  The odds of that happening are close to 268,435,456 to 1.  Based on the number...]]></description>
										<content:encoded><![CDATA[<p>The following is from Joseph Mazur&#8217;s new book, <a href="http://www.amazon.com/Whats-Luck-Got-Mathematics-Psychology/dp/0691138907/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1284989600&amp;sr=8-1" target="_blank"><em>What&#8217;s Luck Got to Do with It?</em></a>:</p>
<blockquote><p>&#8230;there is an authentically verified story that sometime in the 1950s a [roulette] wheel in Monte Carlo came up <em>even</em> twenty-eight times in straight succession.  The odds of that happening are close to 268,435,456 to 1.  Based on the number of coups per day at Monte Carlo, such an event is likely to happen only once in five hundred years.</p></blockquote>
<p><div style="overflow:hidden;width:210px; " class="alignright">
<div style="background: transparent url(https://www.thinkingbettor.com/wp-content/plugins/shadows/shadow_osx_small.png) no-repeat left top; width: 30px; height: 2px; float: left;" class="shadow_img"></div>
<div style="background: transparent url(https://www.thinkingbettor.com/wp-content/plugins/shadows/shadow_osx_small.png) no-repeat right top; width: 30px; height: 2px; float: right;" class="shadow_img"></div>
<div style="background: transparent url(https://www.thinkingbettor.com/wp-content/plugins/shadows/shadow_osx_small_top.png) repeat-x center top; margin: 0 30px; height: 2px;" class="shadow_img"></div>
<table style="margin:0;padding:0;width:100%;empty-cells:show;border-collapse:collapse;"><tr>
<td style="margin:0;padding:0;border-width:0;background: transparent url(https://www.thinkingbettor.com/wp-content/plugins/shadows/shadow_osx_small.png) no-repeat left -2px; width: 6px; height: 25px;" class="shadow_img"></td>
<td rowspan=2 style="margin:0;padding:0;border-width:0; background-color: transparent; line-height:1px;">
<img loading="lazy" decoding="async" class=" size-medium wp-image-120 shadow_osx_small" title="[what's luck got to do with it image]" src="http://www.thinkingbettor.com/wp-content/uploads/2010/09/k9135-198x300.gif" alt="" width="198" height="300" srcset="https://www.thinkingbettor.com/wp-content/uploads/2010/09/k9135-198x300.gif 198w, https://www.thinkingbettor.com/wp-content/uploads/2010/09/k9135.gif 300w" sizes="auto, (max-width: 198px) 100vw, 198px"  style="padding:0 !important; margin:0 !important; vertical-align:text-bottom !important; min-height: 25px !important;">
</td>
<td style="margin:0;padding:0;border-width:0;background: transparent url(https://www.thinkingbettor.com/wp-content/plugins/shadows/shadow_osx_small.png) no-repeat right -2px; width: 6px; height: 25px;" class="shadow_img"></td>
</tr>
<tr>
<td style="background: transparent url(https://www.thinkingbettor.com/wp-content/plugins/shadows/shadow_osx_small_left.png) repeat-y left center; width: 6px;margin:0;padding:0;border-width:0;" class="shadow_img"></td>
<td style="background: transparent url(https://www.thinkingbettor.com/wp-content/plugins/shadows/shadow_osx_small_right.png) repeat-y right center; width: 6px;margin:0;padding:0;border-width:0;" class="shadow_img"></td>
</tr>
</table>
<div style="background: transparent url(https://www.thinkingbettor.com/wp-content/plugins/shadows/shadow_osx_small.png) no-repeat left bottom; width: 30px; height: 10px; float: left;" class="shadow_img"></div>
<div style="background: transparent url(https://www.thinkingbettor.com/wp-content/plugins/shadows/shadow_osx_small.png) no-repeat right bottom; width: 30px; height: 10px; float: right;" class="shadow_img"></div>
<div style="background: transparent url(https://www.thinkingbettor.com/wp-content/plugins/shadows/shadow_osx_small_bottom.png) repeat-x center bottom; margin: 0 30px; height: 10px;" class="shadow_img"></div>
</div>
Mazur uses this story to backup an argument which holds that, at least until very recently, many roulette wheels were not at all fair.</p>
<p>Assuming the math is right (we&#8217;ll check it later), can you find the flaw in his argument?  The following example will help.</p>
<h3>The Probability of Rolling Doubles</h3>
<p>Imagine you hand a pair of dice to someone who has never rolled dice in her life.  She rolls them, and gets double fives in her first roll.  Someone says, &#8220;Hey, beginner&#8217;s luck!  What are the odds of that on her first roll?&#8221;</p>
<p>Well, what are they?</p>
<p>There are two answers I&#8217;d take here, one much better than the other.</p>
<p>The first one goes like this.  The odds of rolling a five with one die are 1 in 6; the dice are independent so the odds of rolling another five are 1 in 6; therefore the odds of rolling double fives are</p>
<p>$$(1/6)*(1/6) = 1/36$$.</p>
<p>1 in 36.</p>
<p>By this logic, our new player just did something pretty unlikely on her first roll.</p>
<p>But wait a minute.  Wouldn&#8217;t ANY pair of doubles been just as &#8220;impressive&#8221; on the first roll?  What we really should be calculating are the odds of rolling doubles, not necessarily fives.  What&#8217;s the probability of that?</p>
<p>Since there are six possible pairs of doubles, not just one, we can just multiply by six to get 1/6. Another easy way to compute it: The first die can be anything at all.  What&#8217;s the probability the second die matches it?  Simple: 1 in 6.  (The fact that the dice are rolled simultaneously is of no consequence for the calculation.)</p>
<p>Not quite so remarkable, is it?</p>
<p>For some reason, a lot of people have trouble grasping that concept.  The chances of rolling doubles with a single toss of a pair of dice is 1 in 6.  People want to believe it&#8217;s 1 in 36, but that&#8217;s only if you specify <em>which </em>pair of doubles must be thrown.</p>
<h3>Now let&#8217;s reexamine the roulette &#8220;anomaly&#8221;</h3>
<p>This same mistake is what causes <a href="http://en.wikipedia.org/wiki/Joseph_Mazur" target="_blank">Joseph Mazur</a> to incorrectly conclude that because a roulette wheel came up even 28 straight times in 1950, it was very likely an unfair wheel.  Let&#8217;s see where he went wrong.</p>
<p>There are 37 slots on a <a href="http://www.gambling-hall-online.com/roulette/rules/european-roulette-wheel-diagram.htm" target="_blank">European roulette wheel</a>.  18 are even, 18 are odd, and one is the 0, which I&#8217;m assuming does not count as either even or odd here.</p>
<p>So, with a fair wheel, the chances of an even number coming up are 18/37.  If spins are independent, we can multiply probabilities of single spins to get joint probabilities, so the probability of two straight evens is then (18/37)*(18/37).  Continuing in this manner, we compute the chances of getting 28 consecutive even numbers to be $$(18/37)^{28}$$.</p>
<p>Turns out, this gives us a number that is roughly twice as large (meaning an event twice as rare) as Mazur&#8217;s calculation would indicate.  Why the difference?</p>
<p>Here&#8217;s where Mazur got it right: He&#8217;s conceding that a run of 28 consecutive <em>odd</em> numbers would be just as interesting (and is just as likely) as a run of evens.  If 28 odds would have come up, that would have made it into his book too, because it would be just as extraordinary to the reader.</p>
<p>Thus, he doubles the probability we calculated, and reports that 28 evens in a row or 28 odds in a row should happen only once every 500 years.  Fine.</p>
<h3>But what about 28 reds in a row?  Or 28 blacks?</h3>
<p>Here&#8217;s the problem: <span style="text-decoration: underline;">He fails to account for several more events that would be just as interesting.</span> Two obvious ones that come to mind are 28 reds in a row and 28 blacks in a row.</p>
<p>There are 18 blacks and 18 reds on the wheel (0 is green).  So the probabilities are identical to the ones above, and we now have two more events that would have been remarkable enough to make us wonder if the wheel was biased.</p>
<p>So now, instead of two events (28 odds or 28 evens), we now have four such events.  So it&#8217;s almost twice as likely that one would occur.  Therefore, one of these events should happen about every 250 years, not 500.  Slightly less remarkable.</p>
<h3>What about other unlikely events?</h3>
<p>What about a run of 28 numbers that exactly alternated the entire time, like even-odd-even-odd, or red-black-red-black?  I think if one of these had occurred, Mazur would have been just as excited to include it in his book.</p>
<p>These events are just as unlikely as the others.  We&#8217;ve now almost doubled our number of remarkable events that would make us point to a broken wheel as the culprit.  Only now, there are so many of them, we&#8217;d expect that one should happen every 125 years.</p>
<p>Finally, consider that Mazur is looking back over many years when he points out this one seemingly extraordinary event that occurred.  Had it happened anytime between 1900 and the present, I&#8217;m guessing Mazur would have considered that recent enough to include as evidence of his point that roulette wheels were biased not too long ago.</p>
<p>That&#8217;s a 110-year window.  Is it so surprising, then, that something that should happen once every 125 years or so happened during that large window?  Not really.</p>
<p>Slightly unlikely perhaps, but nothing that would convince anyone that a wheel was unfair.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.thinkingbettor.com/whats-luck-got-to-do-with-it-error/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Do You Make This Sports Betting Mistake?</title>
		<link>https://www.thinkingbettor.com/mean-reversion/</link>
					<comments>https://www.thinkingbettor.com/mean-reversion/#comments</comments>
		
		<dc:creator><![CDATA[Matt]]></dc:creator>
		<pubDate>Mon, 30 Aug 2010 13:37:53 +0000</pubDate>
				<category><![CDATA[Math and Stats Concepts]]></category>
		<category><![CDATA[mean reversion]]></category>
		<category><![CDATA[mistakes]]></category>
		<category><![CDATA[sports betting]]></category>
		<guid isPermaLink="false">http://www.thinkingbettor.com/?p=78</guid>

					<description><![CDATA[Let&#8217;s say an NFL team starts the season 3-1. You have to bet on their overall record this season (16 games) without knowing any more information than this.  Where do you put your money? It&#8217;s easy to say 12-4.  Extrapolating three wins and a loss over a 16-game season gives us 12 wins, four losses....]]></description>
										<content:encoded><![CDATA[<p>Let&#8217;s say an NFL team starts the season 3-1. You have to bet on their  overall record this season (16 games) without knowing any more information than  this.  Where do you put your money?</p>
<p>It&#8217;s easy to say 12-4.  <a href="http://en.wikipedia.org/wiki/Extrapolation" target="_blank">Extrapolating</a> three wins and a loss over a 16-game season gives us 12 wins, four losses.</p>
<p>But if you said 12 wins, you&#8217;re making a big mistake that will cost you a lot of money in the long  run.  While plenty of teams start out 3-1, only a handful each year win  12 games or more.</p>
<p>If the team had been 4-0 to start the season, you probably wouldn&#8217;t have predicted them to go 16-0.  But with anything less extreme than that, the temptation is to make the big mistake of extrapolating their record exactly into the future.</p>
<h3>Now try this one</h3>
<p>Every year, some baseball player starts out on a ridiculous tear for  the first two weeks of the season, and we joke about how he&#8217;s on pace to  hit 120 homeruns.</p>
<p>But if you had to make a futures bet on how  many homeruns he would hit that year, what would be your best guess at  the actual number?</p>
<p>Nobody in their right mind would say 120.  Anything over 60 or 70 would be crazy.  You&#8217;d probably expect him to have a very good season, but not a historical one.  And you&#8217;d probably be right.</p>
<h3>Reversion to the mean</h3>
<p>The force at work here is known as <a href="http://en.wikipedia.org/wiki/Reversion_to_the_mean" target="_blank"><em>reversion to the mean</em></a>.  It&#8217;s a property of independent random events which dictates that after the observation of an &#8220;extreme event,&#8221; the next event is more likely to be closer to the mean than farther away from it.</p>
<p>We want to make a guess at a football team&#8217;s true ability to win games, in terms of winning percentage.  We&#8217;ll never know exactly what that number is; randomness in the outcomes of their games limits us to making only an educated guess at it.</p>
<p>To better understand reversion to the mean, let&#8217;s first look at a case where randomness is the <em>only</em> factor.</p>
<h3>Coin flippers&#8212;an extreme example</h3>
<p>Suppose we have 10,000 people <a href="http://www.codingthewheel.com/archives/the-coin-flip-a-fundamentally-unfair-proposition" target="_blank">flipping coins</a> together.  All flip at the same time.  If someone flips heads, he advances to the next round.  If someone flips tails, he&#8217;s eliminated from the game.  What happens?</p>
<p>After the first round, about 5,000 people have flipped heads, so they&#8217;re still in the game.  After the next round, only about 2,500 are left.</p>
<p>Fast forward ten rounds or so, and we&#8217;re left with just a couple lucky flippers who have gotten heads every single time.</p>
<p>If you want, you can call them expert coin flippers.  But if we were to play again, would you expect those same guys to make it to end again?</p>
<p>Of course not.  Their apparent ability to flip coins was an illusion, entirely due to luck.  We&#8217;d give them the same chances as anyone else in the next game.</p>
<p>In other words, it&#8217;s far more likely that they&#8217;ll perform around the average next time than it is that they&#8217;ll do even better than their exceptional performance the first time.  Because their performance was based on luck alone, they will revert to the mean.</p>
<p>[As a commenter pointed out, this coin flipping example is often used in <a href="http://www.fooledbyrandomness.com/" target="_blank"><em>Fooled by Randomness</em></a> to demonstrate <a href="http://www.investopedia.com/terms/s/survivorshipbias.asp" target="_blank">survivorship bias</a>.]</p>
<h3>Back to football</h3>
<p>When a team starts out 3-1, we&#8217;re tempted to estimate their ability to win at 75%.  But is it really that high?</p>
<p>We don&#8217;t know for sure.  Part of what we&#8217;ve observed in their 3-1 record is due to skill, part is due to randomness.  It&#8217;s impossible for us to say how big a role each factor played.</p>
<p>It&#8217;s possible that they&#8217;re only a 60%-winning team in the long run, but that luck has been on their side so far.  By the same token, it&#8217;s possible they&#8217;re a <em>great</em> team, and that their only loss was due to a few bad bounces.</p>
<p>However (and this is a big however), we <span style="text-decoration: underline;">must</span> suspect this team of being lucky.  If you&#8217;ll admit that luck plays at least a small part in the outcome of a football game&#8212;and how can you not&#8212;then we have to view the teams that start off hot with some of the suspicion with which we viewed the lucky coin flippers.</p>
<p>In short: <strong>The fact that they&#8217;ve been successful makes it more likely that luck was on their side than that it was against them.</strong> Once you accept that, then the only logical conclusion about their future performance is that they&#8217;re more likely to perform worse than they are to perform better.</p>
<p>In a given NFL season, you might see six, seven, or eight teams start out 3-1.  A few will finish the season at 12-4.  A few (maybe) will finish even better than that, but most will finish worse.  And that&#8217;s reversion to the mean at work.</p>
<p>(For the more mathematically inclined, here&#8217;s a more <a href="http://mathworld.wolfram.com/ReversiontotheMean.html" target="_blank">precise explanation</a> of reversion to the mean. Warning: integrals!)</p>
<h3>How you can use reversion to the mean</h3>
<p>There was nothing specific to winning teams about the above discussion.  Reversion to the mean also happens with bad teams.  A team that starts off 1-3 or 0-4 has likely been on the receiving end of more bad luck than good, and we can expect them to improve in the future.</p>
<p>So if bad teams aren&#8217;t as bad as they look, and good teams aren&#8217;t as good as they look, the message is simple: take the underdog early in the season.  Good handicappers won&#8217;t be fooled by the early appearance of good and bad teams, but most of the public might.  And large numbers of people certainly have the ability to influence the line and give too many points to the underdog.</p>
<p>Similarly, when making futures bets on end-0f-season wins, homeruns, touchdowns, or whatever, remember that most things will end up less extreme than they start.  The lines will already account for this to some extent, so they&#8217;re very temping bets if you don&#8217;t remember that teams and players will, in general, revert to the mean over time.</p>
<p>As shown by the example of the homerun hitter in baseball or the team that starts off undefeated, we tend to intuitively understand reversion to the mean in the most extreme cases.  We don&#8217;t predict that anyone will hit 120 homeruns or that many teams will go undefeated, for example.  For this reason, I suspect that there&#8217;s less value in betting on mean reversion in extreme cases, since everyone already has a good idea that it&#8217;s hard to continue such extreme performance.</p>
<h3>Want more?</h3>
<p>I&#8217;ll leave you with a question.</p>
<p>Last post I wrote about the <a href="http://www.thinkingbettor.com/gamblers-fallacy/" target="_blank">Gambler&#8217;s Fallacy</a>, where we established why a roulette wheel that has landed on black several times is in no way &#8220;due&#8221; to hit red because of the streak of blacks.  How does this reversion to the mean not contradict this?</p>
<p>Be the first to answer correctly and you win&#8230;the envy of the dozens (yes, DOZENS) of Thinking Bettor readers everywhere.  Come on, what more could you ask for?</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.thinkingbettor.com/mean-reversion/feed/</wfw:commentRss>
			<slash:comments>10</slash:comments>
		
		
			</item>
		<item>
		<title>Why Some People Insist that the Roulette Wheel Is &#8216;Due&#8217;</title>
		<link>https://www.thinkingbettor.com/gamblers-fallacy/</link>
					<comments>https://www.thinkingbettor.com/gamblers-fallacy/#comments</comments>
		
		<dc:creator><![CDATA[Matt]]></dc:creator>
		<pubDate>Tue, 24 Aug 2010 17:21:47 +0000</pubDate>
				<category><![CDATA[Math and Stats Concepts]]></category>
		<category><![CDATA[gambler's fallacy]]></category>
		<category><![CDATA[independence]]></category>
		<category><![CDATA[law of averages]]></category>
		<category><![CDATA[roulette]]></category>
		<guid isPermaLink="false">http://www.thinkingbettor.com/?p=45</guid>

					<description><![CDATA[We humans aren&#8217;t wired to understand randomness. For example, when two events happen in sequence, we have a tendency to believe that the first one caused the second. This is extremely helpful when it protects us from touching a hot burner a second time, or from poking around a bees&#8217; nest.  It&#8217;s not as helpful...]]></description>
										<content:encoded><![CDATA[<p>We humans aren&#8217;t wired to <a href="http://www.amazon.com/Fooled-Randomness-Hidden-Chance-Markets/dp/1587990717" target="_blank">understand randomness</a>.</p>
<p>For example, when two events happen in sequence, we have a tendency to believe that the first one caused the second.</p>
<p><div id="attachment_63" style="width: 211px" class="wp-caption alignright"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-63" class="size-medium wp-image-63" title="[coin flip]" src="http://www.thinkingbettor.com/wp-content/uploads/2010/08/iStock_000002512836XSmall-201x300.jpg" alt="" width="201" height="300" srcset="https://www.thinkingbettor.com/wp-content/uploads/2010/08/iStock_000002512836XSmall-201x300.jpg 201w, https://www.thinkingbettor.com/wp-content/uploads/2010/08/iStock_000002512836XSmall.jpg 284w" sizes="auto, (max-width: 201px) 100vw, 201px" /><p id="caption-attachment-63" class="wp-caption-text">News to some: Coins and roulette wheels don&#39;t have memories.</p></div>This is extremely helpful when it protects us from touching a hot burner a second time, or from poking around a bees&#8217; nest.  It&#8217;s not as helpful when it causes us to believe that blowing on the dice will help us to avoid rolling a seven.</p>
<h3>Why we struggle with randomness</h3>
<p>To a caveman, the cost of not understanding randomness was small.  He might waste his time doing an unnecessary rain dance or two, but assigning causality where there was none wouldn&#8217;t kill him, the way failing to do so might.</p>
<p>As a result of evolution favoring the shortcuts that helped us survive, we evolved without much grasp of the concept of randomness.  We&#8217;re now subject to several biases regarding random events, one of which is the subject of today&#8217;s post.</p>
<h3>Are you guilty of this one?</h3>
<p>One such bias is so prevalent, it has earned the name the <a href="http://en.wikipedia.org/wiki/Gambler%27s_fallacy" target="_blank">Gambler&#8217;s Fallacy</a>.</p>
<p>When a roulette wheel lands on black five spins in a row, we want to say that it&#8217;s &#8220;due&#8221; to hit red.  Similar for a coin flip that comes up tails several consecutive times; lots of us feel it owes us a few reds to get back to even.</p>
<p>We know these inanimate objects have no memory, and that consecutive trials are independent.  But we also believe in the so-called &#8220;<a href="http://en.wikipedia.org/wiki/Law_of_averages" target="_blank">Law of Averages</a>,&#8221; which tells us that deviations from the theoretical <a href="http://math.about.com/od/statistics/a/MeanMedian.htm" target="_blank">mean</a> should even out over time.</p>
<p>So which is correct?</p>
<h3>A coin toss example</h3>
<p>Let&#8217;s assume a coin is perfectly fair.  It should come up heads half the time, tails the other half.  Now let&#8217;s say we start flipping this coin and (amazingly) get 20 heads in the first 20 tosses.</p>
<p>My question to you is this: <strong>Given this history and the fact that the coin is fair, how many heads should we expect in the first 1000 flips?</strong></p>
<p>A lot of people will answer &#8220;500, since over time the coin will be fair.&#8221;  But that&#8217;s wrong.</p>
<p>When you say &#8220;500,&#8221; knowing that the first 20 flips were heads, you&#8217;re predicting that of the next 980 tosses, only 480 will be heads, while the other 500 flips will be tails.</p>
<p>Doesn&#8217;t sound very fair, does it?</p>
<p>The correct answer is that we expect 510 heads, 490 tails after 1000 tosses. Why?  We start with the 20 heads.  We have 980 flips to go, of which half (490) should be heads, while the remaining half should be tails.  (Remember, the coin is assumed to be fair.) That leaves 510 heads and 490 tails.</p>
<p>Another way of looking at it: Heads has been given a 20-flip head start, we have a fair and memoryless coin, so after 1000 flips, we expect there to still be 20 more heads than tails.</p>
<h3>But what about the Law of Averages?</h3>
<p>Despite what you&#8217;ll hear almost nightly from a naive sports commentator somewhere, there&#8217;s no such thing as the &#8220;<a href="http://en.wikipedia.org/wiki/Law_of_averages" target="_blank">Law of Averages</a>.&#8221;</p>
<p>What there is, however, is the <a href="http://stat-www.berkeley.edu/~stark/Java/Html/lln.htm" target="_blank">Law of Large Numbers</a>, which says that over time, the <span style="text-decoration: underline;">percentage</span> by which the number of heads differs from half will go to zero.  So what this law says about our coin flipping experiment is this: After a million, a billion, or a hundred trillion flips, we&#8217;d still expect heads to be winning by 20, given that it started out that way.</p>
<p>But in the context of such enormous numbers, 20 is a tiny percentage, and it becomes even less significant as the number of flips grows.  So the number of flips that are heads converges to one half, even without &#8220;making up for&#8221; the run of 20 heads at the start.</p>
<p>In short: The Law of Large Numbers <span style="text-decoration: underline;">does not say</span> that we should expect more tails than heads in future flips, only that the effect of the 20 heads will become negligible after many flips.</p>
<h3>Examples</h3>
<p>Watch and listen closely, and you&#8217;ll notice this fallacy all the time.  The logic in the following examples is equivalent to assuming that if a roulette wheel has come up black a few times in a row, it&#8217;s bound to come up heads.</p>
<ul>
<li><em>You play poker and throw away every hand for half an hour because  you&#8217;re being dealt trash.  With every passing hand, it feels like a  playable hand becomes more likely.</em> (Of course it  isn&#8217;t.  Your chances of getting a playable hand now are exactly what  they were before the run-o-trash started.  Same goes for flush and  straight draws: Lots of misses doesn&#8217;t make you due to hit one, so you  shouldn&#8217;t adjust your play when you get frustrated.)</li>
<li><em>An NFL team wins both games against a divisional opponent one season, then faces them again in the playoffs.  Someone on <a href="http://www.espn.com" target="_blank">ESPN</a> tells us &#8220;how hard it is to win three games against a team in this league.&#8221;</em> (Sure, but not once they&#8217;ve already won two of them.  Two wins here does not make a loss &#8220;due.&#8221; Now it&#8217;s about winning one game against a team that&#8217;s likely not as good as them.  If the reasoning is that the weaker team makes adjustments, fine, but I don&#8217;t think that&#8217;s what they&#8217;re saying.)</li>
<li><em>An NHL team gets down 3-1 in a playoff series.  They win the next two games.  Now radio hosts tell us that they probably won&#8217;t win Game 7, because so few teams have ever come back from a 3-1 deficit. </em>(Same idea here.  Once they&#8217;ve tied it up 3-3, another win would make it three in a row.  Three playoff wins in a row is unlikely, but once two of them are in the books, a team isn&#8217;t &#8220;due&#8221; for a loss any more than they were at the start.)</li>
<li><em>Someone playing a slot machine for an hour with no luck gets up to hit the ATM for more money.  When he does, he parks his wife in the seat so that nobody can get in on his machine, which is sure to start paying out after such a long drought. </em>(By now, you get the point.  The trials are obviously independent, so it doesn&#8217;t matter how long it&#8217;s been since the machine hit.)</li>
</ul>
<p>The sports examples are excusable if there&#8217;s a good reason why the outcomes of the games shouldn&#8217;t be independent (psychology, shifting home field, adjustments by a team that has lost several games in a row).  Barring that, though, I see them as gambler&#8217;s fallacy.</p>
<p>There&#8217;s a statistics concept known as <a href="http://www.thinkingbettor.com/mean-reversion/" target="_blank"><em>reversion to the mean</em></a> which, at first glance, seems to be inconsistent with independent trials, but in fact, it isn&#8217;t.  That&#8217;s the subject of a future post, and if you like what you read here, I hope you&#8217;ll<a href="http://feeds.feedburner.com/thinkingbettor" target="_blank"> subscribe</a> to get free updates.  And please, let me know in the comments what you think.</p>
<p>Want more math? More basics like this? Harder stuff?</p>
<p>Let me know. Thanks for reading.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.thinkingbettor.com/gamblers-fallacy/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>Why Do Smart People Gamble?</title>
		<link>https://www.thinkingbettor.com/why-smart-people-gamble/</link>
					<comments>https://www.thinkingbettor.com/why-smart-people-gamble/#comments</comments>
		
		<dc:creator><![CDATA[Matt]]></dc:creator>
		<pubDate>Tue, 17 Aug 2010 16:13:55 +0000</pubDate>
				<category><![CDATA[Gambling Psychology]]></category>
		<category><![CDATA[daniel bernoulli]]></category>
		<category><![CDATA[diminishing marginal utility]]></category>
		<category><![CDATA[gambling irrational]]></category>
		<category><![CDATA[utility theory]]></category>
		<guid isPermaLink="false">http://www.thinkingbettor.com/?p=21</guid>

					<description><![CDATA[For just a moment, let go of the idea that gambling is one day going to make you rich. This blog isn&#8217;t about that.  It&#8217;s quite possible that the math and statistics tools explored here will make you a better gambler, but that&#8217;s not really the point. The point is to appreciate gambling, to relish...]]></description>
										<content:encoded><![CDATA[<p>For just a moment, let go of the idea that gambling is one day going to make you rich.</p>
<p>This blog isn&#8217;t about that.  It&#8217;s quite possible that the <a href="http://www.thinkingbettor.com/category/math-and-stats-concepts/" target="_blank">math and statistics tools</a> explored here will make you a better gambler, but that&#8217;s not really the point.</p>
<p>The point is to appreciate gambling, to relish the ins and outs of this mysterious and beautiful concept of randomness.  And doing that starts with understanding why we gamble in the first place&#8212;even when we don&#8217;t have the best of it.</p>
<h3>To Economists, Gambling Doesn&#8217;t Make Sense</h3>
<p>Smart people know they won&#8217;t win most casino games they play.  Yet even informed bettors can&#8217;t resist trying their hand at negative expectation games like craps, roulette, and blackjack (without counting cards).</p>
<p>So why would a rational, calculating person willingly accept a negative-expectation proposition?</p>
<p>Entertainment doesn&#8217;t work as an explanation&#8212;any fun one has while gambling is entirely dependent on the money involved and based on the idea of increasing one&#8217;s wealth.  Take the money away, and the fun is gone.  (Ever tried playing blackjack just for giggles?)</p>
<p>In fact, in a classical economics framework, even a completely fair wager&#8212;one in which the payouts are in accordance with the odds and there&#8217;s no house advantage&#8212;can be shown to be irrational.  That is, it&#8217;s inconsistent with the goal of maximizing expected utility.  Read on.</p>
<h3>A Quick Look at Utility Theory</h3>
<p>The problem starts with the <a href="http://www.businessdictionary.com/definition/utility-theory.html" target="_blank">notion of utility</a>.</p>
<p>Utility is simply a measure of how good you feel.  It&#8217;s what everyone goes through life attempting to maximize.  And while utility is assumed to increase with wealth, the relationship isn&#8217;t linear.</p>
<p>Instead, utility in classical economics is assumed to increase as wealth increases, but by less and less for larger values of wealth.  The curve plotting utility against wealth is concave-down. (Depending on your background, it may help to think of this property as &#8220;<a href="http://en.wikipedia.org/wiki/Marginal_utility#Diminishing_marginal_utility" target="_blank">diminishing marginal utility</a>,&#8221; or as a &#8220;negative second derivative of utility with respect to wealth.&#8221;)</p>
<div id="attachment_36" style="width: 456px" class="wp-caption aligncenter"><a href="http://eco-comics.blogspot.com/2009/08/mo-money-mo-problems.html"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-36" class="size-full wp-image-36" title="utility-curve" src="http://www.thinkingbettor.com/wp-content/uploads/2010/08/utility-curve.gif" alt="" width="446" height="346" srcset="https://www.thinkingbettor.com/wp-content/uploads/2010/08/utility-curve.gif 525w, https://www.thinkingbettor.com/wp-content/uploads/2010/08/utility-curve-300x233.gif 300w" sizes="auto, (max-width: 446px) 100vw, 446px" /></a><p id="caption-attachment-36" class="wp-caption-text">Source: Ecocomics</p></div>
<h3>A Dollar Lost is Worth More than a Dollar Won</h3>
<p>As a simple example of decreasing marginal utility, consider which is worth more: Your first hundred dollars of wealth, or your first hundred dollars <em>on top of your first million</em>?</p>
<p>Your first hundred dollars of wealth has nearly infinite worth to you.</p>
<p>Right?  If you only have 100 dollars to your name, that 100 dollars is what keeps you alive for the next few days (assuming you don&#8217;t have access to loans).</p>
<p>Contrast this with the first hundred bucks one earns after making a million.  Sure, that extra hund-o might afford you a nice bottle of wine, which certainly enhances your utility.  But compared to your survival, that wine is all but worthless.</p>
<p>Now, let&#8217;s think about it from the perspective of a gambler.  When you make a straight-up, 50/50 bet on a coin flip, you&#8217;re risking one dollar to lose one dollar.  But because of diminishing marginal utility of wealth, that dollar you might win is worth <em>slightly less</em> than the one you could lose, in terms of how you feel about it.</p>
<h3>Gambling Is &#8216;Irrational&#8217;</h3>
<p>In this framework, even a fair bet with a friend is a bad one.  Your expected win is exactly $0, but your expected change in utility is slightly negative.  If your utility function is concave-down, you don&#8217;t take this bet.</p>
<p>Put another way, someone whose utility function has this shape is <em>risk-averse</em>: Given the choice between a fixed level of wealth and a gamble, <em>even if that gamble is fair</em> <em>or slightly favorable</em>, someone who is risk averse prefers the sure thing.</p>
<p>The basic assumption that all people have concave-down utility functions, then, implies that gamblers, or risk-seekers, are <a href="http://www.amazon.com/Predictably-Irrational-Hidden-Forces-Decisions/dp/006135323X" target="_blank">irrational</a>.  Given that the expected utility of even a fair gamble is negative, it must be that gamblers are not  maximizing expected utility and are idiots.  That&#8217;s just what <a href="http://en.wikipedia.org/wiki/Daniel_Bernoulli" target="_blank">Daniel Bernoulli</a>, the first person to think about this question in depth, concluded.</p>
<h3>So How Do We Explain Gambling?</h3>
<p>If <a href="http://www.sciencedaily.com/releases/2010/08/100830152534.htm" target="_blank">gambling is irrational</a>, then a huge contingent of the world is irrational, from the compulsive gambler to the once-a-year Vegas-vacationer, to the old couple on the NYC to Atlantic City bus to play slots for the day.</p>
<p>Irrational.  Really?</p>
<p>Economics is supposed to explain the behavior of lots of people, not just the ones who don&#8217;t gamble.  Here the model fails.  As a result, modern economists are proposing new models to explain gambling behavior.</p>
<p>Some alternative theories deal with the problem by allowing a locally-convex (the opposite of concave) utility function near the current level of wealth, so that dollars gained are worth more than dollars lost, at least when it comes to fluctuations around the current wealth level.  That is, when the monetary risks are small, the many people seek out risk, rather than avoiding it.</p>
<p>Such theories are unsatisfying, in that they make no effort to explain <em>why</em> utility functions might be locally convex (i.e., why gamblers seek out small risks).  For this, one needs to examine psychological factors that make gambles appealing.  Some propose that gamblers believe they are &#8220;lucky,&#8221; despite understanding on an intellectual level that the laws of probability are against them.  This &#8220;gambler&#8217;s illusion&#8221; is the subject of Joseph Mazur&#8217;s new book, <a href="http://josephmazur.com/" target="_blank"><em>What&#8217;s Luck Got to Do With It?</em></a><em> </em></p>
<h3>How Can You Use This?</h3>
<p>There&#8217;s still no universally-accepted explanation for why we gamble, but that doesn&#8217;t mean we can&#8217;t use our understanding of the problem to enjoy gambling more.</p>
<p>The next time you gamble, whether it&#8217;s a fair bet with a buddy or you&#8217;re paying a premium in a casino, realize what&#8217;s going on.  You&#8217;re behaving in a way that a few hundred years of economics still can&#8217;t explain.  There&#8217;s something in a wager that brings you value, beyond simple expected utility of wealth, yet still somehow rooted in the chance to improve your lot.</p>
<p>When you&#8217;re in the casino, you don&#8217;t have to stick to the &#8220;smart bets.&#8221;  Nobody&#8217;s forcing you to bet the pass line on the craps table, taking maximum odds every time (since as we all know, odds are the only fair bet in the whole place).  Nor do you have to grind it out at blackjack, following basic strategy to the letter, just so you can reduce the house edge as much as possible that way.</p>
<p>If you&#8217;re playing those games in the first place, then there&#8217;s something alluring to you besides expected profit or utility of wealth.  So play them in the way that&#8217;s most fun for you.</p>
<p>That&#8217;s why you&#8217;re there.  Even losing becomes more fun when you can stand back and marvel at why you took the risk in the first place.</p>
<p>And when someone tells you you&#8217;re making stupid bets, remind them that even if they could play with no house edge, they&#8217;d be irrational to do so, in the eyes of classical economists.  There&#8217;s something more to it, something about the enjoyment of a gamble.</p>
<p>So gamble in the way that you enjoy most.</p>
<p><em>This blog is brand new, and your feedback will help me determine what direction to go with it.  If you liked this post (or even if you didn&#8217;t), leave a comment to let me know. If you&#8217;d like to get future posts delivered to your inbox or reader, <a href="http://feeds.feedburner.com/thinkingbettor" target="_blank">click here to subscribe to Thinking Bettor</a>.</em></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.thinkingbettor.com/why-smart-people-gamble/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
	</channel>
</rss>
