98Clubs
98Clubs
  • Threads: 52
  • Posts: 1728
Joined: Jun 3, 2010
October 25th, 2014 at 7:58:25 PM permalink
No peek yet, but read much of the discussion.
Three players, two draws each maximum, no information passed.
Range 1 to 100 (a percentile draw).

Player 1: draw 65 or less, stand 66 or better
Player2: same as Player 1
Player3: plays the winner of 1/2: draw 74 or less, stand 75+.
Some people need to reimagine their thinking.
Wizard
Administrator
Wizard
  • Threads: 1517
  • Posts: 27007
Joined: Oct 14, 2009
October 25th, 2014 at 7:59:54 PM permalink
Quote: 98Clubs

Player 1: draw 65 or less, stand 66 or better
Player2: same as Player 1
Player3: plays the winner of 1/2: draw 74 or less, stand 75+.



I still fail to see, other than psychological tells, how order plays any effect. For the purpose of the problem, I'd like to suggest we assume three perfect logicians with no tells.
"For with much wisdom comes much sorrow." -- Ecclesiastes 1:18 (NIV)
98Clubs
98Clubs
  • Threads: 52
  • Posts: 1728
Joined: Jun 3, 2010
October 25th, 2014 at 8:13:07 PM permalink
Player 1-2-3 know there are 3 contestants one must beat 2 others, the rationale for standing 66+ by any participant.
All contestants get a maximum of two chances, and all know this.

Given the chance to improve, the contestant must keep a 1 in 3 chance to do so.
The third contestant has to beat potentially 4 draws with a 5th and possibly 6th draw. Thus the rationale for 1 in 4 expectation.
This means Player3 rationalizes a 75 or better to get into the top 1/4.

My strategy differs from the Wiz's answer in that players are labled 1-2-3, and all know the order.
If no player knows the order of the draw, then I will defer to the Wiz's strategy.

Any contestant that draws 84 or better should "expect" to win?
Some people need to reimagine their thinking.
Mission146
Mission146
  • Threads: 142
  • Posts: 16832
Joined: May 15, 2012
October 25th, 2014 at 8:24:49 PM permalink
Quote: Dween


In this lottery game, stopping on a number higher than 50 is the right strategy. While the average score of someone who stops at 50+ turns out to be ~62.5, there is no other number than can maximize the play. Stopping at 63+ garners an average of ~61.

Therefore, all players should stop on any number over 50.



My problem with this is for the first player, assuming all other players are playing the same strategy with two draws apiece.

If the first player draws 51 and decides to hold at 51 and all other players play the same strategy, then there are going to be 50 numbers that are lower than 51 available and the first player needs four consecutive draws that are 50 or less in order to win. The probability of such an occurrence is:

(50/99 * 49/98 * 48/97 * 47/96) = 0.06117879829220036

Therefore, if the first player draws 51 he has a 6.11787982922% chance of succeeding assuming that both other players adhere to the same strategy of stopping on anything higher than fifty, meanwhile, if he attempts another draw, he has a 49/99 = 0.494949494949495 or 49.4949494949% chance of ending up with something higher.

I would be inclined to stop when the probability of improvement is less than the probability of my number surviving, for both first and second position, and in third position, I would stop if there was less than a 50% chance that either player drew a number higher than mine.

For position one, I would say that the number would be 73, at that point, there is a 27.32963% chance that all players (using all draws) fail to draw a higher number, and only a 27% probability of improvement if the player takes another selection.

(72/99 * 71/98 * 70/97 * 69/96) = 0.2732962913375285

Actually, absent any tells, it stands to reason that the same number holds for Positions two and three.
https://wizardofvegas.com/forum/off-topic/gripes/11182-pet-peeves/120/#post815219
98Clubs
98Clubs
  • Threads: 52
  • Posts: 1728
