Path: csiph.com!aioe.org!.POSTED!not-for-mail From: Jim Burns Newsgroups: sci.math Subject: Re: Amusing very tough problem on probability. Date: Tue, 5 Apr 2016 21:13:08 -0400 Organization: Aioe.org NNTP Server Lines: 125 Message-ID: <570462A4.6070505@att.net> References: <628be671b4192d87d8f53e1c3d962fe0@dizum.com> NNTP-Posting-Host: N121Y696C2mN3lny5Vgimw.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com sci.math:331352 On 4/5/2016 12:47 AM, quasi wrote: >>>>> Nomen Nescio wrote: >>>>>> >>>>>> Someone asked me this one on a plane and I can't get it >>>>>> out of my head. >>>>>> A and B are smart and know the rules of this game. >>>>>> They are seated in different rooms and never communicate. >>>>>> They are the sole competitors for a big prize. >>>>>> The winner will be the one who "has" the larger percentage. >>>>>> >>>>>> A neutral, fair person P generates four random percentages, >>>>>> real numbers from 0% to 100%. >>>>>> There's no requirement for any percentage to be an integer. >>>>>> >>>>>> P gives A the first of these numbers, and B the second. >>>>>> Neither A nor B is aware of what number the other one has got, >>>>>> only of the number they got given themselves. >>>>>> >>>>>> P now separately asks A and B whether they would like to >>>>>> change the number they've been given, on the basis that if >>>>>> they opt to change, they then MUST stick with the new >>>>>> number they get given and their original number will be >>>>>> discarded. >>>>>> >>>>>> Each can only exercise this choice at most once. They have >>>>>> time to think about it. >>>>>> >>>>>> Whoever (if anyone) first chooses to change gets the third >>>>>> random number, and if the other player then also chooses to >>>>>> change, they get given the fourth number. >>>>>> >>>>>> During the game, neither A nor B have any idea whether the >>>>>> other has already exercised the option, or is going to >>>>>> exercise it. >>>>>> >>>>>> When each of A and B has either opted to change or >>>>>> (separately) declared to P they are sticking, the game is >>>>>> over. >>>>>> >>>>>> P awards the prize to the one with the bigger number. >>>>>> >>>>>> What is the Equilibrium (Nash) Strategy for this game? > The optimal cutoff, expressed as a fraction between 0 and 1, is > exactly (sqrt(5) - 1)/2, or approximately 61.8%. If the initial > percent is below the cutoff, change; if above, stay; at the > exact cutoff, it doesn't matter. I agree. If player A does not draw a new random number, then the distribution that player B needs to plan on is A0(x) A0(x) = 1 , 0 < x < 1 If play A uses the strategy "Below a, draw. Above a, keep" then the distribution would be A1(x) (for some a ) A1(x) = { a , 0 < x < a { 1 + a , a < x < 1 If player B has decided to draw, the distribution they'll expect is B0(y) B0(y) = 1 , 0 < y 1 and the probability of B winning after drawing, P(B0>A1), is P(B0>A1) = INT dy dx B0(y)*A1(x) where 0 < x < y < 1 = INT_(0...1) dy INT_(0...y) dx (1) A1(x) P(B0>A1) = ( 1 - a + a^2 )/2 This P(B0>A1) is the probability that player B needs to beat in order choose to keep. By this I mean: B gets dealt a random number Y. A gets dealt a random number, draws or keeps, and ends up with a random number X with a distribution A1(x) The probability that X < Y is P(Y>A1). If B draws a new number, they'll win with prob P(B0>A1). Therefore, B's strategy is, if P(Y>A1) < P(B0>A1), draw. What is P(Y>A1) ? P(Y>A1) = INT_(0...Y) dx A1(x) P(Y>A1) = { a*Y , 0 < Y < a { (1 + a)*Y - a , a < Y < 1 I had to graph this out to get it straight, but the best strategy for player B is to draw if Y is below b(a) and otherwise keep. B's best cutoff b(a) depends upon A's cutoff a . b(a) = { (1 + a + a^2)/(2(1 + a)) , a < phi { (1 - a + a*2)/(2*a) , a > phi where phi = (sqrt(5) - 1)/2 ~ 0.618 b(a) peaks at a = phi, where b(phi) = phi and we have the Nash equilibrium, as quasi said. b(a) has a corner at a = phi , continuous but not differentiable, and curves down to 1/2 at 0 and 1 , and never leaves [ 1/2, phi ] . If we know what cutoff value a the player A is using, we can do better. Suppose that quasi convinces me that he can do no better than with a = 1/2 . Then I should use b(1/2) = 7/12 ~ 0.583 Of course, quasi could have conned me into thinking he was using 1/2, in order to get me to use b(1/2) = 7/12 instead of phi, so that he could use b(b(1/2)) and do a bit better than phi. I'm not technically filled in here, but it looks to me like a stable Nash equilibrium. These clever, clever considerations all seem to converge on phi . Every sequence a, b(a), b(b(a)), b(b(b(a))), ... appears to converge to phi .