Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.math > #331291 > unrolled thread
| Started by | Nomen Nescio <nobody@dizum.com> |
|---|---|
| First post | 2016-04-05 02:14 +0200 |
| Last post | 2016-04-13 15:47 -0500 |
| Articles | 20 on this page of 31 — 10 participants |
Back to article view | Back to sci.math
Amusing very tough problem on probability. Nomen Nescio <nobody@dizum.com> - 2016-04-05 02:14 +0200
Re: Amusing very tough problem on probability. quasi <quasi@null.set> - 2016-04-04 21:30 -0500
Re: Amusing very tough problem on probability. "Mike Terry" <news.dead.person.stones@darjeeling.plus.com> - 2016-04-05 02:52 +0100
Re: Amusing very tough problem on probability. quasi <quasi@null.set> - 2016-04-04 22:07 -0500
Re: Amusing very tough problem on probability. quasi <quasi@null.set> - 2016-04-04 22:31 -0500
Re: Amusing very tough problem on probability. "Ross A. Finlayson" <ross.finlayson@gmail.com> - 2016-04-04 20:06 -0700
Re: Amusing very tough problem on probability. "Ross A. Finlayson" <ross.finlayson@gmail.com> - 2016-04-04 22:15 -0700
Re: Amusing very tough problem on probability. quasi <quasi@null.set> - 2016-04-04 23:47 -0500
Re: Amusing very tough problem on probability. Tommy <tjensen@knu.ac.kr> - 2016-04-05 03:46 -0500
Re: Amusing very tough problem on probability. quasi <quasi@null.set> - 2016-04-05 05:37 -0500
Re: Amusing very tough problem on probability. timmy1729 <tommy1729@gmail.com> - 2016-04-08 04:24 -0700
Re: Amusing very tough problem on probability. quasi <quasi@null.set> - 2016-04-08 14:54 -0500
Re: Amusing very tough problem on probability. timmy1729 <tommy1729@gmail.com> - 2016-04-08 15:29 -0700
Re: Amusing very tough problem on probability. quasi <quasi@null.set> - 2016-04-08 19:13 -0500
Re: Amusing very tough problem on probability. quasi <quasi@null.set> - 2016-04-05 05:46 -0500
Re: Amusing very tough problem on probability. Jamie M <jmorken@shaw.ca> - 2016-04-05 08:05 -0700
Re: Amusing very tough problem on probability. quasi <quasi@null.set> - 2016-04-08 19:53 -0500
Re: Amusing very tough problem on probability. Tommy <tjensen@knu.ac.kr> - 2016-04-09 02:56 -0500
Re: Amusing very tough problem on probability. quasi <quasi@null.set> - 2016-04-09 16:12 -0500
Re: Amusing very tough problem on probability. Jim Burns <james.g.burns@att.net> - 2016-04-05 21:13 -0400
Re: Amusing very tough problem on probability. "Ross A. Finlayson" <ross.finlayson@gmail.com> - 2016-04-05 22:30 -0700
Re: Amusing very tough problem on probability. Herman Rubin <hrubin@skew.stat.purdue.edu> - 2016-04-06 16:23 +0000
Re: Amusing very tough problem on probability. Herman Rubin <hrubin@skew.stat.purdue.edu> - 2016-04-06 16:18 +0000
Re: Amusing very tough problem on probability. "danheyman@yahoo.com" <danheyman@yahoo.com> - 2016-04-13 12:28 -0700
Re: Amusing very tough problem on probability. timmy1729 <tommy1729@gmail.com> - 2016-04-13 12:35 -0700
Re: Amusing very tough problem on probability. Jim Burns <james.g.burns@att.net> - 2016-04-13 16:00 -0400
Re: Amusing very tough problem on probability. quasi <quasi@null.set> - 2016-04-13 17:08 -0500
Re: Amusing very tough problem on probability. timmy1729 <tommy1729@gmail.com> - 2016-04-13 14:19 -0700
Re: Amusing very tough problem on probability. quasi <quasi@null.set> - 2016-04-13 18:21 -0500
Re: Amusing very tough problem on probability. quasi <quasi@null.set> - 2016-04-13 16:17 -0500
Re: Amusing very tough problem on probability. quasi <quasi@null.set> - 2016-04-13 15:47 -0500
Page 1 of 2 [1] 2 Next page →
| From | Nomen Nescio <nobody@dizum.com> |
|---|---|
| Date | 2016-04-05 02:14 +0200 |
| Subject | Amusing very tough problem on probability. |
| Message-ID | <628be671b4192d87d8f53e1c3d962fe0@dizum.com> |
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? I think I worked it out (the hinge isn't 50% or 62.5%) but I am not all that sure.
[toc] | [next] | [standalone]
| From | quasi <quasi@null.set> |
|---|---|
| Date | 2016-04-04 21:30 -0500 |
| Message-ID | <ge86gbtgjb55glo8veefqhsceai0hfkp5l@4ax.com> |
| In reply to | #331291 |
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? As far as I can see, there are no tradeoffs. Each player just tries to maximize their own value. >I think I worked it out (the hinge isn't 50% or 62.5%) >but I am not all that sure. The cutoff is 50%. If you have less than that, change. If you have more than that, don't change. If you have exactly 50%, it doesn't matter. It's that simple. Perhaps you misstated the problem? quasi
[toc] | [prev] | [next] | [standalone]
| From | "Mike Terry" <news.dead.person.stones@darjeeling.plus.com> |
|---|---|
| Date | 2016-04-05 02:52 +0100 |
| Message-ID | <bYKdnRb4YNDYh57KnZ2dnUU78eHNnZ2d@brightview.co.uk> |
| In reply to | #331295 |
"quasi" <quasi@null.set> wrote in message news:ge86gbtgjb55glo8veefqhsceai0hfkp5l@4ax.com... > 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? > > As far as I can see, there are no tradeoffs. Each player just > tries to maximize their own value. > > >I think I worked it out (the hinge isn't 50% or 62.5%) > >but I am not all that sure. > > The cutoff is 50%. > > If you have less than that, change. > > If you have more than that, don't change. > > If you have exactly 50%, it doesn't matter. > > It's that simple. > > Perhaps you misstated the problem? > > quasi but... if that's the best strategy and you play it, then your expected final number would be greater than 50. So if I'm playing you and I have 51, wouldn't I increase my chances of winning by swapping, even though my expected final number might go down? (I haven't worked out any probabilities yet, just thinking - it's the chance of winning that needs to be maximised, not the final number, so perhaps it's more complicated than you suggest?) Mike.
[toc] | [prev] | [next] | [standalone]
| From | quasi <quasi@null.set> |
|---|---|
| Date | 2016-04-04 22:07 -0500 |
| Message-ID | <vca6gb9o9l6gscnrkvq37pd7gs93t12b4g@4ax.com> |
| In reply to | #331296 |
Mike Terry wrote: >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? >> >>As far as I can see, there are no tradeoffs. Each player just >>tries to maximize their own value. >> >>>I think I worked it out (the hinge isn't 50% or 62.5%) >>>but I am not all that sure. >> >>The cutoff is 50%. >> >>If you have less than that, change. >> >>If you have more than that, don't change. >> >>If you have exactly 50%, it doesn't matter. >> >>It's that simple. >> >>Perhaps you misstated the problem? > >but... if that's the best strategy and you play it, then your >expected final number would be greater than 50. So if I'm >playing you and I have 51, wouldn't I increase my chances of >winning by swapping, even though my expected final number >might go down? (I haven't worked out any probabilities yet, >just thinking - it's the chance of winning that needs to >be maximised, not the final number, so perhaps it's more >complicated than you suggest?) Ah, I see. Your 51% example make the issue clear. So I guess it's not that simple. I'll think about it. Thanks for illustrating why a 50% cutoff strategy fails to be optimal. quasi
[toc] | [prev] | [next] | [standalone]
| From | quasi <quasi@null.set> |
|---|---|
| Date | 2016-04-04 22:31 -0500 |
| Message-ID | <gab6gbdutgichlkggps42ea5h0hshsb7ba@4ax.com> |
| In reply to | #331297 |
quasi wrote: >Mike Terry wrote: >>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? >>> >>>As far as I can see, there are no tradeoffs. Each player just >>>tries to maximize their own value. >>> >>>>I think I worked it out (the hinge isn't 50% or 62.5%) >>>>but I am not all that sure. >>> >>>The cutoff is 50%. >>> >>>If you have less than that, change. >>> >>>If you have more than that, don't change. >>> >>>If you have exactly 50%, it doesn't matter. >>> >>>It's that simple. >>> >>>Perhaps you misstated the problem? >> >>but... if that's the best strategy and you play it, then your >>expected final number would be greater than 50. So if I'm >>playing you and I have 51, wouldn't I increase my chances of >>winning by swapping, even though my expected final number >>might go down? (I haven't worked out any probabilities yet, >>just thinking - it's the chance of winning that needs to >>be maximised, not the final number, so perhaps it's more >>complicated than you suggest?) > >Ah, I see. > >Your 51% example make the issue clear. > >So I guess it's not that simple. > >I'll think about it. > >Thanks for illustrating why a 50% cutoff strategy fails to >be optimal. Wait a minute! You _can't_ beat a 50% cutoff strategy. If A chooses a 50% cutoff strategy, what possible strategy can B devise to have more than a 1/2 chance of winning? For example ... Suppose A uses a 50% cutoff strategy and B _knows_ it. Now suppose, for the sake of argument, that B uses a 51% cutoff strategy, i.e., B chooses to change given an initial value of 51% or less, and otherwise doesn't change. Then, with those opposing strategies, A's probability of winning is now slightly more than 1/2. So, I'm back to my original claim. The 50% cutoff strategy the _only_ rational optimal strategy. Anything else is just superstition. quasi
[toc] | [prev] | [next] | [standalone]
| From | "Ross A. Finlayson" <ross.finlayson@gmail.com> |
|---|---|
| Date | 2016-04-04 20:06 -0700 |
| Message-ID | <735af1d7-77e1-414b-8c8b-6a81f2287c7c@googlegroups.com> |
| In reply to | #331302 |
On Monday, April 4, 2016 at 7:33:00 PM UTC-7, quasi wrote: > quasi wrote: > >Mike Terry wrote: > >>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? > >>> > >>>As far as I can see, there are no tradeoffs. Each player just > >>>tries to maximize their own value. > >>> > >>>>I think I worked it out (the hinge isn't 50% or 62.5%) > >>>>but I am not all that sure. > >>> > >>>The cutoff is 50%. > >>> > >>>If you have less than that, change. > >>> > >>>If you have more than that, don't change. > >>> > >>>If you have exactly 50%, it doesn't matter. > >>> > >>>It's that simple. > >>> > >>>Perhaps you misstated the problem? > >> > >>but... if that's the best strategy and you play it, then your > >>expected final number would be greater than 50. So if I'm > >>playing you and I have 51, wouldn't I increase my chances of > >>winning by swapping, even though my expected final number > >>might go down? (I haven't worked out any probabilities yet, > >>just thinking - it's the chance of winning that needs to > >>be maximised, not the final number, so perhaps it's more > >>complicated than you suggest?) > > > >Ah, I see. > > > >Your 51% example make the issue clear. > > > >So I guess it's not that simple. > > > >I'll think about it. > > > >Thanks for illustrating why a 50% cutoff strategy fails to > >be optimal. > > Wait a minute! > > You _can't_ beat a 50% cutoff strategy. > > If A chooses a 50% cutoff strategy, what possible strategy > can B devise to have more than a 1/2 chance of winning? > > For example ... > > Suppose A uses a 50% cutoff strategy and B _knows_ it. Now > suppose, for the sake of argument, that B uses a 51% cutoff > strategy, i.e., B chooses to change given an initial value of > 51% or less, and otherwise doesn't change. Then, with those > opposing strategies, A's probability of winning is now > slightly more than 1/2. > > So, I'm back to my original claim. The 50% cutoff strategy > the _only_ rational optimal strategy. Anything else is just > superstition. > > quasi (right, i.i.d.) Heh, maybe they believe karma will pay off in four samples, which is a bit of wishful thinking for instant gratification, because it can take a million generations to reach enlightenment. That is, the samples are independent and identically distributed, and, simply, in such a small sample set not necessarily clear of the perception of bias (though they're also unbiased). Here, A and B have to decide at the same time, though again, over enough trials it doesn't matter as there's no conditional expectation of A_2 given A_1. It's just that if B sees B_1 is a loser, he could switch, but, he's still just as likely to be a loser. After all, B can't go back.
[toc] | [prev] | [next] | [standalone]
| From | "Ross A. Finlayson" <ross.finlayson@gmail.com> |
|---|---|
| Date | 2016-04-04 22:15 -0700 |
| Message-ID | <914def5a-a95e-4475-a91c-942d2841b74d@googlegroups.com> |
| In reply to | #331305 |
On Monday, April 4, 2016 at 8:06:23 PM UTC-7, Ross A. Finlayson wrote: > On Monday, April 4, 2016 at 7:33:00 PM UTC-7, quasi wrote: > > quasi wrote: > > >Mike Terry wrote: > > >>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? > > >>> > > >>>As far as I can see, there are no tradeoffs. Each player just > > >>>tries to maximize their own value. > > >>> > > >>>>I think I worked it out (the hinge isn't 50% or 62.5%) > > >>>>but I am not all that sure. > > >>> > > >>>The cutoff is 50%. > > >>> > > >>>If you have less than that, change. > > >>> > > >>>If you have more than that, don't change. > > >>> > > >>>If you have exactly 50%, it doesn't matter. > > >>> > > >>>It's that simple. > > >>> > > >>>Perhaps you misstated the problem? > > >> > > >>but... if that's the best strategy and you play it, then your > > >>expected final number would be greater than 50. So if I'm > > >>playing you and I have 51, wouldn't I increase my chances of > > >>winning by swapping, even though my expected final number > > >>might go down? (I haven't worked out any probabilities yet, > > >>just thinking - it's the chance of winning that needs to > > >>be maximised, not the final number, so perhaps it's more > > >>complicated than you suggest?) > > > > > >Ah, I see. > > > > > >Your 51% example make the issue clear. > > > > > >So I guess it's not that simple. > > > > > >I'll think about it. > > > > > >Thanks for illustrating why a 50% cutoff strategy fails to > > >be optimal. > > > > Wait a minute! > > > > You _can't_ beat a 50% cutoff strategy. > > > > If A chooses a 50% cutoff strategy, what possible strategy > > can B devise to have more than a 1/2 chance of winning? > > > > For example ... > > > > Suppose A uses a 50% cutoff strategy and B _knows_ it. Now > > suppose, for the sake of argument, that B uses a 51% cutoff > > strategy, i.e., B chooses to change given an initial value of > > 51% or less, and otherwise doesn't change. Then, with those > > opposing strategies, A's probability of winning is now > > slightly more than 1/2. > > > > So, I'm back to my original claim. The 50% cutoff strategy > > the _only_ rational optimal strategy. Anything else is just > > superstition. > > > > quasi > > (right, i.i.d.) > > Heh, maybe they believe karma will > pay off in four samples, which is > a bit of wishful thinking for instant > gratification, because it can take > a million generations to reach > enlightenment. > > That is, the samples are independent > and identically distributed, and, > simply, in such a small sample set > not necessarily clear of the perception > of bias (though they're also unbiased). > > Here, A and B have to decide at the same > time, though again, over enough trials > it doesn't matter as there's no conditional > expectation of A_2 given A_1. It's just > that if B sees B_1 is a loser, he could > switch, but, he's still just as likely to > be a loser. > > After all, B can't go back. It's funny, and I haven't really seen it addressed this way, that U_[0,1] the uniform distribution of [0,1] has an expectation of being above or below its average (not its mean). In a sequence of samples, that there has been a sample above or below the mean does increase in likelihood. Still, there is absolutely no correlation in likelihood from sample to sample, only of a collection of them. The probability of the value being 0.5 and the probability of the value being <0.5 or >0.5 are different things. The closer a region of the support space is to the average, in the sense of the more likely that it is that it includes the average, of the distribution of all the regions, the expected value is 0.5 even though there is no central moment. Now those are basically facts that aren't causal yet so much as descriptive, but, wagerers don't have time to keep playing this coin-flip game unless they are just out to martingale small-timers (and don't mind losing half the time).
[toc] | [prev] | [next] | [standalone]
| From | quasi <quasi@null.set> |
|---|---|
| Date | 2016-04-04 23:47 -0500 |
| Message-ID | <uvf6gb93iha3bta13j86cq22utv0a5qbdt@4ax.com> |
| In reply to | #331302 |
quasi wrote: >quasi wrote: >>Mike Terry wrote: >>>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? >>>> >>>>As far as I can see, there are no tradeoffs. Each player just >>>>tries to maximize their own value. >>>> >>>>>I think I worked it out (the hinge isn't 50% or 62.5%) >>>>>but I am not all that sure. >>>> >>>>The cutoff is 50%. >>>> >>>>If you have less than that, change. >>>> >>>>If you have more than that, don't change. >>>> >>>>If you have exactly 50%, it doesn't matter. >>>> >>>>It's that simple. >>>> >>>>Perhaps you misstated the problem? >>> >>>but... if that's the best strategy and you play it, then your >>>expected final number would be greater than 50. So if I'm >>>playing you and I have 51, wouldn't I increase my chances of >>>winning by swapping, even though my expected final number >>>might go down? (I haven't worked out any probabilities yet, >>>just thinking - it's the chance of winning that needs to >>>be maximised, not the final number, so perhaps it's more >>>complicated than you suggest?) >> >>Ah, I see. >> >>Your 51% example make the issue clear. >> >>So I guess it's not that simple. >> >>I'll think about it. >> >>Thanks for illustrating why a 50% cutoff strategy fails to >>be optimal. > >Wait a minute! > >You _can't_ beat a 50% cutoff strategy. > >If A chooses a 50% cutoff strategy, what possible strategy >can B devise to have more than a 1/2 chance of winning? > >For example ... > >Suppose A uses a 50% cutoff strategy and B _knows_ it. Now >suppose, for the sake of argument, that B uses a 51% cutoff >strategy, i.e., B chooses to change given an initial value of >51% or less, and otherwise doesn't change. Then, with those >opposing strategies, A's probability of winning is now >slightly more than 1/2. > >So, I'm back to my original claim. The 50% cutoff strategy >the _only_ rational optimal strategy. Anything else is just >superstition. Ok, Mike, you win! I came to my senses. To check it, I computed 50% cutoff vs 51% cutoff. As you intuited, 51% wins against 50% (by a slight margin). Based on how that worked out, I solved the original problem. 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. quasi
[toc] | [prev] | [next] | [standalone]
| From | Tommy <tjensen@knu.ac.kr> |
|---|---|
| Date | 2016-04-05 03:46 -0500 |
| Message-ID | <W4ydnfm9q9fU5p7KnZ2dnUU7-aGdnZ2d@giganews.com> |
| In reply to | #331307 |
On Mon, 04 Apr 2016 23:47:47 -0500, quasi wrote:
> quasi wrote:
>
>>So, I'm back to my original claim. The 50% cutoff strategy the _only_
>>rational optimal strategy. Anything else is just superstition.
>
> I came to my senses.
>
> To check it, I computed 50% cutoff vs 51% cutoff.
>
> As you intuited, 51% wins against 50% (by a slight margin).
>
> Based on how that worked out, I solved the original problem.
>
> 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.
The superstition bit is funny though.
The cutoff number sounds right. Is there an easy proof?
How about the version in which each player is given
several rounds of opportunity to change their current holding?
It seems natural to expect that the cutoff should have to
decrease with every new round, and for each fixed round, the
cutoff for that round should increase as more rounds are
allowed in the game; since you would expect that to win the
game when there are many rounds, you need a larger percent
number than when the game has fewer rounds.
In the 3-player version, you also have to have a larger
cutoff, since you expect that the winner needs to finish with
a better holding. Do you see the answer for the n-player game?
[toc] | [prev] | [next] | [standalone]
| From | quasi <quasi@null.set> |
|---|---|
| Date | 2016-04-05 05:37 -0500 |
| Message-ID | <7147gbhe04hvhmipd8ccmcjeiobnhicqup@4ax.com> |
| In reply to | #331319 |
Tommy wrote:
>quasi wrote:
>>quasi wrote:
>>
>>>So, I'm back to my original claim. The 50% cutoff strategy
>>>the _only_ rational optimal strategy. Anything else is just
>>>superstition.
>>
>>I came to my senses.
>>
>>To check it, I computed 50% cutoff vs 51% cutoff.
>>
>>As you [Mike Terry] intuited, 51% wins against 50% (by a
>>slight margin).
>>
>>Based on how that worked out, I solved the original problem.
>>
>>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.
>
>The superstition bit is funny though.
>
>The cutoff number sounds right. Is there an easy proof?
Not too hard.
I'll just give an outline ...
Suppose A uses cutoff x, B uses cutoff y, where 0 <= x,y <= 1.
Let a,b be the initial percentages of A,B respectively.
Then A's probability to win is given by
p(x,y) =
x*y*(1/2)
[for the case a < x, b < y]
+ x*(1-y)*(1-y)*(1/2)
[for the case a < x, b > y]
+ (1-x)*y*(x + (1-x)*(1/2))
[for the case a > x, b < y]
+ (1-x)*(1-y)*((1-x)/(1-y))*(1/2)
[for the case a > x, b > y]
For each fixed x, p(x,y) is a quadratic function of y, achieving
its minimum at
y = (x^2 + x + 1)/(2(x + 1))
Clearly A's optimal cutoff, x, must be such that y = x, yielding
the equation
(x^2 + x + 1)/(2(x + 1)) = x
which has only one positive real root, namely
x = (sqrt(5) - 1)/2
quasi
[toc] | [prev] | [next] | [standalone]
| From | timmy1729 <tommy1729@gmail.com> |
|---|---|
| Date | 2016-04-08 04:24 -0700 |
| Message-ID | <591320b0-e68d-4442-977b-72e7dec05e29@googlegroups.com> |
| In reply to | #331321 |
Quasi wrote
---
Tommy wrote:
>quasi wrote:
>>quasi wrote:
>>
>>>So, I'm back to my original claim. The 50% cutoff strategy
>>>the _only_ rational optimal strategy. Anything else is just
>>>superstition.
>>
>>I came to my senses.
>>
>>To check it, I computed 50% cutoff vs 51% cutoff.
>>
>>As you [Mike Terry] intuited, 51% wins against 50% (by a
>>slight margin).
>>
>>Based on how that worked out, I solved the original problem.
>>
>>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.
>
>The superstition bit is funny though.
>
>The cutoff number sounds right. Is there an easy proof?
Not too hard.
I'll just give an outline ...
Suppose A uses cutoff x, B uses cutoff y, where 0 <= x,y <= 1.
Let a,b be the initial percentages of A,B respectively.
Then A's probability to win is given by
p(x,y) =
x*y*(1/2)
[for the case a < x, b < y]
+ x*(1-y)*(1-y)*(1/2)
[for the case a < x, b > y]
+ (1-x)*y*(x + (1-x)*(1/2))
[for the case a > x, b < y]
+ (1-x)*(1-y)*((1-x)/(1-y))*(1/2)
[for the case a > x, b > y]
For each fixed x, p(x,y) is a quadratic function of y, achieving
its minimum at
y = (x^2 + x + 1)/(2(x + 1))
Clearly A's optimal cutoff, x, must be such that y = x, yielding
the equation
(x^2 + x + 1)/(2(x + 1)) = x
which has only one positive real root, namely
x = (sqrt(5) - 1)/2
quasi
---
Ok.
First im not giving this much thought.
Im just posting quickly because my food is still cooking and im bored.
Also i think quasi's answer is correct.
However Some remarks.
First : at the end you say the probability of winning for A = golden mean.
However since the optimal strategy for A = that for B we must have probability 1/2.
So you probably meant cutoff INSTEAD.
Secondly your relatively long formula p(x,y) is just given without explaination.
It seems correct but it is not trivial without smaller steps towards it.
The ifs ( 4 possible situations ) give rise to the 4 additions since the situations are independant , and hence so are their probabilities.
Maybe it is easier to work with 1 = probability winning + probability losing. And go from there.
I have no doubt quasi understood what he did.
Just saying.
---
At first sight i think i can solve it faster , though im not giving this more than 10 sec attention.
( my food is almost ready )
Let T be the cutoff for both players.
If any player Gets a first random smaller than the expected value of random( first value , second value ) then he should ask a second.
So the expected value must = t.
The prob of getting <T = 1/2 equals the probability of getting > T ( 1/2 ).
Expected value = expected value( min(a,b) , max(a,b) ) = expected value (a + b)/2.
Therefore
Integral_z = x + y < T = Integral _z = x+y > T
The solution is T => T + 1 = 1/T.
Hence T = golden mean.
Qed.
I think this is correct and faster.
Regards
Tommy1729
[toc] | [prev] | [next] | [standalone]
| From | quasi <quasi@null.set> |
|---|---|
| Date | 2016-04-08 14:54 -0500 |
| Message-ID | <n23ggb1e7iqnkj2ddjkfavfdc84g0o9ggk@4ax.com> |
| In reply to | #331448 |
tommy1729 wrote: >quasi wrote >>Tommy Jensen wrote: >>>quasi wrote: >>>> >>>>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. >>> >>>The cutoff number sounds right. Is there an easy proof? >> >>Not too hard. >> >>I'll just give an outline ... >> >>Suppose A uses cutoff x, B uses cutoff y, where 0 <= x,y <= 1. >> >>Let a,b be the initial percentages of A,B respectively. >> >>Then A's probability to win is given by >> >> p(x,y) = >> >> x*y*(1/2) >> [for the case a < x, b < y] >> >> + x*(1-y)*(1-y)*(1/2) >> [for the case a < x, b > y] >> >> + (1-x)*y*(x + (1-x)*(1/2)) >> [for the case a > x, b < y] >> >> + (1-x)*(1-y)*((1-x)/(1-y))*(1/2) >> [for the case a > x, b > y] >> >>For each fixed x, p(x,y) is a quadratic function of y, achieving >>its minimum at >> >> y = (x^2 + x + 1)/(2(x + 1)) >> >>Clearly A's optimal cutoff, x, must be such that y = x, yielding >>the equation >> >> (x^2 + x + 1)/(2(x + 1)) = x >> >>which has only one positive real root, namely >> >> x = (sqrt(5) - 1)/2 > >Ok. > >First im not giving this much thought. Im just posting >quickly because my food is still cooking and im bored. > >Also i think quasi's answer is correct. > >However Some remarks. > >First : at the end you say the probability of winning for >A = golden mean. I never said that. What I said was that the optimal cutoff (for both players) is (sqrt(5) - 1)/2. The term "cutoff" is defined above. It's _not_ the probability of winning. >However since the optimal strategy for A = that for B we must >have probability 1/2. Since with optimal play, x = y, that's immediate. >So you probably meant cutoff INSTEAD. But that's what I _said_. >Secondly your relatively long formula p(x,y) The fact that it's relatively long, can't be helped. As a function the two independent cutoffs x,y, the function p(x,y) is uniquely determined, and has the form I specified. >is just given without explaination. It seems correct but it >is not trivial without smaller steps towards it. I indicated that it was an _outline_. If you want, I can explain it further, but it will take some work, both on my part, to expand the outline, and on yours, to verify the steps. quasi
[toc] | [prev] | [next] | [standalone]
| From | timmy1729 <tommy1729@gmail.com> |
|---|---|
| Date | 2016-04-08 15:29 -0700 |
| Message-ID | <a1b9f1fe-878f-417b-8158-23d629668932@googlegroups.com> |
| In reply to | #331483 |
Op vrijdag 8 april 2016 20:56:55 UTC+2 schreef quasi: > tommy1729 wrote: > >quasi wrote > >>Tommy Jensen wrote: > >>>quasi wrote: > >>>> > >>>>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. > >>> > >>>The cutoff number sounds right. Is there an easy proof? > >> > >>Not too hard. > >> > >>I'll just give an outline ... > >> > >>Suppose A uses cutoff x, B uses cutoff y, where 0 <= x,y <= 1. > >> > >>Let a,b be the initial percentages of A,B respectively. > >> > >>Then A's probability to win is given by > >> > >> p(x,y) = > >> > >> x*y*(1/2) > >> [for the case a < x, b < y] > >> > >> + x*(1-y)*(1-y)*(1/2) > >> [for the case a < x, b > y] > >> > >> + (1-x)*y*(x + (1-x)*(1/2)) > >> [for the case a > x, b < y] > >> > >> + (1-x)*(1-y)*((1-x)/(1-y))*(1/2) > >> [for the case a > x, b > y] > >> > >>For each fixed x, p(x,y) is a quadratic function of y, achieving > >>its minimum at > >> > >> y = (x^2 + x + 1)/(2(x + 1)) > >> > >>Clearly A's optimal cutoff, x, must be such that y = x, yielding > >>the equation > >> > >> (x^2 + x + 1)/(2(x + 1)) = x > >> > >>which has only one positive real root, namely > >> > >> x = (sqrt(5) - 1)/2 > > > >Ok. > > > >First im not giving this much thought. Im just posting > >quickly because my food is still cooking and im bored. > > > >Also i think quasi's answer is correct. > > > >However Some remarks. > > > >First : at the end you say the probability of winning for > >A = golden mean. > > I never said that. > > What I said was that the optimal cutoff (for both players) > is (sqrt(5) - 1)/2. The term "cutoff" is defined above. > It's _not_ the probability of winning. > > >However since the optimal strategy for A = that for B we must > >have probability 1/2. > > Since with optimal play, x = y, that's immediate. > > >So you probably meant cutoff INSTEAD. > > But that's what I _said_. > > >Secondly your relatively long formula p(x,y) > > The fact that it's relatively long, can't be helped. As a > function the two independent cutoffs x,y, the function p(x,y) > is uniquely determined, and has the form I specified. > > >is just given without explaination. It seems correct but it > >is not trivial without smaller steps towards it. > > I indicated that it was an _outline_. > > If you want, I can explain it further, but it will take some > work, both on my part, to expand the outline, and on yours, > to verify the steps. > > quasi Im sorry I misread partially. Indeed you did say it. As for further explaining , My main questions are 1) why did you do it this way ? 2) ... I mean ... You split Up the problem , im not sure if that is the simplest way. 3) did you use integrals to find the probability function for Every " if " ? Or is there another method used ? Those equations are related to the assumption my answer is correct and faster. So A) what did you think of my answer ? And finally ... Do you like waffles ? :) Once those questions are answered , I might consider generalisations. And maybe get Some waffles. Regards Tommy1729
[toc] | [prev] | [next] | [standalone]
| From | quasi <quasi@null.set> |
|---|---|
| Date | 2016-04-08 19:13 -0500 |
| Message-ID | <50hggb935moemvico1c4o8j6tq5fbv31oj@4ax.com> |
| In reply to | #331501 |
tommy1729 wrote: >quasi: >>tommy1729 wrote: >>>quasi wrote >>>>Tommy Jensen wrote: >>>>>quasi wrote: >>>>>> >>>>>>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. >>>>> >>>>>The cutoff number sounds right. Is there an easy proof? >>>> >>>>Not too hard. >>>> >>>>I'll just give an outline .... >>>> >>>> [snip] >>>> >>>First im not giving this much thought. Im just posting >>>quickly because my food is still cooking and im bored. >>> >>>Also i think quasi's answer is correct. >>> >>>However Some remarks. >>> >>>First : at the end you say the probability of winning for >>>A = golden mean. >> >>I never said that. >> >>What I said was that the optimal cutoff (for both players) >>is (sqrt(5) - 1)/2. The term "cutoff" is defined above. >>It's _not_ the probability of winning. >> >>>However since the optimal strategy for A = that for B we must >>>have probability 1/2. >> >>Since with optimal play, x = y, that's immediate. >> >>>So you probably meant cutoff INSTEAD. >> >>But that's what I _said_. >> >>>Secondly your relatively long formula p(x,y) >> >>The fact that it's relatively long, can't be helped. As a >>function the two independent cutoffs x,y, the function p(x,y) >>is uniquely determined, and has the form I specified. >> >>>is just given without explaination. It seems correct but it >>>is not trivial without smaller steps towards it. >> >>I indicated that it was an _outline_. >> >>If you want, I can explain it further, but it will take some >>work, both on my part, to expand the outline, and on yours, >>to verify the steps. > >Im sorry I misread partially. Indeed you did say it. > >As for further explaining , > >My main questions are > >1) why did you do it this way ? Because that's the way I did it for the special case x = 1/2, y = 51/100. Then, with x,y unknown, I followed the same plan. >2) ... I mean ... You split Up the problem , im not sure if that >is the simplest way. It might not be, but in each of the 4 cases, calculation of p(x,y) was fairly simple. >3) did you use integrals to find the probability function for >Every " if " ? Or is there another method used ? No, I didn't use Calculus. >Those equations are related to the assumption my answer is >correct and faster. > >So > >A) what did you think of my answer ? I wasn't able to follow your argument. It might be correct. It's certainly shorter. >And finally ... > >Do you like waffles ? :) Of course! >Once those questions are answered , I might consider >generalisations. > >And maybe get Some waffles. My posted argument has a typo (for case 4) and an omission (also for case 4), so while my claimed cutoff is correct, my argument needs to be repaired. I'll post a fully corrected version, with explanations, in my next reply. Warning -- it's long. quasi
[toc] | [prev] | [next] | [standalone]
| From | quasi <quasi@null.set> |
|---|---|
| Date | 2016-04-05 05:46 -0500 |
| Message-ID | <ob57gbhtdoigeagjk1m571bk5ssu7tp7g1@4ax.com> |
| In reply to | #331319 |
Tommy wrote: > >How about the version in which each player is given >several rounds of opportunity to change their current holding? >It seems natural to expect that the cutoff should have to >decrease with every new round, and for each fixed round, the >cutoff for that round should increase as more rounds are >allowed in the game; since you would expect that to win the >game when there are many rounds, you need a larger percent >number than when the game has fewer rounds. Yes. >In the 3-player version, you also have to have a larger cutoff, >since you expect that the winner needs to finish with a better| >holding. Right. >Do you see the answer for the n-player game? No. The 3-player game seems already quite challenging. Anyone up for it? quasi
[toc] | [prev] | [next] | [standalone]
| From | Jamie M <jmorken@shaw.ca> |
|---|---|
| Date | 2016-04-05 08:05 -0700 |
| Message-ID | <ne0k74$3ec$1@gioia.aioe.org> |
| In reply to | #331322 |
On 4/5/2016 3:46 AM, quasi wrote: > Tommy wrote: >> >> How about the version in which each player is given >> several rounds of opportunity to change their current holding? >> It seems natural to expect that the cutoff should have to >> decrease with every new round, and for each fixed round, the >> cutoff for that round should increase as more rounds are >> allowed in the game; since you would expect that to win the >> game when there are many rounds, you need a larger percent >> number than when the game has fewer rounds. > > Yes. > >> In the 3-player version, you also have to have a larger cutoff, >> since you expect that the winner needs to finish with a better| >> holding. > > Right. > >> Do you see the answer for the n-player game? > > No. > > The 3-player game seems already quite challenging. > > Anyone up for it? > > quasi > Hi, Is it going to give a metallic mean related probability instead of 61.8% related golden ratio? :) Output of golden ratio numbers beyond the golden ratio phi solving the golden ratio formula for integers 1,2,3,4 (-x+sqrt((x*x+4)))/2 solve for x=1, phi1 = 0.6180339887498949.. (golden ratio) solve for x=2, phi2 = 0.41421356237309515.. solve for x=3, phi3 = 0.30277563773199456.. solve for x=4, phi4 = 0.2360679774997898.. solve for x=5, phi5 = 0.19258240356725187.. solve for x=6, phi6 = 0.16227766016837952.. If you take the reciprocal of phix (1/x on each phi number) these are the results 1/phi1 = 1.6180339887498949.. (golden ratio) 1/phi2 = 2.41421356237309515.. 1/phi3 = 3.30277563773199456.. 1/phi4 = 4.2360679774997898.. 1/phi5 = 5.19258240356725187.. 1/phi6 = 6.16227766016837952.. cheers, Jamie
[toc] | [prev] | [next] | [standalone]
| From | quasi <quasi@null.set> |
|---|---|
| Date | 2016-04-08 19:53 -0500 |
| Message-ID | <fbkggbt3d6lmlik39td0sokk3vntl9folu@4ax.com> |
| In reply to | #331322 |
Here's a corrected version of my previous solution, with
more details provided ...
The problem (restated):
Two players compete for a prize. The players, located in seprate
rooms, are each dealt a random number from the interval [0,1],
after which, each player has the option to either keep their
initial number or exchange it for a new random number. Neither
player knows whether or not their opponent has opted to keep
their initial number or exchange it. After the optional exchanges,
the player with the higher number wins the prize. What are the
optimal strategies for the two players?
Solution:
The only strategies that need to be considered are those based
on a "cutoff" value, below which, the player will choose to
exchange their initial value, and above which, the player will
choose to keep it.
Note, there is no need to worry about the boundary case where
a player's initial value is exactly equal to their cutoff value,
since that case has probability 0 of occurring.
Let y = (sqrt(5) - 1)/2.
For later use, note that y satisfies the equation y^2 = 1 - y.
Let p(x) = A's probability of winning if B uses cutoff y and
A uses cutoff x, for some x with 0 <= x <= 1.
Clearly p(y) = 1/2 since in that case, the cutoffs are the same.
Claim p(x) < 1/2 if x != y.
Consider two cases:
Cases:
(1) x < y
(2) x > y
Let a,b be the (random) initial values of A,B, respectively.
For each of the above cases, there are four subcases:
Subcases:
(1) a < x, b < y
(2) a < x, b > y
(3) a > x, b < y
(4) a > x, b > y
The subcases are mutually exclusive, so for each of the 2 main
cases, p(x) is equal to the sum of the contributions to p(x)
from each of the 4 subcases.
As it turns out, of the four subcases, only subcase 4 works out
differently with respect to the two main cases. Thus, we can
analyze the contributions of subcases 1,2,3 without worrying
about which is the main case.
Consider the subcases, one at a time ...
Subcase (1): a < x, b < y
The probability that a < x and b < y equals x*y.
In this subcase, both A and B exchange, hence the probability
that A wins, given subcase (1), is 1/2.
Therefore, the contribution of subcase (1) to p(x) is
x*y*(1/2).
Subcase (2): a < x, b > y
The probability that a < x and b > y equals x*(1-y).
In this subcase, A exchanges, B stays. Then for A to win,
A's new value after the exchange must exceed y, and if that
happens, A,B are then equally likely to win. Hence the
probability that A wins, given subcase (2), is (1-y)*(1/2).
Therefore, the contribution of subcase (2) to p(x) is
x*(1-y)*(1-y)*(1/2).
Subcase (3): a > x, b < y
The probability that a > x and b < y equals (1-x)*y.
In this subcase, A stays, B exchanges. If B's new value after the
exchange is less than x, then A wins. If B's new value after the
exhange is greater than x, A,B are then equally likely to win.
Hence the probability that A wins, given subcase (3), is
x + (1-x)*(1/2).
Therefore, the contribution of subcase (3) to p(x) is
x(1-x)*y*(x + (1-x)*(1/2))
Subcase (4): a > x, b > y
The probability that a > x and b > y equals (1-x)*(1-y).
In this subcase, A and B both stay. For A to win, a necessary
condition is a > y, and when a > y, A,B are then equally
likely to win.
For case (1) [x < y], the probability that a > y is
(1-y)/(1-x). Hence the probability that A wins, given
subcase (4), is ((1-y)/(1-x))*(1/2).
For case (2) [x > y], the probability that a > y is
1 - (1-x)/(1-y). Hence the probability that A wins, given
subcase (4), is (1 - (1-x)/(1-y))*(1/2).
Therefore, the contribution of subcase (4) to p(x) is
(1-x)*(1-y)*((1-y)/(1-x))*(1/2) for case (1) [x < y]
or
(1-x)*(1-y)*(1 - (1-x)/(1-y))*(1/2) for case (2) [x > y]
Adding up the contributions from the four subcases and
then regrouping, we get
Case (1):
p(x) = (x^2)*(-y/2)
+ x*((y^2 - y + 1)/2)
+ (y^2 - y + 1)/2
Since y^2 = 1 - y, the above simplifies to
p(x) = (x^2)*(-(y + 1)/2)
+ x*(1 - y)
+ (1 - y)
Case (2):
p(x) = (x^2)*(-(y + 1)/2)
+ x*((y^2 + y + 1)/2)
+ (1 - y)/2
Since y^2 = 1 - y, the above simplifies to
p(x) = (x^2)*(-(y + 1)/2)
+ x
+ (1 - y)/2
In either case, p is a quadratic polynomial with negative
leading coefficient, hence realizes a unique global maximum
value at x = h, where h = -(coeff of x)/(2*(coeff of x^2)).
In case (1),
h = -(1 - y)/(2*(-y/2))
= -(y^2)/(-y) [since 1 - y = y^2]
= y
In case (2),
h = -(1)/(2*(-(y + 1)/2))
= 1/(y + 1)
= y [since y*(y + 1) = 1]
Thus, in both cases, h = y, hence the unique global maximum
value of p(x) occurs at x = y. Since x != y, it follows that
p(x) < p(y). But p(y) = 1/2, hence p(x) < 1/2, as claimed.
It follows that y is the optimal cutoff for both players.
quasi
[toc] | [prev] | [next] | [standalone]
| From | Tommy <tjensen@knu.ac.kr> |
|---|---|
| Date | 2016-04-09 02:56 -0500 |
| Message-ID | <5_6dnY8RnPQkKJXKnZ2dnUU7-L2dnZ2d@giganews.com> |
| In reply to | #331510 |
On Fri, 08 Apr 2016 19:53:39 -0500, quasi wrote:
> Here's a corrected version of my previous solution, with more details
> provided ...
>
> The problem (restated):
>
> Two players compete for a prize. The players, located in seprate rooms,
> are each dealt a random number from the interval [0,1], after which,
> each player has the option to either keep their initial number or
> exchange it for a new random number. Neither player knows whether or not
> their opponent has opted to keep their initial number or exchange it.
> After the optional exchanges,
> the player with the higher number wins the prize. What are the optimal
> strategies for the two players?
>
> Solution:
>
> Let y = (sqrt(5) - 1)/2.
>
> Claim p(x) < 1/2 if x != y.
Here is another statement about this game:
Let (F(n)) be the sequence of Fibonacci numbers, F(0)=0,
F(1)=1 and F(n+1)=F(n)+F(n-1) for each n > 1.
(*) If y has cutoff F(n-1)/F(n), then the probability that
x wins by choosing cutoff value F(n)/F(n+1) is larger than
1/2 if n > 1.
And two questions:
Q1: Is there a somewhat natural proof of (*)?
Q2: Does (*) imply that choosing cutoff (sqrt(5) - 1)/2 is
the optimal strategy?
It is well-known that the sequence (F(n)/F(n+1)) alternates
and converges to (sqrt(5) - 1)/2, e.g. using Binet's formula.
[toc] | [prev] | [next] | [standalone]
| From | quasi <quasi@null.set> |
|---|---|
| Date | 2016-04-09 16:12 -0500 |
| Message-ID | <nurigb5330j1rfvo5obtke21p2uqm5bcjq@4ax.com> |
| In reply to | #331526 |
Tommy wrote:
>quasi wrote:
>>
>>Here's a corrected version of my previous solution, with
>>more details provided ...
>>
>>The problem (restated):
>>
>>Two players compete for a prize. The players, located in
>>separate rooms, are each dealt a random number from the
>>interval [0,1], after which, each player has the option to
>>either keep their initial number or exchange it for a new
>>random number. Neither player knows whether or not their
>>opponent has opted to keep their initial number or exchange
>>it. After the optional exchanges, the player with the higher
>>number wins the prize. What are the optimal strategies for
>>the two players?
>>
>>Let y = (sqrt(5) - 1)/2.
>>
>>Let p(x) = A's probability of winning if B uses cutoff y
>>and A uses cutoff x, for some x with 0 <= x <= 1.
>>
>>Clearly p(y) = 1/2 since in that case, the cutoffs are the same.
>>
>>Claim p(x) < 1/2 if x != y.
>
>Here is another statement about this game:
>
>Let (F(n)) be the sequence of Fibonacci numbers, F(0)=0,
>F(1)=1 and F(n+1)=F(n)+F(n-1) for each n > 1.
>
>(*) If y has cutoff F(n-1)/F(n), then the probability that
>x wins by choosing cutoff value F(n)/F(n+1) is larger than
>1/2 if n > 1.
You meant:
(*) If B has cutoff F(n-1)/F(n), then the probability that
A wins by choosing cutoff value F(n)/F(n+1) is larger than
1/2 if n > 1.
[The players are A,B. The variables x,y are the respective
cutoffs.]
Actually, the probability is strictly greater than 1/2 only
for even n. For odd n, the probability is exactly equal to
1/2.
And two questions:
>Q1: Is there a somewhat natural proof of (*)?
For arbitrary x,y with 0 <= x,y <= 1, let p(x,y) be the
probability that A beats B, assuming A uses cuttoff x and
B uses cutoff y.
Using the same logic as in my previous reply (but now using
unknown y), we get the following closed form expressions for
p(x,y):
If x < y then
p(x,y) = (1 + (y - x)*(x*y + y - 1))/2
If x = y then
p(x,y) = 1/2
If x > y then
p(x,y) = (1 + (x - y)*(x*y + x - 1))/2
For each positive integer n, let r(n) = F(n-1)/F(n).
It's easy to show that for n > 1,
r(n+1) < r(n) if n is odd
r(n+1) > r(n) if n is even
Thus, depending on whether n is odd or even, we can compute
the exact value of p(r(n+1),r(n)). The results are as follows:
(1) If n is odd,
p(r(n+1),r(n)) = 1/2
(2) If n is even,
p(r(n+1),r(n)) = 1/2 + 1/(2 * F(n)^2 * F(n+1)^2)
which proves (*) (provided we change "greater than" to
"greater than or equal to").
>Q2: Does (*) imply that choosing cutoff (sqrt(5) - 1)/2 is
>the optimal strategy?
I don't think it's automatic.
>It is well-known that the sequence (F(n)/F(n+1)) alternates
>and converges to (sqrt(5) - 1)/2, e.g. using Binet's formula.
Right, but still, I don't think it's automatic.
quasi
[toc] | [prev] | [next] | [standalone]
| From | Jim Burns <james.g.burns@att.net> |
|---|---|
| Date | 2016-04-05 21:13 -0400 |
| Message-ID | <570462A4.6070505@att.net> |
| In reply to | #331307 |
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 .
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | sci.math
csiph-web