<?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>Mind Your Decisions &#187; Business</title>
	<atom:link href="http://mindyourdecisions.com/blog/category/game-theory/business/feed/" rel="self" type="application/rss+xml" />
	<link>http://mindyourdecisions.com/blog</link>
	<description>Articles on game theory and personal finance</description>
	<lastBuildDate>Fri, 03 Feb 2012 05:01:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>The Colonel Blotto game</title>
		<link>http://mindyourdecisions.com/blog/2012/01/24/the-colonel-blotto-game/</link>
		<comments>http://mindyourdecisions.com/blog/2012/01/24/the-colonel-blotto-game/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 05:01:11 +0000</pubDate>
		<dc:creator>Presh Talwalkar</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Game Theory]]></category>
		<category><![CDATA[Threats]]></category>

		<guid isPermaLink="false">http://mindyourdecisions.com/blog/?p=5958</guid>
		<description><![CDATA[This is an interesting game I found in the book Introduction to game theory by Peter Morris that reminds me about the board game Risk. The Colonel Blotto problem is a zero-sum game about how to best position resources. While Colonel Blotto games are described in a military context, I will explain in future articles some [...]]]></description>
			<content:encoded><![CDATA[<p>This is an interesting game I found in the book <a href="http://books.google.com/books?id=cExIHG3TN0IC&amp;lpg=PA107&amp;dq=colonel%20blotto%20solution&amp;pg=PA107#v=onepage&amp;q=colonel%20blotto%20solution&amp;f=false">Introduction to game theory by Peter Morris</a> that reminds me about the board game <em><a href="http://en.wikipedia.org/wiki/Risk_(game)">Risk</a>.</em></p>
<p>The Colonel Blotto problem is a zero-sum game about how to best position resources. While Colonel Blotto games are described in a military context, I will explain in future articles some of its useful applications in <a href="https://sites.google.com/site/colonelblottomodel/uses-applications/blotto-in-sports">sports</a>, <a href="http://www.fsb.muohio.edu/fsb/ecopapers/docs/fletchd-2009-11-paper.pdf">advertising</a>, <a href="https://pantherfile.uwm.edu/tofias/www/papers/mmt.apsa2006.pdf">elections</a>, and many other areas.</p>
<p>Today I want to highlight a specific Colonel Blotto game that is convenient to solve mathematically.</p>
<p><span id="more-5958"></span></p>
<p><strong>A simple example of a Colonel Blotto game</strong></p>
<p>Colonel Blotto is planning his attack for the next day. He wishes to capture 2 different locations, and he has 4 regiments of troops.</p>
<p>The opposing commander, Colonel Lotso, also wishes to attack those 2 locations, and he has 3 regiments.</p>
<p>To make the problem precise, it is necessary to ascribe payoffs to possible outcomes.</p>
<p>Let&#8217;s say that if both send troops to the same site, the person who sent more troops will win the site.</p>
<p>Specifically, if one Colonel sends <em>x</em> troops, and other sends a lesser number <em>y</em>, then the Colonel who sent <em>x</em> regiments will win. The payout will be equal to <em>y</em> + 1: the Colonel gets <em>y</em> points for defeating that number of enemy troops, plus he gets 1 point for securing the location.</p>
<p>For example, if Colonel Blotto sent all 4 troops to one site, and Colonel Lotso all 3 to the same site, then Colonel Blotto would win the battle and get 4 points because he defeated 3 of Lotso&#8217;s regiments and got 1 point for securing the location.</p>
<p>If each sent all of their troops to different sites, however, then both would gain a location but not defeat any enemy troops. Each Colonel would get a location, but neither gains an advantage, so the net payout to each would be 0.</p>
<p>If both Colonels play strategically, how should they distribute their troops?</p>
<p><img class="aligncenter size-full wp-image-5959" title="colonel-blotto-game-graphic" src="http://mindyourdecisions.com/blog/wp-content/uploads/2012/01/colonel-blotto-game-graphic.png" alt="" width="271" height="484" /></p>
<p><strong>Solution to the Colonel Blotto game</strong></p>
<p>Colonel Blotto has 5 strategies at his disposal: he can send 4 troops to either location, he can send 3 to one location and 1 to another, or he can send an equal number of troops 2 to each location. We will abbreviate these in set notation (4, 0), (0, 4), (3, 1), (1, 3), and (2,2).</p>
<p>By similar reasoning, Colonel Lotso has 4 strategies at his disposal that can be abbreviated (3, 0), (0, 3), (2, 1), and (1, 2).</p>
<p>We will write out the 5 x 4 matrix for the set of strategies and diligently calculate the payout for each battle. Since this is a zero sum game, we will write the payouts in terms of Colonel Blotto, and note that Colonel Lotso&#8217;s matrix would have the opposite values.</p>
<p>(The matrix displays net payouts to each site, so careful accounting is required to calculate some of the payouts. For example, consider the strategy (4,0) versus (2,1). Blotto wins the first site and gets a total of 3 points. But Lotso wins the other site and gets 1. So the net payout to Blotto is 3-1 = 2).</p>
<p><img class="aligncenter size-full wp-image-5960" title="colonel-blotto-game-matrix" src="http://mindyourdecisions.com/blog/wp-content/uploads/2012/01/colonel-blotto-game-matrix.png" alt="" width="450" height="335" /></p>
<p>We can use a handy <a href="http://people.hofstra.edu/Stefan_Waner/gametheory/games.html">zero gum game solver</a> to figure out the optimal strategy.</p>
<p>Colonel Blotto will play (4,0) with probability 4/9, he plays (0, 4) with probability 4/9, and he will play (2,2) with probability 1/9. He never plays (3, 1) or (1, 3).</p>
<p>Colonel Lotso does not have a unique mixed strategy. He can actually play a variety of mixed strategies. The symmetric solution, as explained in <a href="http://books.google.com/books?id=cExIHG3TN0IC&amp;lpg=PA107&amp;dq=colonel%20blotto%20solution&amp;pg=PA107#v=onepage&amp;q=colonel%20blotto%20solution&amp;f=false">Introduction to game theory</a>, is that he will play both (3,0) and (0,3) with probability 1/18, and he will play both (2,1) and (1,2) with probability 4/9.</p>
<p><strong>Interpreting the solution</strong></p>
<p>When both are playing their optimal strategy, Blotto can expect a payout of 14/9. This makes sense that Blotto has a positive payout because he has 1 extra regiment and should be favored.</p>
<p>The solution indicates that Blotto should concentrate his troops to specific sites and occasionally split his troops, just to make sure that Lotso cannot steal a location easily.</p>
<p>Lotso responds by doing the opposite. Lotso cannot win against Blotto in the numbers game, so Lotso has to spread his troops out and hope to secure an undefended location with 1 regiment. Occasionally Lotso will deploy all his troops to one site or the other, just so that Blotto cannot win by spreading his troops evenly all the time.</p>
]]></content:encoded>
			<wfw:commentRss>http://mindyourdecisions.com/blog/2012/01/24/the-colonel-blotto-game/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>A simple game that makes you think, &#8220;Wow, people can be really petty&#8221;</title>
		<link>http://mindyourdecisions.com/blog/2012/01/10/a-simple-game-that-makes-you-think-wow-people-really-are-stupid/</link>
		<comments>http://mindyourdecisions.com/blog/2012/01/10/a-simple-game-that-makes-you-think-wow-people-really-are-stupid/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 05:01:58 +0000</pubDate>
		<dc:creator>Presh Talwalkar</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Game Theory]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Threats]]></category>
		<category><![CDATA[behavioral economics]]></category>
		<category><![CDATA[psychology]]></category>

		<guid isPermaLink="false">http://mindyourdecisions.com/blog/?p=5767</guid>
		<description><![CDATA[I came across a very interesting game theory example in the book The Survival Game. Let&#8217;s you and I play this very simple game and analyze the best strategy. Imagine we are playing this game in a college experiment. We each have a chance to win money depending on how we play. Here are the [...]]]></description>
			<content:encoded><![CDATA[<p>I came across a very interesting game theory example in the book <a href="http://www.amazon.com/Survival-Game-Explains-Cooperation-Competition/dp/0805076999">The Survival Game</a>.</p>
<p>Let&#8217;s you and I play this very simple game and analyze the best strategy.</p>
<p><span id="more-5767"></span></p>
<p>Imagine we are playing this game in a college experiment. We each have a chance to win money depending on how we play.</p>
<p>Here are the rules:</p>
<blockquote><p>&#8211;You and I each secretly play &#8220;A&#8221; or &#8220;B&#8221;</p>
<p>&#8211;If we both pick &#8220;A,&#8221; then we each get $4</p>
<p>&#8211;If one person picks &#8220;A,&#8221; and the other &#8220;B&#8221;, the person picking &#8220;A&#8221; gets $1 and the person playing &#8220;B&#8221; gets $3</p>
<p>&#8211;If we both pick &#8220;B,&#8221; then we each get no money and leave with $0</p>
<p>Here is the matrix of payouts:</p>
<p><img src="http://mindyourdecisions.com/blog/wp-content/uploads/2012/01/simple-game-theory-absolute-payoffs.png" alt="" title="simple-game-theory-absolute-payoffs" width="295" height="240" class="aligncenter size-full wp-image-5783" /></p>
<p>The game is played once. What option would you pick?
</p></blockquote>
<p><strong>Analyzing the game</strong></p>
<p>This game is a no-brainer: it is a dominant strategy to pick &#8220;A&#8221; and both of us should get $4.</p>
<p>Verifying this is an easy task. Each person thinks about the best response to the other player&#8217;s move. If the other player picks &#8220;A,&#8221; then it&#8217;s best to also pick &#8220;A&#8221; to get $4 rather than &#8220;B&#8221; to get $3. If the other player picks &#8220;B,&#8221; it is also better to pick &#8220;A&#8221; and get $1 rather than &#8220;B&#8221; to get $0.</p>
<p>The best strategy is to pick &#8220;A,&#8221; regardless of what the other person is doing. Both players should easily cooperate and get $4.</p>
<p>There is no sensible reason to pick &#8220;B.&#8221; And yet, that&#8217;s exactly what researchers found people doing over half a century ago, in a similar game played with pennies rather than dollars.</p>
<p>The results were astounding: <strong>more than 50 percent ended up playing the strategy &#8220;B&#8221;</strong>!</p>
<p>(The experiment is referenced in <a href="http://www.amazon.com/Survival-Game-Explains-Cooperation-Competition/dp/0805076999">The Survival Game</a> regarding this <a href="http://www.jstor.org/pss/172653">1960 article</a>)</p>
<p>We could be tempted to chalk up the result to the small payouts, or maybe people did not understand the rules. It is possible that people did not take the game seriously.</p>
<p>But the researchers also raised another possible, biological explanation that&#8217;s worth investigating.</p>
<p><strong>The green-eyed monster of jealousy</strong></p>
<p>As explained above, both players maximize their payout when they pick &#8220;A.&#8221; It should be obvious that picking &#8220;A&#8221; is the best thing to do. Except, perhaps we are thinking about the problem with the wrong motivation.</p>
<p>In game theory, economics, or business, we often choose the option that brings us the highest profit in absolute terms. All things equal, we would rather have $1,000 than $100.</p>
<p>But people do not always think in absolute success. They can sometimes think in terms of relative success: the goal is not to maximize payout, but rather, in the researchers&#8217; words, &#8220;to maximize the difference between one&#8217;s self and the other player.&#8221;</p>
<p>There is further experimental evidence of this idea, as explained on <a href="http://www.michaelshermer.com/2008/01/weird-things-about-money/">Michael Shermer&#8217;s blog</a>:</p>
<blockquote><p>Would you rather earn $50,000 a year while other people make $25,000, or would you rather earn $100,000 a year while other people get $250,000? Assume for the moment that prices of goods and services will stay the same.</p>
<p>Surprisingly — stunningly, in fact — <strong>research shows that the majority of people select the first option</strong>; they would rather make twice as much as others even if that meant earning half as much as they could otherwise have. How irrational is that?</p>
<p>&#8230;In this case, relative social ranking trumps absolute financial status.[emphasis mine]</p></blockquote>
<p>The point is that relative thinking, and jealousy of other people&#8217;s success, factors into how people think about money.</p>
<p>So let&#8217;s use this idea to re-analyze the game.</p>
<p><strong>The destructive nature of relative thinking</strong></p>
<p>The original payout matrix accurately reflected the total payouts for each player. It was apparent that &#8220;A&#8221; was the obvious choice.</p>
<p>But imagine that people were thinking in terms of relative rather than absolute payout. That is, they only cared about how much more they earned than the other player.</p>
<p>The game is now transformed into the following payouts:</p>
<blockquote><p>&#8211;If we both pick &#8220;A,&#8221; then we each get $0 more than the other person</p>
<p>&#8211;If one person picks &#8220;A,&#8221; and the other &#8220;B&#8221;, the person picking &#8220;B&#8221; gets $2 more than the other player</p>
<p>&#8211;If we both pick &#8220;B,&#8221; then we each get no money and also leave with $0 more than the other person</p>
<p>Here is the matrix of relative payouts:</p>
<p><img src="http://mindyourdecisions.com/blog/wp-content/uploads/2012/01/simple-game-theory-relative-payoffs.png" alt="" title="simple-game-theory-relative-payoffs" width="295" height="240" class="aligncenter size-full wp-image-5784" /></p>
</blockquote>
<p>The payouts of this game are completely changed from the original one. Notice how the original game&#8211;which was non-zero sum and mutually profitable&#8211;is now suddenly a zero sum, and competitive, game.</p>
<p>The strategy becomes competitive too: in this game, it is a dominant strategy to pick &#8220;B,&#8221; meaning both players are expected to leave with nothing.</p>
<p>Rather than cooperating for mutual gain, both players &#8220;happily&#8221; end up with nothing to avoid letting the other person gain in stride.</p>
<p><strong>Get over your money jealousy</strong></p>
<p>This outcome is sadly not just theoretical: people gleefully act towards mutual destruction out of money jealousy.</p>
<p>I went over many such examples in a <a href="http://mindyourdecisions.com/blog/2008/09/05/how-do-you-deal-with-money-jealousy/">previous article</a>. In that article, I made a plea for people to be more calm and not worry so much about other people&#8217;s success.</p>
<p>Here&#8217;s my closing advice from that article. I hope it will inspire people to be less jealous and look for mutual gain:</p>
<blockquote><p>I have my own personal analogy to get over jealousy. I think about success as filling up water flowing from an ocean. Each of us has a different size glass that represents a personal level of achievement. There&#8217;s really no point worrying if your neighbor has a bigger glass than you since there is more than enough water to go around. If you want to get more, then focus on what you can do. Success will come from building your own glass and filling it, not from shattering what your neighbor has. It&#8217;s time to put the green eyed monster of jealousy to rest.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://mindyourdecisions.com/blog/2012/01/10/a-simple-game-that-makes-you-think-wow-people-really-are-stupid/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Auction theory puzzle: finding the right number of bidders</title>
		<link>http://mindyourdecisions.com/blog/2011/12/20/auction-theory-puzzle-finding-the-right-number-of-bidders/</link>
		<comments>http://mindyourdecisions.com/blog/2011/12/20/auction-theory-puzzle-finding-the-right-number-of-bidders/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 05:01:29 +0000</pubDate>
		<dc:creator>Presh Talwalkar</dc:creator>
				<category><![CDATA[Auctions]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Game Theory]]></category>
		<category><![CDATA[Puzzle]]></category>

		<guid isPermaLink="false">http://mindyourdecisions.com/blog/?p=5564</guid>
		<description><![CDATA[If you liked yesterday&#8217;s puzzle about optimizing with uncertain demand, you&#8217;ll definitely enjoy today&#8217;s post. One of my favorite topics related to game theory is the subject of auction theory. The results from auction theory are very interesting, but I have yet to cover much about it because the math can be quite intimidating. Today&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>If you liked yesterday&#8217;s puzzle about <a href="http://wp.me/p6aMk-1rF">optimizing with uncertain demand</a>, you&#8217;ll definitely enjoy today&#8217;s post.</p>
<p>One of my favorite topics related to game theory is the subject of <a href="http://mindyourdecisions.com/blog/category/game-theory/auctions/">auction theory</a>.</p>
<p>The results from auction theory are very interesting, but I have yet to cover much about it because the math can be quite intimidating.</p>
<p>Today&#8217;s problem is still challenging, but it should be within the reach of a math enthusiast. Here is the puzzle:</p>
<p><span id="more-5564"></span></p>
<blockquote><p>
Alice wants to auction off a rare collector&#8217;s item. She knows the item is worth somewhere betweeen $500 and $1,000, but she has had trouble finding interested buyers.</p>
<p>A company offers to find interested participants at the rate of $10 per bidder. (So they&#8217;ll find one bidder for $10, and ten bidders for $100)</p>
<p>How many bidders should Alice tell the company to find?</p>
<p>A couple of points:</p>
<p>&#8211;Assume the bidders have valuations randomly drawn from the uniform distribution on [500,1000]</p>
<p>&#8211;Suppose Alice holds an eBay style auction and she will sell the item for a price equal to the second highest valuation of the bidders* </p>
<p>(*this is a <a href="http://en.wikipedia.org/wiki/Auction_theory#Revenue_equivalence">standard result</a> in auction theory, though technically it&#8217;s for one bid above the second highest valuation. An example: if bidders had valuations of $500, $600, and $700, the person who values the item at $700 would win the auction. The price he would pay in an eBay style auction with dollar bid increments is $601&#8211;just enough to outbid the person with the second highest valuation)
</p></blockquote>
<p>The puzzle is about two conflicting forces: Alice wants more bidders to bring her higher bids, but she faces a tradeoff in the cost of acquiring bidders.</p>
<p>Can you figure out the optimal number of bidders?</p>
<p>The answer is written below.</p>
<p><b>Spoilers below!</b><br />
.<br />
.<br />
.<br />
.<br />
.<br />
.<br />
.<br />
.<br />
.<br />
.<br />
.<br />
.<br />
.<br />
.<br />
.<br />
.<br />
.<br />
.<br />
.<br />
.<br />
.<br />
.<br />
.<br />
<b>Answer to the puzzle</b></p>
<p>Alice wants to maximize her expected auction profits. The equation for profits for <i>n</i> bidders is something like this:</p>
<blockquote><p>
Profit(<i>n</i>)= E(revenue <i>n</i>) &#8211; Cost(<i>n</i>)
</p></blockquote>
<p>The cost part is easy to figure out. Alice pays $10 per bidder, so her cost is 10<i>n</i>.</p>
<p>The harder part is figuring out the expected revenue for <i>n</i> bidders. What we want to know is the following. If we take <i>n</i> draws from a uniform distribution, what is the expected value of the second-highest draw?</p>
<p>This question is actually part of a larger topic in probability called order statistics. One can explicitly solve for the expected value of any distribution using the technique outlined in this lecture (<a href="http://www.math.ntu.edu.tw/~hchen/teaching/StatInference/notes/lecture37.pdf">pdf</a>).</p>
<p>I will not go through the math here. But I will mention the order statistics for the uniform distribution are easy to visualize. What happens is that if you take <i>n</i> draws from the uniform distribution, the expected value of the <i>n</i> draws can be visualized as <i>n</i> points being evenly spaced on the interval.</p>
<p>Here is a picture to illustrate what I mean:</p>
<p><img src="http://mindyourdecisions.com/blog/wp-content/uploads/2011/12/uniform-distribution-order-statistics.png" alt="" title="uniform-distribution-order-statistics" width="400" height="700" class="aligncenter size-full wp-image-5569" /></p>
<p>So the <i>n</i> points separate themselves along the interval. So you divide the interval into <i>n</i>+1 segments, and the points will be at the fractions 1/(<i>n</i> + 1) along the way for the minimum, then 2/(<i>n</i> + 1) along the way for the second lowest point, etc., until the maximum draw which has an expected value of <i>n</i>/(<i>n</i> + 1).</p>
<p>By this logic, the second highest draw is expected to be at (<i>n</i> &#8211; 1)/(<i>n</i> + 1) along the way from 500 to 1000. This means the second highest valuation is expected to be:</p>
<blockquote><p>
500 + 500 * (<i>n</i> &#8211; 1)/(<i>n</i> + 1)
</p></blockquote>
<p>This is our formula for expected revenue. So we can substitute this expression back into the formula for profits:</p>
<blockquote><p>
Profit(<i>n</i>)= E(revenue <i>n</i>) &#8211; Cost(<i>n</i>)<br />
Profit(<i>n</i>) = 500 + 500 * (<i>n</i> &#8211; 1)/(<i>n</i> + 1) &#8211; 10<i>n</i>
</p></blockquote>
<p>Now we need to solve for the profit maximizing point. Let&#8217;s just use a shortcut and plug this into WolframAlpha:</p>
<p><a href="http://www.wolframalpha.com/input/?i=maximum+500%2B500*%28n-1%29%2F%28n%2B1%29-10n%2C+n%3E0"><img src="http://mindyourdecisions.com/blog/wp-content/uploads/2011/12/auction-theory-puzzle-maximum-bidders.png" alt="" title="auction-theory-puzzle-maximum-bidders" width="447" height="578" class="aligncenter size-full wp-image-5568" /></a></p>
<p>We can see that the profit maximizing point is at <i>n</i> = 9 bidders, and Alice can expect $810 of profit.</p>
<p>The lesson is that more bidders is not always optimal: you capture much of the expected revenue from the first few bidders, and then the returns are diminishing (unless some bidder is a big outlier and you can extract money from him).</p>
<p><b>Extension: suppose Alice earned the highest valuation</b></p>
<p>As an extension, let&#8217;s imagine that Alice somehow was able to extract the highest bidder to pay his entire valuation. This is not an assumption used in theory, but let&#8217;s say it happens because of some irrational bidding war.</p>
<p>In that case, Alice would expect to earn slightly revenue (the term (<i>n</i> &#8211; 1)/(<i>n</i> + 1) becomes <i>n</i>/(<i>n</i>+1)), meaning her profit function is:</p>
<blockquote><p>
Profit(<i>n</i>) = 500 + 500 * <i>n</i>/(<i>n</i> + 1) &#8211; 10<i>n</i>
</p></blockquote>
<p>How will that change the number of bidders?</p>
<p>Here is the answer:</p>
<p><a href="http://www.wolframalpha.com/input/?i=maximum+500%2B500*n%2F%28n%2B1%29-10n%2C+n%3E0"><img src="http://mindyourdecisions.com/blog/wp-content/uploads/2011/12/auction-theory-puzzle-extension.png" alt="" title="auction-theory-puzzle-extension" width="428" height="581" class="aligncenter size-full wp-image-5567" /></a></p>
<p>So Alice will only need to acquire 6 bidders, but she will earn nearly $870. This is 3 fewer bidders than above and she gets about $60 more.</p>
<p>This is, of course, exactly what we would expect: if Alice can extract more money from the bidders&#8211;the highest valuation instead of the second&#8211;she does not need as many bidders and she can earn more out of it.</p>
<p>This is common sense, but it&#8217;s useful to check the theory matches intuition.</p>
]]></content:encoded>
			<wfw:commentRss>http://mindyourdecisions.com/blog/2011/12/20/auction-theory-puzzle-finding-the-right-number-of-bidders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Game Theory 101: an excellent introduction to game theory, and interview with William Spaniel</title>
		<link>http://mindyourdecisions.com/blog/2011/11/02/game-theory-101-an-excellent-introduction-to-game-theory-and-interview-with-william-spaniel/</link>
		<comments>http://mindyourdecisions.com/blog/2011/11/02/game-theory-101-an-excellent-introduction-to-game-theory-and-interview-with-william-spaniel/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 05:01:31 +0000</pubDate>
		<dc:creator>Presh Talwalkar</dc:creator>
				<category><![CDATA[Book Reviews]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Game Theory]]></category>

		<guid isPermaLink="false">http://mindyourdecisions.com/blog/?p=5146</guid>
		<description><![CDATA[People often ask me to recommend a book that gives an introduction to game theory. Up until now I strangely did not have a proper answer. Most books either have too little math and miss out on the theory aspect, or they have way too much math and were just boring. But today I am [...]]]></description>
			<content:encoded><![CDATA[<p>People often ask me to recommend a book that gives an introduction to game theory. Up until now I strangely did not have a proper answer. Most books either have too little math and miss out on the theory aspect, or they have way too much math and were just boring.</p>
<p>But today I am thrilled to say there is finally a great game theory introduction that I can recommend. The e-book is called:</p>
<p><strong><a href="http://www.amazon.com/gp/product/B005L7ANWC/ref=as_li_tf_tl?ie=UTF8&#038;tag=gamthe101-20&#038;linkCode=as2&#038;camp=217145&#038;creative=399373&#038;creativeASIN=B005L7ANWC">Game Theory 101: The Basics &#038; Extensive Form</a><img src="http://www.assoc-amazon.com/e/ir?t=gamthe101-20&#038;l=as2&#038;o=1&#038;a=B005L7ANWC&#038;camp=217145&#038;creative=399373" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></strong></p>
<p>The book covers the basics of game theory, including the Prisoner&#8217;s Dilemma, mixed strategy equilibrium, and it also covers extensive form games (game trees) in which players move in sequence, like the ultimatum game. There are tons of diagrams and lengthy discussions to help you understand the concepts.</p>
<p>One of the remarkable things is how cheap the book is. This ebook which has over 100 pages is selling for a mere $2.99 on Amazon (there is also a lite version for $0.99 called <a href="http://www.amazon.com/gp/product/B005DGHV0I/ref=as_li_ss_tl?ie=UTF8&#038;tag=gamthe101-20&#038;linkCode=as2&#038;camp=217145&#038;creative=399373&#038;creativeASIN=B005DGHV0I">Game Theory 101: The Basics</a><img src="http://www.assoc-amazon.com/e/ir?t=gamthe101-20&#038;l=as2&#038;o=1&#038;a=B005DGHV0I&#038;camp=217145&#038;creative=399373" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />, but I would suggest the $2.99 version as it is more comprehensive and suited for readers of this site).</p>
<p><strong>Very important</strong>: while the book says it&#8217;s available for Kindle, you don&#8217;t need a Kindle to read it. You can read the book on your PC, Mac, iPhone, Android phone, or virtually any device by downloading an appropriate <a href="http://www.amazon.com/gp/feature.html/ref=amb_link_352814002_3?ie=UTF8&#038;docId=1000493771&#038;pf_rd_m=ATVPDKIKX0DER&#038;pf_rd_s=center-6&#038;pf_rd_r=1P3C4RY4WM3ZG2W26170&#038;pf_rd_t=1401&#038;pf_rd_p=1279039382&#038;pf_rd_i=1000426311">Kindle reading app</a>.</p>
<p><strong>About the author William Spaniel</strong></p>
<p><span id="more-5146"></span></p>
<p>The book is written by William Spaniel, a name that may be familiar to some of you. William Spaniel has created an impressive series of <a href="http://www.youtube.com/user/JimBobJenkins">Youtube videos</a> with the same brand name of &#8220;Game Theory 101.&#8221; He has also been a long time reader of this blog, and he has contributed with many comments and a great idea for how to find cheap gas using game theory (a bit more on that in the interview below).</p>
<p>I really respect William for writing the book and creating the videos, and even more so, it&#8217;s impressive he is doing this while he&#8217;s a student pursuing a PhD in political science at the University of Rochester. I got a chance to interview William Spaniel and I picked his brain about why he wrote the book and created the videos. I also got his opinion about why game theory textbooks are often not very good.</p>
<p>I hope you enjoy the interview, and definitely be sure to check out the ebook <a href="http://www.amazon.com/gp/product/B005L7ANWC/ref=as_li_tf_tl?ie=UTF8&#038;tag=gamthe101-20&#038;linkCode=as2&#038;camp=217145&#038;creative=399373&#038;creativeASIN=B005L7ANWC">Game Theory 101</a>.</p>
<p><strong>What got you interested in game theory?</strong></p>
<p><strong>WILLIAM SPANIEL</strong>: A paper called <a href="http://www.stanford.edu/~jfearon/papers/ethcprob.pdf">Ethnic War as a Commitment Problem</a>. Most people think I am an economist, but I am actually a political scientist by trade. Unlike economics, political science does not have any core tenants that all undergrads at every department must know before they can graduate. I think this leads to a watered-down field with mostly murky theories. But the concept of a commitment problem was refreshingly clear. I figured if game theory could create such focus in the otherwise directionless world of political science, I should learn more about it.</p>
<p><strong>What motivated you to make Youtube videos?</strong></p>
<p>I had played around with YouTube a bit prior to the creation of Game Theory 101. I noticed there were no good comparable options out there. When I started creating lesson plans to teach my roommate the field, I figured I would throw a few short clips on YouTube. It took off past my wildest expectations. Two years later, I have almost 100 videos, a partnership with YouTube, a website (<a href="http://gametheory101.com/">gametheory101.com</a>), and a book series.</p>
<p><strong>Why did you decide to write a book?</strong></p>
<p>My friend Chris pestered me endlessly until I wrote the book. This is the same friend from the car ride where we used the <a href="http://mindyourdecisions.com/blog/2010/02/09/how-to-find-cheap-gas-using-game-theory/">secretary problem to find cheap gas</a>.</p>
<p><strong>I get a lot of emails and comments with strange requests from this blog. What&#8217;s an odd/funny request you&#8217;ve gotten?</strong></p>
<p>Every December and May/June, I get a few desperate emails from students offering hundreds of dollars to complete their take-home finals for them. I am still unsure how to tell them &#8220;no.&#8221;</p>
<p><strong>Most game theory textbooks I have read are not very good. Why is that?</strong></p>
<p>There are two reasons. First, every other game theory textbook I have read is written as a reference manual, not a teaching book. Every serious game theorist needs one of these on their bookshelf, but they are completely inaccessible if you do not already understand most of what they discuss. I do not understand why everyone writes this way. Maybe publishers will not publish anything less rigorous. Perhaps professors simply write in the way they were taught. Regardless, that is just how the genre is.</p>
<p>Second, print textbooks have restraints that digital textbooks do not have to worry about. When you take any sort of math class, the first thing that a professor stresses is that math is best learned through repetition. Yet textbooks often show a single example to introduce a new concept! How are you supposed to learn through repetition when you see one example and have 30 practice problems to contend with? But more examples require more paper and ink to publish, which publishers will not allow.</p>
<p>The digital market has no comparable restrictions—megabyte transfers are dirt cheap in comparison to traditional printing and shipping. Thus, I can cram multiple examples of every concept, show picture-by-picture how to best look at a game, and calculate all solutions line-by-line. A traditional publisher would have a heart attack if he saw such a manuscript, yet I can get away with selling a book less than a dollar.</p>
<p><strong>You have a basic book for $0.99 and another one for $2.99. What&#8217;s the difference?</strong></p>
<p>The Game Theory 101 textbook is an ongoing project. My $0.99 book is what you might think of as the first chapter. It covers how to solve basic matrix or strategic form games, like the prisoner&#8217;s dilemma, matching pennies, and chicken. The $2.99 book is the first two chapters. It includes everything in the first book, plus extensive form games. I recommend anyone who is taking an actual game theory class or who wants a deeper understanding of the field to buy the larger book. If you only have a casual interest in game theory or just have a micro economics test with a splash of game theory, the first one is the best bet.</p>
<p>Why split the book at all? One of the neat things about digital publishing is that you can sell exactly what the consumer needs. The average microeconomics or game theory class covers just a fraction of the material in a normal game theory textbook. Why should you spend money for the part of the book that you will never use?</p>
<p>I am in the process if writing two more chapters. When I finish them, I will package them in a similar way. I understand that it might be a little daunting for the consumer to see so many options, but I think the money they will save makes it worthwhile.</p>
<p><strong>Thanks for the interview. Be sure to check out <a href="http://www.amazon.com/gp/product/B005L7ANWC/ref=as_li_tf_tl?ie=UTF8&#038;tag=gamthe101-20&#038;linkCode=as2&#038;camp=217145&#038;creative=399373&#038;creativeASIN=B005L7ANWC">Game Theory 101: The Basics &#038; Extensive Form</a><img src="http://www.assoc-amazon.com/e/ir?t=gamthe101-20&#038;l=as2&#038;o=1&#038;a=B005L7ANWC&#038;camp=217145&#038;creative=399373" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />, it&#8217;s a great read, and stay tuned as William Spaniel releases more chapters.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://mindyourdecisions.com/blog/2011/11/02/game-theory-101-an-excellent-introduction-to-game-theory-and-interview-with-william-spaniel/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to split a cab fare fairly using game theory</title>
		<link>http://mindyourdecisions.com/blog/2011/11/01/how-to-split-a-cab-fare-fairly-using-game-theory/</link>
		<comments>http://mindyourdecisions.com/blog/2011/11/01/how-to-split-a-cab-fare-fairly-using-game-theory/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 05:01:31 +0000</pubDate>
		<dc:creator>Presh Talwalkar</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Game Theory]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Threats]]></category>
		<category><![CDATA[bargaining]]></category>
		<category><![CDATA[economics]]></category>
		<category><![CDATA[fair division]]></category>

		<guid isPermaLink="false">http://mindyourdecisions.com/blog/?p=5127</guid>
		<description><![CDATA[I came across a fantastic game theory article that appeared in the Wall Street Journal Number&#8217;s Guy blog all the way back in 2005. The article is about three friends who agree to share a cab, and the possible ways they can split the costs. I highly recommend you read the article. The thing I [...]]]></description>
			<content:encoded><![CDATA[<p>I came across a fantastic game theory article that appeared in the <em>Wall Street Journal</em> Number&#8217;s Guy blog all the way back in 2005.</p>
<p>The article is about three friends who agree to share a cab, and the possible ways they can split the costs.</p>
<p>I highly recommend you read the <a href="http://online.wsj.com/public/article/SB113279169439805647-0jvgzPoeu7rKTRi0kt2bpu_spRA_20071216.html">article</a>.</p>
<p>The thing I liked most is the article describes various fair division methods. As I have described before in my article about <a href="http://mindyourdecisions.com/blog/2008/01/29/game-theory-tuesdays-dividing-a-restaurant-bill/">splitting restarant bills</a>, fair division is not just a mathematical concept. Fair division depends on social norms and how people perceive fairness.</p>
<p>Therefore, it is useful to understand many methods of fair division and have them in your toolkit. Below I will describe some of the fair division methods mentioned in the article about splitting cab fares.</p>
<p><span id="more-5127"></span></p>
<p><b>The details of the cab ride</b></p>
<p>The situation is a common one: three friends agree to share a cab to different destinations, and they need to split the costs fairly. How can you do that?</p>
<p>More specifically, let us consider the following situation:</p>
<blockquote><p>
Let&#8217;s say that passenger A&#8217;s usual fare would be $1, passenger B&#8217;s is $5 and passenger C&#8217;s is $9. If all three share a cab (and assuming A and B are allowed to hop out on the way to C&#8217;s destination, without incurring any special fees), the total bill would be $9 &#8212; rather than the $15 they&#8217;d have to pay, total, to ride alone. How should they divide up the cost of the shared $9 ride? Or, put another way, how do they share the $6 of total savings?
</p></blockquote>
<p>Think about how you might solve this problem if you were splitting a cab with your friends.</p>
<h2>Division methods</h2>
<p>The author of the article, Carl Bialik, tackled the question by asking several economists how they would solve the problem.</p>
<p>He additionally came up with his own solution of how to divide the trip.</p>
<p>Here is a table that summarizes the different methods. Below I will explain the logic in more detail.</p>
<p><img src="http://mindyourdecisions.com/blog/wp-content/uploads/2011/10/splitting-a-cab-ride.png" alt="" title="splitting-a-cab-ride" width="450" height="210" class="aligncenter size-full wp-image-5129" /></p>
<p><b>Method 1: Proportional by time in cab</b></p>
<p>The author of the article took a stab at the problem before asking the economists. He suggested that each person should pay proportionally to the time they spent in the cab. That is, the first leg to passenger A&#8217;s house should be shared by all three, then the next leg to passenger B&#8217;s house should be divided by B and C, and finally the rest of the way should be paid by passenger C.</p>
<p>The logic here is that you are paying for the time you are in the cab. Under this method, passenger A pays 33 cents, passenger B pays $2.33, and passenger C pays $6.34.</p>
<p>The advantage of this method is it is simple to implement. After a passenger leaves the cab, the fare can be read, and each person immediately knows how much to pay.</p>
<p>The downside is that passenger C ends up saving less percentage-wise. In this example, passenger C only saves 30 percent compared to its normal fare, versus passenger B who saves 53 percent and passenger A who saves 67 percent. It seems a bit unfair that passenger C does not exactly share in the savings. One could argue passenger C should save the most as his trip home is most inconvenienced by having to drop off A and B.</p>
<p><b>Method 2: split the savings proportionally</b></p>
<p>Another way to think about the problem is to consider the savings surplus. Had each person gone home separately, the trip would have cost $15 = $1 + $5 + $9. By sharing the cab, the passengers only pay $9, which is a savings of $6.</p>
<p>This method frames the problem as how to split up the $6. The proposal is to split the $6 proportionally, using each person&#8217;s individual ride cost out of $15 for the ratio.</p>
<p>Since passenger A would have normally paid $1, passenger A gets a 1/15 share of the $6 savings, or 40 cents. Similarly, passenger B gets a 5/15 share of the $6 savings, or a $2 savings. Finally, passenger C gets the remaining 9/15 share of the $6 savings, or a $3.6 savings.</p>
<p>Ultimately, the ride is split with passenger A paying 60 cents, passenger B paying $3, and passenger C paying $5.40.</p>
<p>Sharing the savings proportionally makes a lot of sense, and this is a preferred method in many legal settings like in bankruptcy situations.</p>
<p>The downside is the answer is a bit harder to compute. The passengers need to know how much the final ride costs before any split can be made.</p>
<p><b>Method 3: Bargaining solutions</b></p>
<p>Another way to split the cab ride is by using a procedure known as the <a href="http://en.wikipedia.org/wiki/Bargaining_problem#Nash_bargaining_solution">Nash bargaining solution</a>. This is a precise mathematical formulation in which each player seeks to maximize his profit from agreeing to a deal, knowing that he can walk away and break the deal.</p>
<p>The amount a person saves depends on how important he is to the deal. Suppose that it is a busy night, and cabs are preferring to pick up groups of 3 passengers rather than individual fares. In that case, each person is vital to catching a cab and equally important.</p>
<p>The <a href="http://en.wikipedia.org/wiki/Bargaining_problem#Nash_bargaining_solution">Nash bargaining solution</a>, in this case, is that each person gets an equal share of the $6&#8211;each gets $2.</p>
<p>This is quite unrealistic as it means passenger C pays $7, passenger B pays $3, and passenger A <i>profits</i> by $1 for his role. The odd solution is because we assumed that 3 passengers were needed in order to hail a cab, and that means each person has equal bargaining power.</p>
<p>A more realistic assumption is that passengers can form subgroups, or coalitions, and continue to bargain. If passenger A is being annoying, then passenger B and C could just split off and take their own cab. In that case, the two would still end up paying $9, which means a saving of $5 plus the satisfaction of not having to travel with passenger A.</p>
<p>This means passengers B and C could argue $5 of the savings belong to them, split as $2.50 per person. They could then come to A and offer the remaining $1 of surplus from all three riding be split equally as 33 cents per person. This leads to passengers A paying 67 cents, passenger B paying $2.17, and passenger C paying $6.18.</p>
<p>Bargaining solutions are extremely important in game theory as they depend on how powerful each player is.</p>
<p><b>Method 4: Equal division of the contested sum</b></p>
<p>There is another method that is one known as an equal division of the contested sum.</p>
<p>The idea is you look at which portions are contested, and then you split that evenly. This method has historical importance and I have written about it before: <a href="http://mindyourdecisions.com/blog/2008/06/10/how-game-theory-solved-a-religious-mystery/">how game theory solved a religious mystery</a>.</p>
<p>I will not repeat the details of the algorithm here. The interesting part in this case is this method produces a exactly the same result of the bargaining solution.</p>
<p><b>Extension: my method to split cab rides</b></p>
<p>The problem leaves out an important detail in cab rides. Normally fares are quoted as some base cost, plus an amount that depends on mileage. Additional passengers usually cost extra too.</p>
<p>In the city of Chicago, the <a href="http://www.cityofchicago.org/city/en/depts/bacp/supp_info/passenger_information.html">cab fares</a> as of this writing are:</p>
<ul>
<li>The flag pull or initial charge is $2.25 for the first 1/9 mile.</li>
<li>The additional fraction of a mile charge is $.20 for each additional 1/9 mile.</li>
<li>Every 36 seconds of time elapsed is $.20.</li>
<li>The flat fee for the first additional passenger over 12 and under 65 is $1.00.</li>
<li>Each additional passenger after first passenger, over 12 and under 65 is .$50.</li>
</ul>
<p>For three passengers, the initial cost is $2.25 and the two extra passengers add $1.50 to the fare.</p>
<p>From my perspective, the base amount of $3.75 should be borne by all passengers: each person should pay $1.25 minimum to ride. (You can also add in other surcharges if there are any, like tolls or fuel surcharges)</p>
<p>From there, I would split the cab fare proportionally based on time in the cab.</p>
<p>So my method is two steps:</p>
<blockquote><p>
1. Split the initial and extra passenger charges equally<br />
2. Split the remaining charges proportionally
</p></blockquote>
<p>For instance, let&#8217;s say three people end up with a $12 fare with tip, and the passengers normally would have had $5, $10 and $15 cab rides.</p>
<p>The first step is to split up the initial and passenger charges. As explained above, that means each person pays $1.25 for a total of $3.75.</p>
<p>The second step is to split up the remaining $8.25 proportionally. Riding separately, the passengers would have racked up $30 in cab fares. Thus, the proportions are 5/30 for the first passenger ($1.38) , 10/30 for the second passenger ($2.75), and 15/30 for the third passenger ($4.12).</p>
<p>Therefore, the passengers pay $2.63, $4, and $5.38. To make it easier, people would probably round that to $3, $4, and $5.</p>
<p><b>How do you split cab rides?</b></p>
<p>Personally my cab splits are pretty easy. My friends and I usually take a cab to the same destination, and so we just split everything evenly.</p>
<p>The issue is when you are going to different destinations, as in the problem above. How would you split a cab fare when going to different destinations?</p>
]]></content:encoded>
			<wfw:commentRss>http://mindyourdecisions.com/blog/2011/11/01/how-to-split-a-cab-fare-fairly-using-game-theory/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