Joined: Jun 3, 2010
October 25th, 2014 at 8:44:19 PM permalink
Thats an interesting analysis Mission... I like it. Any time my chances to win => my chance to improve I should not improve.

As always, the Human side of the equation(s) differ from the math side. Humans gamble, math does not.
Some people need to reimagine their thinking.
MrLeft
MrLeft
  • Threads: 4
  • Posts: 43
Joined: Oct 23, 2014
October 26th, 2014 at 2:58:40 AM permalink
At the start of this discussion it was said that three players play in complete isolation .. and that used cards are put back (assumingly reshuffled) .. therefore each pick is a random number between 1-100 ... logically thinking it might be better to imagine the game with a 100 sided dice.

There is no advantage or disadvange of going first or last since you don't know the results of the others.

Oversimplification of this game would say standing at 50 essentially gives 4 coin flips to beat you if the others use the same strategy. Essentially 1 in 16. Might be less .. but but considering no one would stand at 49 then you definitely would need 4 competing rolls to win with a 50.


That all being said .. it's not that simple .. your aim is to beat statistical averages in order to win over 33.33% .. even taking it to 33.35% win percentage would be a success for this problem.

The other problem to this problem is figuring out what hold strategy the other 2 competitors are using in order to create your own probabilities. But if you're using the assumption they they are using the same "optimal" strategy that you are .. the the actual goal is simply to find that optimal hold number and keep your win% at 33.33% and not below because of poor strategy. So when you think about it that way .. a simple 1 in 3 win percentage is actually a success at this problem! ;)


