Author |
Topic: Game theory problem (Read 2241 times) |
|
Benny
Uberpuzzler
Gender:
Posts: 1024
|
|
Game theory problem
« on: Jun 19th, 2008, 6:24pm » |
Quote Modify
|
This is an optimization problem common to game theory. You want to get the most out of your situation, so it's not enough just to say I'd make the call or I'd take the buck. You have to explain why you would want to do so. You are alone in a room which contains a one dollar coin, a pay-phone and a scrap of paper with a phone number on it. There are one million identical rooms in the building, each containing a single person. Every person can choose to do one of the following: A. Use the coin to call the number, if somebody older than them also calls then they win one million dollars (the younger caller wins the million). If nobody older than them calls, then they leave with nothing. B. You can take the $1 and leave, never to return. What do you do? ------------------------------------------- My answer: I would make the call. I do this based on the following assumptions. 1. At least some people will choose to make the call as well. 2. Out of everyone that does call, it is likely that I will not be the oldest. In particular, I assume that the probability 'k' (say) that I am not the oldest out of all the caller is greater than 1/1000000. Assumption 2 implies that the expected amount that I am to win if I make the call is E($) = k*1,000,000 + 0*(1-k) = k*1,000,000 which is greater than 1, since by 2, k is greater than 1/1000000. It follows that because E($) is greater than one that I should decide to make the call. Is this correct?
|
|
IP Logged |
If we want to understand our world — or how to change it — we must first understand the rational choices that shape it.
|
|
|
Obob
Senior Riddler
Gender:
Posts: 489
|
|
Re: Game theory problem
« Reply #1 on: Jun 19th, 2008, 8:10pm » |
Quote Modify
|
Since you have absolutely no information about the ages of the other people, there is no best strategy for this scenario. But since $1 matters to almost nobody, whereas $1,000,000 matters to almost everybody, virtually anybody in this situation would make the call. And only one person doesn't get the $1,000,000, so the probability that you win the $1,000,000 would be 99.9999% (maybe the wrong number of 9's) given that the ages are somewhat random, including your own age. The question would probably be more interesting if only the youngest person to call gets the $1,000,000. As is, far too much money is being paid out, to the point that anybody making the call expects to get the $1,000,000.
|
« Last Edit: Jun 19th, 2008, 8:11pm by Obob » |
IP Logged |
|
|
|
Frumious Bandersnatch
Newbie
Posts: 15
|
|
Re: Game theory problem
« Reply #2 on: Jun 19th, 2008, 8:12pm » |
Quote Modify
|
Just to make sure I understand the rules: Each person who calls the number gets a million dollars, except for the oldest person who calls, who wins nothing. If everybody calls, then whoever set this up is out nearly a trillion dollars: a million dollars to 999,999 callers. That's assuming they get to keep the million that went into the pay phones. If they have to turn that over to the phone company, they're out exactly a trillion dollars. Plus however much it cost them to set up the million-room building and install all those phones. But I digress. This being a game theory question, you've got to make a bunch of estimations. First, what are the odds that you're the oldest person in the building? If you're, say 100 years old, you probably don't want to call. If you're 15, you're in better shape there. Next, what's the relatively utility (or value, or whatever the proper game theory term is), of a.) winning nothing; b.) winning a dollar; and c.) winning a million dollars? For most people, the difference between c and b makes the difference between a and b negligible. Unless you're in particularly dire straits and really need that dollar for something right now, you're really not risking that much by making the call. Ultimately, it's almost always in your best interest to call the number.
|
|
IP Logged |
|
|
|
towr
wu::riddles Moderator Uberpuzzler
Some people are average, some are just mean.
Gender:
Posts: 13730
|
|
Re: Game theory problem
« Reply #3 on: Jun 20th, 2008, 12:15am » |
Quote Modify
|
Suppose everyone knows everyone's age. Then the oldest person won't call, because he knows he won't win. But then the second oldest person, knowing this, won't call because he wouldn't win. Etc. So with perfect knowledge, no one will call, if they value a dollar over nothing. With imperfect knowledge, it's harder to say. What's the probability of the oldest person calling? Given a million people, it's usually a safe bet you're not the oldest.
|
|
IP Logged |
Wikipedia, Google, Mathworld, Integer sequence DB
|
|
|
rmsgrey
Uberpuzzler
Gender:
Posts: 2873
|
|
Re: Game theory problem
« Reply #4 on: Jun 20th, 2008, 9:54am » |
Quote Modify
|
on Jun 20th, 2008, 12:15am, towr wrote:Suppose everyone knows everyone's age. Then the oldest person won't call, because he knows he won't win. But then the second oldest person, knowing this, won't call because he wouldn't win. Etc. So with perfect knowledge, no one will call, if they value a dollar over nothing. |
| Assuming everyone else is rational. With as few as a thousand people older than me, I'd be inclined to gamble on one or more of them having just picked up the phone and dialled the number before thinking through the rules...
|
|
IP Logged |
|
|
|
towr
wu::riddles Moderator Uberpuzzler
Some people are average, some are just mean.
Gender:
Posts: 13730
|
|
Re: Game theory problem
« Reply #5 on: Jun 20th, 2008, 2:02pm » |
Quote Modify
|
on Jun 20th, 2008, 9:54am, rmsgrey wrote:Assuming everyone else is rational. |
| Well, yes; it is game-theory after all. Reality doesn't factor into it
|
|
IP Logged |
Wikipedia, Google, Mathworld, Integer sequence DB
|
|
|
Grimbal
wu::riddles Moderator Uberpuzzler
Gender:
Posts: 7527
|
|
Re: Game theory problem
« Reply #6 on: Jun 21st, 2008, 9:56am » |
Quote Modify
|
As I know old people, even if they know for certain they are the oldest, many would just make the call to make someone happy. Anyway, when leaving the building along with the million-1 other people he could just mention around that he is the unlucky one, he lost one dollar, but that he is happy that everybody else won a million. Not asking for anything, of course.
|
|
IP Logged |
|
|
|
rmsgrey
Uberpuzzler
Gender:
Posts: 2873
|
|
Re: Game theory problem
« Reply #7 on: Jun 22nd, 2008, 6:50am » |
Quote Modify
|
on Jun 21st, 2008, 9:56am, Grimbal wrote:Anyway, when leaving the building along with the million-1 other people he could just mention around that he is the unlucky one, he lost one dollar, but that he is happy that everybody else won a million. Not asking for anything, of course. |
| Yeah, I'd be happy to chip in a dollar from my winnings...
|
|
IP Logged |
|
|
|
Benny
Uberpuzzler
Gender:
Posts: 1024
|
|
Re: Game theory problem
« Reply #10 on: Jun 26th, 2008, 11:40pm » |
Quote Modify
|
An economic stability problem: Suppose we have 3 farmers who depend on each other for growing their crop in the following way. 1) Famer A grows crop 'a' seeds, but needs the crop 'b' seeds which are grown by farmer B in order to grow his crop 'a' seeds. 2) Similarily farmer B needs the crop 'c' seeds in order for him to grow his crop 'b' seeds. 3) Farmer C needs the crop 'a' seeds in order for him to grow his crop 'c' seeds. Furthermore suppose that every time a farmer grows his seeds, he immediately sells all of his seeds to the other farmer who is in need of them. Each seed sells for exactly 1 dollar, and each farmer shall start out with exactly 50 dollars each. Also, with one seed of one kind, that seed can be used to grow 2 seeds of another kind. For example, if farmer C buys 50 crop 'a' seeds, then he will grow 100 crop 'c' seeds. Finally, all seeds are grown/sold once a year and are all sold at the same time. If in the first year the three farmers A,B and C produce (a,b,c) = (13,8,26) number of seeds, then will these three farmers be able to continue this business indefinitely? Under what initial year conditions (a,b,c) will three farmers with 50 dollars be able to indefinitely continue this kind of business?
|
|
IP Logged |
If we want to understand our world — or how to change it — we must first understand the rational choices that shape it.
|
|
|
towr
wu::riddles Moderator Uberpuzzler
Some people are average, some are just mean.
Gender:
Posts: 13730
|
|
Re: Game theory problem
« Reply #11 on: Jun 27th, 2008, 12:08am » |
Quote Modify
|
I wonder what strange universe this takes place in, where one type of seed yield another type of seed. One question, can they sell to anyone other than eachother?
|
|
IP Logged |
Wikipedia, Google, Mathworld, Integer sequence DB
|
|
|
Grimbal
wu::riddles Moderator Uberpuzzler
Gender:
Posts: 7527
|
|
Re: Game theory problem
« Reply #12 on: Jun 27th, 2008, 7:10am » |
Quote Modify
|
Can they sell on credit? Or just exchange seeds? If A, B and C have a million seeds, A could buy B's seeds on credit, B could buy C's seeds trading in A's debt and C could buy A's seeds canceling A's debt in exchange. If they need to pay cash, the money will become a problem. If there are fixed periods where you grow seeds, at the end of which all sales are made simultaneously, then the maximum sale is 150 seeds, and the maximum production is 300 seeds per period. But yes, they can go on growing a few seeds.
|
|
IP Logged |
|
|
|
Benny
Uberpuzzler
Gender:
Posts: 1024
|
|
Re: Game theory problem
« Reply #13 on: Jun 27th, 2008, 10:17am » |
Quote Modify
|
Quote: I wonder what strange universe this takes place in, where one type of seed yield another type of seed. Can they sell to anyone other than each other? Can they sell on credit? Or just exchange seeds? |
| For this question no, they cannot. I'm keeping the restrictions high so as to easily determine when they can or cannot indefinitely continue to do business with each other (eg for what initial values (a,b,c) is this possible). After we get through this, we can loosen up some of the variables to see what may happen otherwise. Another interesting question is that when is it possible for one or two of the farmers to end with a net profit when such a proposed business cannot be continued?
|
|
IP Logged |
If we want to understand our world — or how to change it — we must first understand the rational choices that shape it.
|
|
|
Benny
Uberpuzzler
Gender:
Posts: 1024
|
|
Re: Game theory problem
« Reply #14 on: Jun 28th, 2008, 4:01pm » |
Quote Modify
|
Nash equilibrium is a solution concept of a game involving two or more players, in which no player has anything to gain by changing only his or her own strategy unilaterally. If each player has chosen a strategy and no player can benefit by changing his or her strategy while the other players keep theirs unchanged, then the current set of strategy choices and the corresponding payoffs constitute a Nash equilibrium. For example, if A and B are two people involved in a personal relationship, A and B are in Nash equilibrium if A is making the best decision she can, taking into account B’s decision, and B is making the best decision he can, taking into account A’s decision.
|
|
IP Logged |
If we want to understand our world — or how to change it — we must first understand the rational choices that shape it.
|
|
|
Grimbal
wu::riddles Moderator Uberpuzzler
Gender:
Posts: 7527
|
|
Re: Game theory problem
« Reply #15 on: Jun 29th, 2008, 9:53am » |
Quote Modify
|
on Jun 26th, 2008, 11:40pm, BenVitale wrote:Furthermore suppose that every time a farmer grows his seeds, he immediately sells all of his seeds to the other farmer who is in need of them. |
| It seems sales are limited by the money the potential buyer has. Does a farmer have the choice to sell or not? Does a farmer have the choice to buy or not? And since the total money present is 150 dollars, is the object of the game to stop trading at the best moment to get out with the most money? It seems to me that nobody would buy a seed if he still has some to sell. So nobody would buy the first seed.
|
|
IP Logged |
|
|
|
towr
wu::riddles Moderator Uberpuzzler
Some people are average, some are just mean.
Gender:
Posts: 13730
|
|
Re: Game theory problem
« Reply #17 on: Jul 11th, 2008, 3:13pm » |
Quote Modify
|
on Jul 11th, 2008, 2:42pm, BenVitale wrote:Here's an article -- a tribute to 2 things I love : Mathematics and playing video/board (chess) games: |
| I don't really see where video/board games come in in that article. Quote:Game theory could save the world |
| The tendencies in populations that might help to safe the world don't seem to depend much on game theory either; it just predicts they're there. It's like saying nature programs make lions hunt antelopes. Well maybe they do, I've never seen lions do it outside of those programs.
|
|
IP Logged |
Wikipedia, Google, Mathworld, Integer sequence DB
|
|
|
Benny
Uberpuzzler
Gender:
Posts: 1024
|
|
Re: Game theory problem
« Reply #18 on: Jul 12th, 2008, 3:04pm » |
Quote Modify
|
Towr wrote: Quote: I don't really see where video/board games come in in that article. |
| Perhaps not directly, I play chess online, and I play Blackjack and Poker. I started these games long before I knew of Game Theory. These games motivated me to study game theory. I have 2 new questions/observations in game theory: (1) Jesus Christ's turn the other cheek vs. Tit for tat strategy : Jesus proposed turning the other cheek. That doesn't work. It has been shown experimentally that his rule is a weak rule for any society since the beginning of civilization. Cheating and lying is part of human behavior. Tit for tat is a more sensible strategy. Our system of law attempts to apply “tit for tat” combined with elements of rehabilitation. (2) Decision making and Nash equilibrium: According to classical game theory, decision makers invariably act in their individual self-interest, leading to "Nash equilibrium". But psychologists have shown that, in some circumstances, people seem to act not in their individual self-interest but in the interest of their families, companies, departments, or the religious, ethnic, or national groups with which they identify themselves.
|
|
IP Logged |
If we want to understand our world — or how to change it — we must first understand the rational choices that shape it.
|
|
|
towr
wu::riddles Moderator Uberpuzzler
Some people are average, some are just mean.
Gender:
Posts: 13730
|
|
Re: Game theory problem
« Reply #19 on: Jul 13th, 2008, 7:38am » |
Quote Modify
|
on Jul 12th, 2008, 3:04pm, BenVitale wrote:I have 2 new questions/observations in game theory: (1) Jesus Christ's turn the other cheek vs. Tit for tat strategy : Jesus proposed turning the other cheek. That doesn't work. |
| One theory goes he meant it quite literally, and for the reason that it's awkward to strike the other cheek. So really, it's an act of defiance, rather than meekness. Quote:It has been shown experimentally that his rule is a weak rule for any society since the beginning of civilization. Cheating and lying is part of human behavior. Tit for tat is a more sensible strategy. Our system of law attempts to apply “tit for tat” combined with elements of rehabilitation. |
| Law is not based on tit for tat. If someone robs my house or murders my family, it is not condoned I do the same to him. Tit-for-Tat is maladapted for a civilized society. Society's solution is police, rather than indulge in (personal) revenge. Also consider the way the west looks at the Sharia laws, like cutting off the hands of thieves. That is in a sense a very tit-for-tat kind of solution, and prevents them from ever laying their hands on your goods again. But it isn't a very good solution for a modern society. The applicability of "rules" depends on their context. Now, personally, I don't know in what experiment they "showed" that "turning the other cheek" is a weak rule. It certainly wouldn't work when, say, a lion is mauling you, no. But it beats perpetuating an infinite cycle of hitting eachother. Moving on is sometimes better that getting stuck in a cycle of revenge and obstinacy (because it has also been shown some people do not take just punishment lying down). Quote:But psychologists have shown that, in some circumstances, people seem to act not in their individual self-interest but in the interest of their families, companies, departments, or the religious, ethnic, or national groups with which they identify themselves. |
| Yes, humans are not abstract purely rational (in terms of game theory) agents. You could try reading "Artificial morality" (Peter Danielson) for a different approach to rational decision making. The thing is, game theory is short sighted. A game theoretic agent cannot make unconditional commitments. You cannot trust them, they flipflop when it suits their immediate interest. And for that reason you can only cooperate with them in a very limited fashion. If I help a GT agent bring in the harvest, I can not expect him to return the favour. But if I had a friend, one I could trust, then we could benefit from doing the harvest together, on both our fields. Heck, we can band together and beat the sh*t out of GT agents, because they won't be able to organize themselves; each one would be better of doing a step backwards when the fight starts. GT completely ignores the reality of our genetic heritage. Evolution doesn't particularly care about the individuals interests, what matter is that genes (and proteins) reach the next generation. If bees as a species do better when workers kill themselves stinging invaders of the hive, then that's what they do. Now, you can't argue that it's in the individual bee's best interest to die; dead organisms no longer have interests. But her genes have a better chance of being exhibited in the next generation, because she protected her sisters that share her genes. And aside from this type of kin selection you also have group selection (overall nice groups may outcompete egoistic groups); sexual selection (affording kindness, dedication, etc shows fitness and gets you laid); (communal) reciprocal altruism (build your reputation by helping the community so it will help you in return); etc.
|
|
IP Logged |
Wikipedia, Google, Mathworld, Integer sequence DB
|
|
|
ThudnBlunder
wu::riddles Moderator Uberpuzzler
The dewdrop slides into the shining Sea
Gender:
Posts: 4489
|
|
Re: Game theory problem
« Reply #20 on: Jul 13th, 2008, 8:06am » |
Quote Modify
|
on Jul 12th, 2008, 3:04pm, BenVitale wrote:Towr wrote: Tit for tat is a more sensible strategy. Our system of law attempts to apply “tit for tat” combined with elements of rehabilitation. |
| You may find this interesting.
|
|
IP Logged |
THE MEEK SHALL INHERIT THE EARTH.....................................................................er, if that's all right with the rest of you.
|
|
|
Benny
Uberpuzzler
Gender:
Posts: 1024
|
|
Re: Game theory problem
« Reply #21 on: Jul 13th, 2008, 12:12pm » |
Quote Modify
|
Towr and ThudanBlunder, Thanks for your insights. Speaking of the Prisoners' dilemma, I have a linked document that puzzles me: http://relationary.wordpress.com/2008/02/16/abandoning-the-prisoners-dil emma/ Does it make sense to you ? I have trouble understanding the Transaction Triangle game which has 3 roles.
|
|
IP Logged |
If we want to understand our world — or how to change it — we must first understand the rational choices that shape it.
|
|
|
Benny
Uberpuzzler
Gender:
Posts: 1024
|
|
Re: Game theory problem
« Reply #22 on: Jul 17th, 2008, 3:10pm » |
Quote Modify
|
Why Things Cost $19.95 What are the psychological "rules" of bartering? Is life an auction? http://www.sciam.com/article.cfm?id=why-things-cost-1995 Quote: ... if we see a $20 toaster, we might wonder whether it is worth $19 or $18 or $21; we are thinking in round numbers. But if the starting point is $19.95, the mental measuring stick would look different. We might still think it is wrongly priced, but in our minds we are thinking about nickels and dimes instead of dollars, so a fair comeback might be $19.75 or $19.50. |
| I found interesting comments at the bottom of the document, Quote: Why are things marked as $19.95 in the US, but as £19.99 in the UK? Does that 4 cents/pence really make a difference? |
| Quote: I've heard two alternative explanations for the $19.95 phenomenon. One is that sales taxes were based on whole dollar amounts (for ease of calculating percentiles), so the merchants were getting most of that extra dollar ; the other is that $9.95 looks smaller (fewer digits) than $10.00, and because we read from left to right, we see $19.95 as less than $20.00. I've also read that we've become so ingrained to see 9s as indicating a mark-down in price that sales of a product actually increased when the price was changed from 96c to 99c. I can't explain the 95c vs. 99p dichotomy, but in Australia, 1c and 2c pieces were abolished and 5c is the smallest coin available - yet many book distributors here have just increased prices from (for example) $32.95 to $32.99. This is rounded up by cash registers to $33, saving the need to give change, but it still has the psychological impact of the 9s. (In Australia and the UK, sales taxes are already factored into retail prices.) |
|
|
|
IP Logged |
If we want to understand our world — or how to change it — we must first understand the rational choices that shape it.
|
|
|
Benny
Uberpuzzler
Gender:
Posts: 1024
|
|
Re: Game theory problem
« Reply #23 on: Jul 21st, 2008, 11:14pm » |
Quote Modify
|
Topic: Game Theory with applications in warfare. I watched in the films, countless times, how European and even American rival armies used to engage in battle one to three centuries ago. They used to form a long and compact wall of aligned soldiers facing also a long wall of aligned enemy soldiers from a given distance in an open and almost flat field and then without any physical protection to their bodies they aimed their muskets or rifles against the soldiers of the enemy’s line and after a signal of their commanders they started to shoot each other ! With such compact line of people there was almost no way that bullets could miss. In ancient times, the greek phalanx formation was used. The British used the line formation against Napoleon to defeat his forces. Napoleon used the same tactic for too long, he used the tactic of attacking in columns. But why they used a strategy that excessively exposed their soldiers to bullets ( even from cannons ) and nothing to shield or protect them ?
|
|
IP Logged |
If we want to understand our world — or how to change it — we must first understand the rational choices that shape it.
|
|
|
Grimbal
wu::riddles Moderator Uberpuzzler
Gender:
Posts: 7527
|
|
Re: Game theory problem
« Reply #24 on: Jul 22nd, 2008, 1:58am » |
Quote Modify
|
That would make sense if the range of your guns is longer than the range of your enemy's guns.
|
|
IP Logged |
|
|
|
|