Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.math > #332630

Re: optimal betting

From Jürgen R. <jurgenr@web.de>
Newsgroups sci.math
Subject Re: optimal betting
Date 2016-04-25 18:26 +0200
Organization A noiseless patient Spider
Message-ID <nflg8j$9mh$1@dont-email.me> (permalink)
References (4 earlier) <mvkrhbhla28bc6mlv3mnu794gj2nhvh0o5@4ax.com> <eb9a7ee2-5b4d-434c-a0a3-8fd3a93ea9a7@googlegroups.com> <hdishb1s340uncq8sphdott0nv3ulb3oam@4ax.com> <413feb80-fdd4-43f8-bedd-29bc9c276476@googlegroups.com> <49348cd5-e322-4711-b4c1-78b74c01cc66@googlegroups.com>

Show all headers | View raw


On 25.04.2016 18:14, djoyce099 wrote:
> On Monday, April 25, 2016 at 12:04:52 PM UTC-4, djoyce099 wrote:
>> On Monday, April 25, 2016 at 11:48:44 AM UTC-4, quasi wrote:
>>> djoyce099 wrote:
>>>> quasi wrote:
>>>>> quasi wrote:
>>>>>> quasi wrote:
>>>>>>> quasi wrote:
>>>>>>>> quasi wrote:
>>>>>>>>>
>>>>>>>>> A game with 1 player proceeds as follows ...
>>>>>>>>>
>>>>>>>>> A standard 52 card deck is shuffled and the cards are then
>>>>>>>>> dealt out, face up, one card at a time. Before each card is
>>>>>>>>> dealt, the player has the option to bet on the color (red
>>>>>>>>> or black) of the card which is about to be dealt.
>>>>>>>>>
>>>>>>>>> All bets pay even money (i.e., if the player bets x, then
>>>>>>>>> the player wins x if the bet wins, and loses x if the bet
>>>>>>>>> loses.
>>>>>>>>>
>>>>>>>>> Initially the player has wealth 1. If at some point during
>>>>>>>>> the  game, the player has wealth w > 0 and has the option to
>>>>>>>>> make a bet, the player can bet x, where x is any real number
>>>>>>>>> between 0 and w inclusive. A bet of 0 is effectively the
>>>>>>>>> same as "no bet" or "pass". If the player has wealth w and
>>>>>>>>> bets w (i.e., bets it all), the player's new wealth will be
>>>>>>>>> 2w if the bet wins, and 0 if the bet loses, in which case,
>>>>>>>>> the player is out of the game (i.e.,"tapped out).
>>>>>>>>>
>>>>>>>>> The goal of the player is to maximize the worst-case final
>>>>>>>>> wealth. In other words, the player seeks a betting strategy
>>>>>>>>> which will guarantee a final wealth of at least w, where w
>>>>>>>>> is as large as possible. Note -- this is not the same as
>>>>>>>>> the goal of seeking to maximize expected final wealth.
>>>>>>>>>
>>>>>>>>> Computational challenge:
>>>>>>>>>
>>>>>>>>> (1) Find an optimal betting strategy for the player.
>>>>>>>>>
>>>>>>>>> (2) Using an optimal betting strategy, what is the player's
>>>>>>>>> guaranteed worst-case final wealth?
>>>>>>>>>
>>>>>>>>> I'll post the answers I came up with in about a week.
>>>>>>>>
>>>>>>>> The problem was answered correctly by Richard Tobin (with
>>>>>>>> some help from Jürgen R).
>>>>>>>>
>>>>>>>> Here's a variation ...
>>>>>>>>
>>>>>>>> Same game, same rules, with one change to the game, and with
>>>>>>>> a modified goal:
>>>>>>>>
>>>>>>> >From a shuffled full deck, the first 26 cards are removed in
>>>>>>>> advance. The player is aware that 26 cards are left, but doesn't
>>>>>>>> know which ones. The betting phase then begins.
>>>>>>>>
>>>>>>>> Problem:
>>>>>>>>
>>>>>>>> For a betting strategy, S say, let p(S) be the probability
>>>>>>>> that the player's final wealth is at least 2. Over all
>>>>>>>> possible choices of S, what is the maximum value of p(S)?
>>>>>>>
>>>>>>> Let me clarify the objective ...
>>>>>>>
>>>>>>> The money is just play money -- the player doesn't get to keep
>>>>>>> it. To win the game, the player's final wealth must be at least
>>>>>>> 2, else the player loses. Thus, if the player's final wealth
>>>>>>> exceeds 2, the excess is irrelevant. Analogously, if the final
>>>>>>> wealth is less than 2, it might as well be 0.
>>>>>>>
>>>>>>> In this context, an optimal betting strategy is one which
>>>>>>> maximizes the player's probability of winning. The problem
>>>>>>> is to find this maximum probability.
>>>>>>>
>>>>>>>> Remarks:
>>>>>>>>
>>>>>>>> (1) I haven't yet tried it, so I don't know the answer.
>>>>>>>>
>>>>>>>> (2) I don't know if it's a good problem.
>>>>>>
>>>>>> I can at least say this ...
>>>>>>
>>>>>> It's a much harder problem than the previous one.
>>>>>>
>>>>>> Let's consider some naive strategies ...
>>>>>>
>>>>>> Naive Strategy (1):
>>>>>>
>>>>>>    Bet 1 on the first card (red or black, it doesn't matter).
>>>>>>
>>>>>>    The above "blind" strategy yields a probability to win
>>>>>>    of 1/2.
>>>>>>
>>>>>> Naive Strategy (2):
>>>>>>
>>>>>>    Pass on the first card, then bet 1 on the second card,
>>>>>>    either on black if the first card is red, or on red if
>>>>>>    the first card is black.
>>>>>>
>>>>>>    The above strategy yields a probability to win of
>>>>>>
>>>>>>       26/51 = .5098039216 [approx]
>>>>>>
>>>>>>    which is better than naive strategy 1.
>>>>>>
>>>>>> Naive Strategy (3):
>>>>>>
>>>>>>    Pass the first 25 cards, then bet 1 on the last card,
>>>>>>    choosing whichever color had the least number of
>>>>>>    occurrences in the first 25 cards.
>>>>>>
>>>>>>    The above strategy yields a probability to win of
>>>>>>
>>>>>>       82533729461/148835093922 = .5545313762 [approx]
>>>>>>
>>>>>>    which is better than naive strategy 2.
>>>>>>
>>>>>> But the above strategies are not even close to optimal.
>>>>>>
>>>>>> While I haven't yet worked out an optimal strategy, I do have
>>>>>> a strategy which I think is _nearly_ optimal, yielding a
>>>>>> probability to win between .65 and .66.
>>>>>
>>>>> I have the exact answer now.
>>>>>
>>>>> I computed a betting strategy which provably maximizes the
>>>>> player's probability of winning the game.
>>>>>
>>>>> The maximum probability is a rational number -- computable but
>>>>> not guessable. I'll leave it as a challenge problem, no time
>>>>> limit, but if someone posts the correct maximum probability,
>>>>> I'll affirm it.
>>>>>
>>>>> Warning -- this is a difficult problem, both theoretically and
>>>>> computationally.
>>>>
>>>> Am I reading this right?
>>>> You are removing half the shuffled deck leaving just 26 cards
>>>> that are used in the play?
>>>
>>> Yes.
>>>
>>>> More then one full deck of shuffled cards can be halved but
>>>> for the sake of argument just one deck is used and the half
>>>> is removed.
>>>
>>> Yes, 26 cards are removed, 26 remain.
>>>
>>>> If this is true then you are playing roulette without the
>>>> (single zero European roulette) or (double zero American)
>>>> table.
>>>>
>>>> No advantage either way, a zero sum game.
>>>> Or a coin toss.
>>>
>>> No.
>>>
>>> In roulette (with half red, half black), if red comes up on
>>> the first roll, the probabilities for the color of the second
>>> roll are 1/2 for red, 1/2 for black (same as it was for the
>>> first roll).
>>>
>>> But in this game, if the first card turned over is red, the
>>> probabilities for the color of the second card are 25/51 for
>>> red, 26/51 for black.
>>>
>>> Now consider naive strategy #2 (in the part of my post where
>>> I outlined some "naive" strategies).
>>>
>>> quasi
>>
>> Hi quasi,
>>
>> But are you still splitting the shuffled deck in half and using only 1/2 the
>> original deck of 52 cards never referring to the 1/2 deck you took out of play?
>> If that is the case it is still a zero sum game where house or player have no
>> advantage. I do not care what kind of strategy you use if that is the case.
>> A zero sum game in the long haul. If you, at some point, are bringing in the other 1/2 of the un-played deck then it becomes a little more dicey.
>>
>> No pun intended because I am a craps shooter.;-)
>>
>> Dan
>
> I should have added, how can you include the 51 remaining cards in your
> calculations when you are not using the full deck. Only 26 cards should be considered. Just my thoughts.

The setup is the same as dealing from a full deck and stopping after 
card 26.

You have 26 betting opportunities. Of these at least 13 offer odds in 
your favor, the other 13 have 50:50 odds at worst.

I don't see an analytic solution to this one. The previous problem had a 
very neat and surprising closed-form solution that you can find by 
setting up the recursion and using the Pascal triangle identity.


Back to sci.math | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

optimal betting quasi <quasi@null.set> - 2016-04-18 03:15 -0500
  Re: optimal betting R Kym Horsell <kym@kymhorsell.com> - 2016-04-18 10:07 +0000
  Re: optimal betting richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-04-18 13:22 +0000
    Re: optimal betting Jürgen R. <jurgenr@web.de> - 2016-04-18 15:49 +0200
      Re: optimal betting richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-04-18 14:01 +0000
  Re: optimal betting richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-04-18 16:38 +0000
    Re: optimal betting richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-04-18 17:04 +0000
      Re: optimal betting quasi <quasi@null.set> - 2016-04-18 13:45 -0500
        Re: optimal betting R Kym Horsell <kym@kymhorsell.com> - 2016-04-19 01:36 +0000
          Re: optimal betting quasi <quasi@null.set> - 2016-04-18 21:56 -0500
  Re: optimal betting quasi <quasi@null.set> - 2016-04-18 14:35 -0500
    Re: optimal betting quasi <quasi@null.set> - 2016-04-18 15:14 -0500
      Re: optimal betting Virgil <VIRGIL@VIRGIL.com> - 2016-04-18 13:32 -0600
        Re: optimal betting Jamie M <jmorken@shaw.ca> - 2016-04-18 12:53 -0700
          Re: optimal betting R Kym Horsell <kym@kymhorsell.com> - 2016-04-18 20:31 +0000
            Re: optimal betting Jamie M <jmorken@shaw.ca> - 2016-04-18 17:40 -0700
          Re: optimal betting Virgil <VIRGIL@VIRGIL.com> - 2016-04-18 17:24 -0600
            Re: optimal betting richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-04-19 00:24 +0000
              Re: optimal betting Virgil <VIRGIL@VIRGIL.com> - 2016-04-18 18:54 -0600
    Re: optimal betting quasi <quasi@null.set> - 2016-04-18 20:41 -0500
      Re: optimal betting Jamie M <jmorken@shaw.ca> - 2016-04-18 17:50 -0700
        Re: optimal betting Virgil <VIRGIL@VIRGIL.com> - 2016-04-18 20:40 -0600
          Re: optimal betting Jamie M <jmorken@shaw.ca> - 2016-04-18 19:50 -0700
          Re: optimal betting "Ross A. Finlayson" <ross.finlayson@gmail.com> - 2016-04-18 20:48 -0700
            Re: optimal betting "Ross A. Finlayson" <ross.finlayson@gmail.com> - 2016-04-18 21:04 -0700
      Re: optimal betting quasi <quasi@null.set> - 2016-04-19 18:02 -0500
        Re: optimal betting quasi <quasi@null.set> - 2016-04-25 03:28 -0500
          Re: optimal betting djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-25 05:46 -0700
            Re: optimal betting quasi <quasi@null.set> - 2016-04-25 11:46 -0500
              Re: optimal betting djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-25 09:04 -0700
                Re: optimal betting djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-25 09:14 -0700
                Re: optimal betting Jürgen R. <jurgenr@web.de> - 2016-04-25 18:26 +0200
                Re: optimal betting djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-25 10:51 -0700
                Re: optimal betting quasi <quasi@null.set> - 2016-04-25 14:03 -0500
                Re: optimal betting djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-25 11:49 -0700
                Re: optimal betting quasi <quasi@null.set> - 2016-04-25 15:10 -0500
                Re: optimal betting djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-25 16:47 -0700
                Re: optimal betting Peter Percival <peterxpercival@hotmail.com> - 2016-04-26 10:47 +0100
                Re: optimal betting djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-26 08:05 -0700
                Re: optimal betting quasi <quasi@null.set> - 2016-04-26 16:05 -0500
                Re: optimal betting djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-26 18:28 -0700
                Re: optimal betting quasi <quasi@null.set> - 2016-04-26 21:46 -0500
                Re: optimal betting djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-26 19:13 -0700
                Re: optimal betting quasi <quasi@null.set> - 2016-04-26 22:04 -0500
                Re: optimal betting grahamcooper7@gmail.com - 2016-04-26 19:25 -0700
                Re: optimal betting Peter Percival <peterxpercival@hotmail.com> - 2016-04-26 21:26 +0100
  Re: optimal betting William Elliot <marsh@panix.com> - 2016-04-18 20:30 -0700
    Re: optimal betting Leon Aigret <aigret@address.invalid> - 2016-04-19 14:25 +0200
      Re: optimal betting quasi <quasi@null.set> - 2016-04-19 12:08 -0500
    Re: optimal betting quasi <quasi@null.set> - 2016-04-19 11:58 -0500
  Re: optimal betting grahamcooper7@gmail.com - 2016-04-25 12:47 -0700

csiph-web