I still feel the way to tackle this is to figure out the theoretical average winning score between the 2 other competitors (regardless of order or even if you draw first), and then figure out the best strategy to beat that number the optimal number of times (up to 33.33% if your assumption is that they use the same strategy as you .. "possibly" higher if you assume they are using a different strategy.


The irony is .. that even if you select/choose/calculate a number in the 60's, that your "choice" really only comes up 10-20% of the times you play the game .. because 80-90% of the you'll get 1 to 49 or ~65 to 100 .. both cases when you don't really have a choice! lol
Dween
Dween
  • Threads: 66
  • Posts: 339
Joined: Jan 24, 2010
October 26th, 2014 at 8:04:01 AM permalink
Quote: Wizard

Quote: Dween

In this lottery game, stopping on a number higher than 50 is the right strategy.



So, you would stick at 51, despite having to face two opponents that get two chances each. Would you care to back that up with any math?

Here is my math.
Stopping at 51 gives the highest expected value of 63.
Stopping at 63 gives the expected value closest to stopping point, 62.28.
After reading a reply about a stop point being>=expected value, perhaps stopping at 63 is the best choice.

Stop at >=Will Stop %Redraw %Stop valueRedraw ValueExpected Value
11050.5050.5
20.990.0150.490.50550.995
30.980.0250.471.0151.48
40.970.0350.441.51551.955
50.960.0450.42.0252.42
60.950.0550.352.52552.875
70.940.0650.293.0353.32
80.930.0750.223.53553.755
90.920.0850.144.0454.18
100.910.0950.054.54554.595
110.90.149.955.0555
120.890.1149.845.55555.395
130.880.1249.726.0655.78
140.870.1349.596.56556.155
150.860.1449.457.0756.52
160.850.1549.37.57556.875
170.840.1649.148.0857.22
180.830.1748.978.58557.555
190.820.1848.799.0957.88
200.810.1948.69.59558.195
210.80.248.410.158.5
220.790.2148.1910.60558.795
230.780.2247.9711.1159.08
240.770.2347.7411.61559.355
250.760.2447.512.1259.62
260.750.2547.2512.62559.875
270.740.2646.9913.1360.12
280.730.2746.7213.63560.355
290.720.2846.4414.1460.58
300.710.2946.1514.64560.795
310.70.345.8515.1561
320.690.3145.5415.65561.195
330.680.3245.2216.1661.38
340.670.3344.8916.66561.555
350.660.3444.5517.1761.72
360.650.3544.217.67561.875
370.640.3643.8418.1862.02
380.630.3743.4718.68562.155
390.620.3843.0919.1962.28
400.610.3942.719.69562.395
410.60.442.320.262.5
420.590.4141.8920.70562.595
430.580.4241.4721.2162.68
440.570.4341.0421.71562.755
450.560.4440.622.2262.82
460.550.4540.1522.72562.875
470.540.4639.6923.2362.92
480.530.4739.2223.73562.955
490.520.4838.7424.2462.98
500.510.4938.2524.74562.995
510.50.537.7525.2563
520.490.5137.2425.75562.995
530.480.5236.7226.2662.98
540.470.5336.1926.76562.955
550.460.5435.6527.2762.92
560.450.5535.127.77562.875
570.440.5634.5428.2862.82
580.430.5733.9728.78562.755
590.420.5833.3929.2962.68
600.410.5932.829.79562.595
610.40.632.230.362.5
620.390.6131.5930.80562.395
630.380.6230.9731.3162.28
640.370.6330.3431.81562.155
650.360.6429.732.3262.02
660.350.6529.0532.82561.875
670.340.6628.3933.3361.72
680.330.6727.7233.83561.555
690.320.6827.0434.3461.38
700.310.6926.3534.84561.195
710.30.725.6535.3561
720.290.7124.9435.85560.795
730.280.7224.2236.3660.58
740.270.7323.4936.86560.355
750.260.7422.7537.3760.12
760.250.752237.87559.875
770.240.7621.2438.3859.62
780.230.7720.4738.88559.355
790.220.7819.6939.3959.08
800.210.7918.939.89558.795
810.20.818.140.458.5
820.190.8117.2940.90558.195
830.180.8216.4741.4157.88
840.170.8315.6441.91557.555
850.160.8414.842.4257.22
860.150.8513.9542.92556.875
870.140.8613.0943.4356.52
880.130.8712.2243.93556.155
890.120.8811.3444.4455.78
900.110.8910.4544.94555.395
910.10.99.5545.4555
920.090.918.6445.95554.595
930.080.927.7246.4654.18
940.070.936.7946.96553.755
950.060.945.8547.4753.32
960.050.954.947.97552.875
970.040.963.9448.4852.42
980.030.972.9748.98551.955
990.020.981.9949.4951.48
1000.010.99149.99550.995
-Dween!
dwheatley
dwheatley
  • Threads: 25
  • Posts: 1246
Joined: Nov 16, 2009
October 26th, 2014 at 8:22:38 AM permalink
Quote: Dween

Quote: Wizard

Quote: Dween

In this lottery game, stopping on a number higher than 50 is the right strategy.



So, you would stick at 51, despite having to face two opponents that get two chances each. Would you care to back that up with any math?

Here is my math.



This math is looking in the wrong direction.

Imagine the game gets larger: there are 1 million contestants competing for a single large cash prize. Only the highest number wins. If it helps, imagine you are going last. Would you still stop at 51? No. Way. Only the person who draws 100 has any chance of winning this game.

Fact: The strategy depends on number of players, (but my multi-player game theory is too rusty to back up any of the calculations I've seen already, so I don't know the strategy exactly for 3 players).

Fact: Absent behavioural tells, order doesn't matter.
Wisdom is the quality that keeps you out of situations where you would otherwise need it
wudged
wudged
  • Threads: 2
  • Posts: 998
Joined: Aug 7, 2013
October 26th, 2014 at 9:06:51 AM permalink
My answer is 87.

After your first pick, x, you should keep the number if 5 more draws (your second pick plus the other two contestants 2 picks each, regardless of whether you are drawing in first, second, or third position) have less than 50% probability of beating it.

The probability one of those 5 picks will not beat your number is x / 100. The probability of all 5 of those picks not beating your number is (x/100)^5.

(x/100)^5 = .5
x^5 = 5,000,000,000
x = 87.055

You should keep your number at 87 or higher and redraw lower than 87. Round down, since an initial draw of 87 will leave 49.84% chance of being beaten, with 50.16% chance of not being beaten.

The general form, where n is number of players, would be
(x/100)^(2n-1) = .5

For 1 player, x = 50 (ludicrous example, but shows the formula works)
For 2 players, x = 79.370
For 100 players, x = 99.652
For 500 players, x = 99.93
For 5000 players, x = 99.986

The one thing I can't make sense of is, as dwheatley pointed out, with one million players you would redraw on anything but 100. But x will come out to 99.999 and be rounded down to 99.

Edit: Actually, for 1 player, you would want to stay on 51.. hmm...
Wizard
Administrator
Wizard
  • Threads: 1517
  • Posts: 27007
Joined: Oct 14, 2009
October 26th, 2014 at 10:55:53 PM permalink
I've been working on the three-player case and in doing so I think I found an error in my two player case, which I just fixed.

In the case where the players are given numbers from a continuous distribution from 0 to 100, I claim the answer in the three player case is the solution to the equation 2x^4 + x^3 - x^2 + x - 1 =0, which comes to approximately 0.69115. Extending that to the game with 100 cards numbered 1 to 100, my strategy would be to switch with 69 or less and stand on 70 or more.

For the two player case my strategy would be to switch on 63 or less and stand on 64 or more.
"For with much wisdom comes much sorrow." -- Ecclesiastes 1:18 (NIV)
MrLeft
MrLeft
  • Threads: 4
  • Posts: 43
Joined: Oct 23, 2014
October 27th, 2014 at 12:25:17 AM permalink
But wouldn't the math you need only be based on a 2 player game? All you need to do is beat the (theoretical win of the game between the two other players) .. so add 1 to that number and you're good and groovy to win the targeted 33.33% (or more if others use less optimal strategy).

I'd think doing the math and finding the theoretical average win for 3 players is actually what you'd need if you were a 4th player?
Ayecarumba
Ayecarumba
  • Threads: 236
  • Posts: 6763
Joined: Nov 17, 2009
October 27th, 2014 at 12:23:03 PM permalink
Quote: Wizard

... I think I found an error ....



What was the previous error Wizard?

If there were three other players, would the lowest "stand" number be ~80?
Simplicity is the ultimate sophistication - Leonardo da Vinci
miplet
miplet
  • Threads: 5
  • Posts: 2140
Joined: Dec 1, 2009
October 27th, 2014 at 1:24:09 PM permalink
I had fun with a spreadsheet. If all players stop with 70 or more:
OutcomeWaysProbabilityPaysReturn
Win3163290176000.32601189710.326011897
2 Way Tie140955072000.014526972820.50.00726348641
3 way Tie1686864000.00017384991640.33333333330.00005794997212
Lose6397057888000.659287280300
Total97029900000010.3333333333

You stop at 70, the other 2 stop at 69:
OutcomeWaysProbabilityPaysReturn
Win3164092094000.326094543410.3260945434
2 Way Tie140671076000.01449770390.50.007248851952
3 way Tie1678995000.00017303892920.33333333330.00005767964308
Lose6396547835000.659234713700
Total97029900000010.333401075

You stop at 70,the other 2 stop at 71:
OutcomeWaysProbabilityPaysReturn
Win3164251854000.326111008510.3261110085
2 Way Tie140318820000.014461400040.50.007230700021
3 way Tie1670859000.00017220042480.33333333330.00005740014161
Lose6396748467000.659255391100
Total97029900000010.3333991086
“Man Babes” #AxelFabulous
Wizard
Administrator
Wizard
  • Threads: 1517
  • Posts: 27007
Joined: Oct 14, 2009
October 27th, 2014 at 9:33:05 PM permalink
Quote: Ayecarumba

What was the previous error Wizard?

If there were three other players, would the lowest "stand" number be ~80?



I am away from home so don't have my original notes with me so don't know the mistake. I think a calculus error somewhere.

I don't know about more than three players. As each player is added the problem gets more complicated by a factor of two, at least.

I hope to write up a solution later this week.

Quote: miplet

I had fun ...



Thanks Miplet! Goes to show that if my strategy is to stop on 70 then it can't be defeated by the other two players, at least assuming they both have the same strategy.
"For with much wisdom comes much sorrow." -- Ecclesiastes 1:18 (NIV)
sodawater
sodawater
  • Threads: 64
  • Posts: 3321
Joined: May 14, 2012
October 28th, 2014 at 12:25:13 AM permalink
Did both Wizard and kubikulann arrive at the same correct answer via two totally different methods?

Quote: Wizard

I've been working on the three-player case and in doing so I think I found an error in my two player case, which I just fixed.

In the case where the players are given numbers from a continuous distribution from 0 to 100, I claim the answer in the three player case is the solution to the equation 2x^4 + x^3 - x^2 + x - 1 =0, which comes to approximately 0.69115. Extending that to the game with 100 cards numbered 1 to 100, my strategy would be to switch with 69 or less and stand on 70 or more.

For the two player case my strategy would be to switch on 63 or less and stand on 64 or more.



Quote: kubikulann

Here is the solution for the 1-100 game.

Let X be the number up to which players redraw (and they stand with a value > X). Let x be X/100 (i.e. the percentage value).
Let k be the value of the final card obtained. Let f(k|X) be the probability distribution of k given strategy X. Let F(k|X) be the cumulative.

f(k|X) = x/100 ...if k=1 to X
(1+x)/100 ... if k>X

F(k|X) = (x/100) k ...if k=1 to X
( (1+x)/100 )k - x ...if k>X

The probability that both opponents are lower or equal to your value k is F2(k|X).
(I assume that you win in case of a tie. Adapt to F2(k-1|X) if a tie is a loss.)

Let Y be the optimal strategy number, given that the opponents use X. You are trying to maximize the expected F2:
SUM { f(k|Y)F2(k|X) }
= SUM1 to Y { (y/100) F2 } + SUMY+1 to 100 { ((1+y)/100) F2 }
= (y/100) SUM1 to 100 { F2 } + (1/100) SUMY+1 to 100 { F2 }
Maximizing means finding Y such that the difference from Y-1 to Y is positive and the difference from Y to Y+1 is negative.
Those differences are
(1/100)2 SUM1 to 100 { F2 } - (1/100) F2(Y|X) > 0
and
(1/100)2 SUM1 to 100 { F2 } - (1/100) F2(Y+1|X) < 0

In other words, your Y should be the card value whose F² is the average of all F².
Expanding
SUM1 to 100 { F2 } = SUM1 to X { (kx/100)2 } + SUMX+1 to 100 { (k(1+x)/100 - x)2 }
yields a 4th-power polynomial in X.

The optimal Y|X is hard to express in a formula.
But we don't bother, since we know that in the equilibrium Y(X*) is equal to X*. So we simply have to solve a polynomial
-2x4 -x3 +0.99995x2 -0.99995x +1.01505 = 0
Note the small x's (= X/100)
whose solution is X* = 69,3
(unless I made a calculation mistake).

So the Nash equilibrium is to redraw if you get 1 to 69, and stand with your card on a value of 70 to 100.

kubikulann
kubikulann
  • Threads: 27
  • Posts: 905
Joined: Jun 28, 2011
October 28th, 2014 at 12:54:20 PM permalink
Thanks, sodawater.

I was wondering if everybody here had blocked me, or simply they don't read the thread before entering their part.
Reperiet qui quaesiverit
kubikulann
kubikulann
  • Threads: 27
  • Posts: 905
Joined: Jun 28, 2011
October 28th, 2014 at 12:57:09 PM permalink
I am presently busy computing the solution of the game where there is no replacement (a card drawn can never be drawn again) and players know what their predecessors did (stand or redraw). Damn hard! Even with as simple a game as with only six cards numbered 1 to 6, it is taking lots of my time.

Definitely, the threshhold for redrawing increases with the rank.
Reperiet qui quaesiverit
kubikulann
kubikulann
  • Threads: 27
  • Posts: 905
Joined: Jun 28, 2011
October 28th, 2014 at 12:58:42 PM permalink
This is no gratuitous fun.
This game has similarities with traditional poker, where each player in turn may change cards.
Reperiet qui quaesiverit
Wizard
Administrator
Wizard
  • Threads: 1517
  • Posts: 27007
Joined: Oct 14, 2009
October 29th, 2014 at 6:45:07 AM permalink
Here is my solution to the problem. Questions, comments, or corrections?
"For with much wisdom comes much sorrow." -- Ecclesiastes 1:18 (NIV)
kubikulann
kubikulann
  • Threads: 27
  • Posts: 905
Joined: Jun 28, 2011
October 29th, 2014 at 11:44:38 AM permalink
Quote: Wizard

Here is my solution to the problem. Questions, comments, or corrections?

Fine! I had a slightly different approach but got the same result. (Contrary to the mistaken .46 I posted earlier).

Now, the solution for a continuum [0,1] is an approximation for discrete games with many cards, but does 100 qualify as "many"? It happens to be the case, as I proved here.

Equation in continuous:
2x4 + x3 - x2 + x - 1= 0
Solution .69115
Equation in discrete 100:
-2x4 -x3 +0.99995x2 -0.99995x +1.01505 = 0
Solution .6952

It is to be expected that with fewer cards, the equation changes further and the solution may end up different.
Reperiet qui quaesiverit
Ayecarumba
Ayecarumba
  • Threads: 236
  • Posts: 6763
Joined: Nov 17, 2009
October 29th, 2014 at 1:12:10 PM permalink
Quote: Wizard

Here is my solution to the problem. Questions, comments, or corrections?



Note that the replacement in the game is not exactly random. It is fairly simple for a player to avoid picking the same card twice, since it is put back in the same position on a small matrix.

I don't think this changes the analysis.
Simplicity is the ultimate sophistication - Leonardo da Vinci
Wizard
Administrator
Wizard
  • Threads: 1517
  • Posts: 27007
Joined: Oct 14, 2009
October 29th, 2014 at 4:23:49 PM permalink
Quote: Ayecarumba

Quote: Wizard

Here is my solution to the problem. Questions, comments, or corrections?



Note that the replacement in the game is not exactly random. It is fairly simple for a player to avoid picking the same card twice, since it is put back in the same position on a small matrix.



I assume they reshuffle the cards if the player chooses to switch. They probably cut that part out of the show. Otherwise, why bother putting it back?
"For with much wisdom comes much sorrow." -- Ecclesiastes 1:18 (NIV)
Ayecarumba
Ayecarumba
  • Threads: 236
  • Posts: 6763
Joined: Nov 17, 2009
October 29th, 2014 at 5:01:11 PM permalink
Quote: Wizard

Quote: Ayecarumba

Quote: Wizard

Here is my solution to the problem. Questions, comments, or corrections?



Note that the replacement in the game is not exactly random. It is fairly simple for a player to avoid picking the same card twice, since it is put back in the same position on a small matrix.



I assume they reshuffle the cards if the player chooses to switch. They probably cut that part out of the show. Otherwise, why bother putting it back?



It is possible for someone to get confused and pick it again. The rack is like a spinning display of sunglasses with the same number of items, arranged in rows on each of face. As long as you can remember that you previously picked the second one from the right in the second row, the first time, then change at least one of those parameters the second time, it appears that you will get a different card.
Simplicity is the ultimate sophistication - Leonardo da Vinci
  • Jump to: