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


Groups > sci.math > #332066 > unrolled thread

optimal betting

Started byquasi <quasi@null.set>
First post2016-04-18 03:15 -0500
Last post2016-04-25 12:47 -0700
Articles 20 on this page of 51 — 12 participants

Back to article view | Back to sci.math


Contents

  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

Page 1 of 3  [1] 2 3  Next page →


#332066 — optimal betting

Fromquasi <quasi@null.set>
Date2016-04-18 03:15 -0500
Subjectoptimal betting
Message-ID<1j39hbdpiomijhj9anqbsgsk9ao8diro3n@4ax.com>
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 if 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.

quasi

[toc] | [next] | [standalone]


#332073

FromR Kym Horsell <kym@kymhorsell.com>
Date2016-04-18 10:07 +0000
Message-ID<nf2bl6$rcs$1@odin.sdf-eu.org>
In reply to#332066
quasi <quasi@null.set> 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.
...

Nice problem.

[toc] | [prev] | [next] | [standalone]


#332082

Fromrichard@cogsci.ed.ac.uk (Richard Tobin)
Date2016-04-18 13:22 +0000
Message-ID<nf2n2b$192g$1@macpro.inf.ed.ac.uk>
In reply to#332066
In article <1j39hbdpiomijhj9anqbsgsk9ao8diro3n@4ax.com>,
quasi  <quasi@null.set> wrote:

>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.

Surely if there is any chance that you will lose a bet, it cannot
improve your worst case to take it - because you might lose, and
your position then will be worse than if you had not bet.

So the optimal strategy is not to bet until you can't lose -- i.e.
all the remaining cards are the same colour.  This may not happen
until the last card, so your worst-case final wealth is 2.

Or have I misunderstood?

-- Richard

[toc] | [prev] | [next] | [standalone]


#332083

FromJürgen R. <jurgenr@web.de>
Date2016-04-18 15:49 +0200
Message-ID<nf2oet$i52$1@dont-email.me>
In reply to#332082
On 18.04.2016 15:22, Richard Tobin wrote:
> In article <1j39hbdpiomijhj9anqbsgsk9ao8diro3n@4ax.com>,
> quasi  <quasi@null.set> wrote:
>
>> 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.
>
> Surely if there is any chance that you will lose a bet, it cannot
> improve your worst case to take it - because you might lose, and
> your position then will be worse than if you had not bet.
>
> So the optimal strategy is not to bet until you can't lose -- i.e.
> all the remaining cards are the same colour.  This may not happen
> until the last card, so your worst-case final wealth is 2.
>
> Or have I misunderstood?

My experience with quasi's problems is that it makes sense to think 
twice before concluding that it is trivial. I have fallen into this trap 
more than once.

In the present case, consider the situation when 3 are left. Writing 0 & 
1 for even & odd, you are left with essentially 2 possibilities, namely 
111 or 011. So if you wait until 3 are left your worst case will be 011. 
Now if you bet 1/3 of your capital on 1 you will end up with 8/3 in the 
worst case, i.e. more than 2.

[toc] | [prev] | [next] | [standalone]


#332084

Fromrichard@cogsci.ed.ac.uk (Richard Tobin)
Date2016-04-18 14:01 +0000
Message-ID<nf2pcf$1a79$1@macpro.inf.ed.ac.uk>
In reply to#332083
In article <nf2oet$i52$1@dont-email.me>, Jürgen R.  <jurgenr@web.de> wrote:
>On 18.04.2016 15:22, Richard Tobin wrote:

>> Surely if there is any chance that you will lose a bet, it cannot
>> improve your worst case to take it - because you might lose, and
>> your position then will be worse than if you had not bet.

>In the present case, consider the situation when 3 are left. Writing 0 & 
>1 for even & odd, you are left with essentially 2 possibilities, namely 
>111 or 011. So if you wait until 3 are left your worst case will be 011. 
>Now if you bet 1/3 of your capital on 1 you will end up with 8/3 in the 
>worst case, i.e. more than 2.

Hmm, yes, I had considered that case but miscalculated!

The flaw in my description above is that you will indeed be worse off
if you lose the bet, but that will only happen (in this case) when the
resulting situation is so good as to make it irrelevant to the worst
case.

-- Richard

[toc] | [prev] | [next] | [standalone]


#332097

Fromrichard@cogsci.ed.ac.uk (Richard Tobin)
Date2016-04-18 16:38 +0000
Message-ID<nf32hb$1eg2$1@macpro.inf.ed.ac.uk>
In reply to#332066
In article <1j39hbdpiomijhj9anqbsgsk9ao8diro3n@4ax.com>,
quasi  <quasi@null.set> wrote:

>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?

Ignoring my earlier incorrect analysis...

I calculate the worst case final wealth with optimal strategy to be
9.081.  Does that match yours?

-- Richard

[toc] | [prev] | [next] | [standalone]


#332098

Fromrichard@cogsci.ed.ac.uk (Richard Tobin)
Date2016-04-18 17:04 +0000
Message-ID<nf342g$1g42$1@macpro.inf.ed.ac.uk>
In reply to#332097
In article <nf32hb$1eg2$1@macpro.inf.ed.ac.uk>, I wrote:

>I calculate the worst case final wealth with optimal strategy to be
>9.081.  Does that match yours?

If there are r reds and b blacks remaining, r>b, you should bet
(r-b)/(r+b) of your money on r, and vice versa.

-- Richard

[toc] | [prev] | [next] | [standalone]


#332099

Fromquasi <quasi@null.set>
Date2016-04-18 13:45 -0500
Message-ID<ofaahbdhpv4ibfp4ph2v1g9pl3b2i3oonl@4ax.com>
In reply to#332098
Richard Tobin wrote:
>Richard Tobin wrote:
>>
>>I calculate the worst case final wealth with optimal strategy to be
>>9.081.  Does that match yours?

Yes.

>If there are r reds and b blacks remaining, r>b, you should bet
>(r-b)/(r+b) of your money on r, and vice versa.

Yes.

Very good.

quasi

[toc] | [prev] | [next] | [standalone]


#332120

FromR Kym Horsell <kym@kymhorsell.com>
Date2016-04-19 01:36 +0000
Message-ID<nf423m$cr8$1@odin.sdf-eu.org>
In reply to#332099
quasi <quasi@null.set> wrote:
> Richard Tobin wrote:
>>Richard Tobin wrote:
>>>I calculate the worst case final wealth with optimal strategy to be
>>>9.081.  Does that match yours?
> Yes.
>>If there are r reds and b blacks remaining, r>b, you should bet
>>(r-b)/(r+b) of your money on r, and vice versa.
> Yes.
> Very good.
> quasi

AFAIK provided the prop of red is not 0 or 1 and you know
this a priori betting in proption with |1-2r| where r is the
prob of the next draw being red gives the same lwb.
(Obviously bet black if r<.5).

It's a neat problem in that it undermines faith in
ultra conservative  rules of thumb like "never bet" or "bet
only when you are absolutely sure".

[toc] | [prev] | [next] | [standalone]


#332121

Fromquasi <quasi@null.set>
Date2016-04-18 21:56 -0500
Message-ID<a87bhb1g7b3a95njsubcuvr945qdmh6369@4ax.com>
In reply to#332120
R Kym Horsell wrote:
>quasi wrote:
>>Richard Tobin wrote:
>>>Richard Tobin wrote:
>>>>
>>>>I calculate the worst case final wealth with optimal strategy 
>>>>to be 9.081.  Does that match yours?
>>Yes.
>>>If there are r reds and b blacks remaining, r>b, you should 
>>>bet(r-b)/(r+b) of your money on r, and vice versa.
>>Yes.
>>Very good.
>
>AFAIK provided the prop of red is not 0 or 1 and you know
>this a priori betting in proption with |1-2r| where r is the
>prob of the next draw being red gives the same lwb.
>(Obviously bet black if r<.5).
>
>It's a neat problem in that it undermines faith in ultra 
>conservative  rules of thumb like "never bet" or "bet only 
>when you are absolutely sure".

But it jibes well with the gambler's dictum

   "You gotta be _in_ it, to _win_ it."

quasi

[toc] | [prev] | [next] | [standalone]


#332105

Fromquasi <quasi@null.set>
Date2016-04-18 14:35 -0500
Message-ID<6odahbh811piuumejbc205eqk3c2uslboh@4ax.com>
In reply to#332066
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.

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)?

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. 

quasi

[toc] | [prev] | [next] | [standalone]


#332106

Fromquasi <quasi@null.set>
Date2016-04-18 15:14 -0500
Message-ID<psfahbh94arsh25rifvgtod9u68fpho18c@4ax.com>
In reply to#332105
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.

(so as to give proper credit).

quasi

[toc] | [prev] | [next] | [standalone]


#332107

FromVirgil <VIRGIL@VIRGIL.com>
Date2016-04-18 13:32 -0600
Message-ID<VIRGIL-8A11A2.13324318042016@news.giganews.com>
In reply to#332106
>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?

There is no bet or sequence of bets than can GUARANTEE a final result of 
more than one starts with, so the optimal strategy, and the only one 
that can avoids any lossat all, is not to bet at all.
-- 
Virgil
"Mit der Dummheit kampfen Gotter selbst vergebens." (Schiller)

[toc] | [prev] | [next] | [standalone]


#332108

FromJamie M <jmorken@shaw.ca>
Date2016-04-18 12:53 -0700
Message-ID<nf3dv1$1uka$1@gioia.aioe.org>
In reply to#332107
On 4/18/2016 12:32 PM, Virgil 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?
>
> There is no bet or sequence of bets than can GUARANTEE a final result of
> more than one starts with, so the optimal strategy, and the only one
> that can avoids any lossat all, is not to bet at all.
>

A standard 52 card deck has half red and half black cards, so
since the cards are dealt face up you can count the cards, and
then know what colour he last card will be before it is dealt.

So the simplest strategy is to just bet everything on the last
known card.  But as was stated based on how many cards are remaining
of each colour you should bet that amount, but that isn't guaranteed
to leave you with any money if you get a streak of multiple
wrong bets.

cheers,
Jamie

[toc] | [prev] | [next] | [standalone]


#332111

FromR Kym Horsell <kym@kymhorsell.com>
Date2016-04-18 20:31 +0000
Message-ID<nf3g7v$4u6$1@odin.sdf-eu.org>
In reply to#332108
Jamie M <jmorken@shaw.ca> wrote:
> On 4/18/2016 12:32 PM, Virgil 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?
>> There is no bet or sequence of bets than can GUARANTEE a final result of
>> more than one starts with, so the optimal strategy, and the only one
>> that can avoids any lossat all, is not to bet at all.
> A standard 52 card deck has half red and half black cards, so
> since the cards are dealt face up you can count the cards, and
> then know what colour he last card will be before it is dealt.
> So the simplest strategy is to just bet everything on the last
> known card.  But as was stated based on how many cards are remaining
> of each colour you should bet that amount, but that isn't guaranteed
> to leave you with any money if you get a streak of multiple
> wrong bets.
> cheers,
> Jamie


Sorry. The optimum is to bet in proportion to how certain
you are of the outcome, by counting cards.
Not to bet at all -> 1.
To bet only when 100% certain -> 2.
To bet |1-2r|  where r is the prob of a red on the next draw -> 9+.

[toc] | [prev] | [next] | [standalone]


#332116

FromJamie M <jmorken@shaw.ca>
Date2016-04-18 17:40 -0700
Message-ID<nf3upv$lko$1@gioia.aioe.org>
In reply to#332111
On 4/18/2016 1:31 PM, R Kym Horsell wrote:
> Jamie M <jmorken@shaw.ca> wrote:
>> On 4/18/2016 12:32 PM, Virgil 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?
>>> There is no bet or sequence of bets than can GUARANTEE a final result of
>>> more than one starts with, so the optimal strategy, and the only one
>>> that can avoids any lossat all, is not to bet at all.
>> A standard 52 card deck has half red and half black cards, so
>> since the cards are dealt face up you can count the cards, and
>> then know what colour he last card will be before it is dealt.
>> So the simplest strategy is to just bet everything on the last
>> known card.  But as was stated based on how many cards are remaining
>> of each colour you should bet that amount, but that isn't guaranteed
>> to leave you with any money if you get a streak of multiple
>> wrong bets.
>> cheers,
>> Jamie
>
>
> Sorry. The optimum is to bet in proportion to how certain
> you are of the outcome, by counting cards.
> Not to bet at all -> 1.
> To bet only when 100% certain -> 2.
> To bet |1-2r|  where r is the prob of a red on the next draw -> 9+.
>
>

That optimum overall strategy has both a higher maximum and
higher average payout, but it also has a lower payout in a
small percentage of cases compared to only betting when
the remaining cards are all known to be just one colour.

cheers,
Jamie

[toc] | [prev] | [next] | [standalone]


#332113

FromVirgil <VIRGIL@VIRGIL.com>
Date2016-04-18 17:24 -0600
Message-ID<VIRGIL-067C09.17244018042016@news.giganews.com>
In reply to#332108
In article <nf3dv1$1uka$1@gioia.aioe.org>, Jamie M <jmorken@shaw.ca> 
wrote:

> On 4/18/2016 12:32 PM, Virgil 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?
> >
> > There is no bet or sequence of bets than can GUARANTEE a final result of
> > more than one starts with, so the optimal strategy, and the only one
> > that can avoids any lossat all, is not to bet at all.
> >
> 
> A standard 52 card deck has half red and half black cards, so
> since the cards are dealt face up you can count the cards, and
> then know what colour he last card will be before it is dealt.
> 
> So the simplest strategy is to just bet everything on the last
> known card.  But as was stated based on how many cards are remaining
> of each colour you should bet that amount, but that isn't guaranteed
> to leave you with any money if you get a streak of multiple
> wrong bets.
> 
> cheers,
> Jamie

 If, as said above,"The goal of the player is to maximize the worst-case 
final wealth", one cannot improve on a worst case  result (losing any 
and every bet) of not betting at all.
-- 
Virgil
"Mit der Dummheit kampfen Gotter selbst vergebens." (Schiller)

[toc] | [prev] | [next] | [standalone]


#332115

Fromrichard@cogsci.ed.ac.uk (Richard Tobin)
Date2016-04-19 00:24 +0000
Message-ID<nf3ts9$1tkv$1@macpro.inf.ed.ac.uk>
In reply to#332113
In article <VIRGIL-067C09.17244018042016@news.giganews.com>,
Virgil  <VIRGIL@VIRGIL.com> wrote:

> If, as said above,"The goal of the player is to maximize the worst-case 
>final wealth", one cannot improve on a worst case  result (losing any 
>and every bet) of not betting at all.

For a start, you can improve it by winning the bet on the final card,
since you know what it will be after all the others have been shown.

-- Richard

[toc] | [prev] | [next] | [standalone]


#332119

FromVirgil <VIRGIL@VIRGIL.com>
Date2016-04-18 18:54 -0600
Message-ID<VIRGIL-BBEFBD.18542118042016@news.giganews.com>
In reply to#332115
In article <nf3ts9$1tkv$1@macpro.inf.ed.ac.uk>,
 richard@cogsci.ed.ac.uk (Richard Tobin) wrote:

> In article <VIRGIL-067C09.17244018042016@news.giganews.com>,
> Virgil  <VIRGIL@VIRGIL.com> wrote:
> 
> > If, as said above,"The goal of the player is to maximize the worst-case 
> >final wealth", one cannot improve on a worst case  result (losing any 
> >and every bet) of not betting at all.
> 
> For a start, you can improve it by winning the bet on the final card,
> since you know what it will be after all the others have been shown.
 
My error! I did not note the once through the deck condition in my 
analysis! My analysis only holds if the deck is essentially infinite or 
is  a full  reshuffled deck for each draw.
-- 
Virgil
"Mit der Dummheit kampfen Gotter selbst vergebens." (Schiller)

[toc] | [prev] | [next] | [standalone]


#332117

Fromquasi <quasi@null.set>
Date2016-04-18 20:41 -0500
Message-ID<sn2bhb9l0r0iic0ns4d00bhkh35466c9e1@4ax.com>
In reply to#332105
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.
>
>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. 

quasi

[toc] | [prev] | [next] | [standalone]


Page 1 of 3  [1] 2 3  Next page →

Back to top | Article view | sci.math


csiph-web