scrooge
scrooge
  • Threads: 4
  • Posts: 39
Joined: Nov 22, 2016
September 22nd, 2021 at 4:18:06 PM permalink
The St Petersberg game is based on repeated coin flips. The payoff is $(2^n) where n is the number of flips. The game ends with the first tails.

So the EV is $2/2 + $4/4 + $8/8 + $16/16 + ... = $infinity

The variance is also infinite.

The question: As a function of your bankroll B, what is the max price P you should willing to pay to play the game?

Solution:

The max is where CE=0, which is where the log of your bankroll equals the expectation of the log of your post-game bankroll.

lg(B) = lg(B-P+2)/2 + lg(B-P+4)/4 + lg(B-P+8)/8 + ...

(the base of the logarithm doesn't matter here because it just multiplies both sides by the same constant, so I'm using base 2 for convenience)

B = 2^( lg(B-P+2)/2 + lg(B-P+4)/4 + lg(B-P+8)/8 + ...)

B = (B-P+2)^(1/2) * (B-P+4)^(1/4) * (B-P+8)^(1/8) * ...

Solve it numerically by plugging in various values of B-P

B-P=5 -> B=9.97
B-P=10 -> B=15.47
B-P=20 -> B=26.09
B-P=40 -> B=46.81
B-P=80 -> B=87.62
B-P=1000 -> B=1010.97

This means when your bankroll is $1010.97 you should be willing to pay up to $10.97 to play the St Petersburg game.
unJon
unJon
  • Threads: 14
  • Posts: 4612
Joined: Jul 1, 2018
September 22nd, 2021 at 4:30:17 PM permalink
Quote: scrooge

The St Petersberg game is based on repeated coin flips. The payoff is $(2^n) where n is the number of flips. The game ends with the first tails.

So the EV is $2/2 + $4/4 + $8/8 + $16/16 + ... = $infinity

The variance is also infinite.

The question: As a function of your bankroll B, what is the max price P you should willing to pay to play the game?

Solution:


The max is where CE=0, which is where the log of your bankroll equals the expectation of the log of your post-game bankroll.

lg(B) = lg(B-P+2)/2 + lg(B-P+4)/4 + lg(B-P+8)/8 + ...

(the base of the logarithm doesn't matter here because it just multiplies both sides by the same constant, so I'm using base 2 for convenience)

B = 2^( lg(B-P+2)/2 + lg(B-P+4)/4 + lg(B-P+8)/8 + ...)

B = (B-P+2)^(1/2) * (B-P+4)^(1/4) * (B-P+8)^(1/8) * ...

Solve it numerically by plugging in various values of B-P

B-P=5 -> B=9.97
B-P=10 -> B=15.47
B-P=20 -> B=26.09
B-P=40 -> B=46.81
B-P=80 -> B=87.62
B-P=1000 -> B=1010.97

This means when your bankroll is $1010.97 you should be willing to pay up to $10.97 to play the St Petersburg game.
  • link to original post



    An initial observation. It’s trivial to modify the payoffs of the paradox so that the log of the payout series is infinite. What should you pay then?
    The race is not always to the swift, nor the battle to the strong; but that is the way to bet.
    scrooge
    scrooge
    • Threads: 4
    • Posts: 39
    Joined: Nov 22, 2016
    September 22nd, 2021 at 4:46:52 PM permalink
    If the payoffs are 2^(2n) instead of 2^n then that infinite product diverges. I think that means no matter how large your bankroll is, you can go all in. Even the worst case you still get $4 back. If the payoff is 0 for n=1 and 2^(2n) for n>1, that's hard.
    Wizard
    Administrator
    Wizard
    • Threads: 1494
    • Posts: 26514
    Joined: Oct 14, 2009
    September 22nd, 2021 at 8:21:27 PM permalink
    I show the player should be indifferent to paying 4.36019% of his wealth to play.
    "For with much wisdom comes much sorrow." -- Ecclesiastes 1:18 (NIV)
    scrooge
    scrooge
    • Threads: 4
    • Posts: 39
    Joined: Nov 22, 2016
    September 22nd, 2021 at 9:26:28 PM permalink
    Quote: Wizard

    I show the player should be indifferent to paying 4.36019% of his wealth to play.
  • link to original post



    Small hint:
    As bankroll increases, the percentage of bankroll you're willing to pay should decrease.
    unJon
    unJon
    • Threads: 14
    • Posts: 4612
    Joined: Jul 1, 2018
    September 23rd, 2021 at 2:15:53 AM permalink
    Quote: scrooge

    If the payoffs are 2^(2n) instead of 2^n then that infinite product diverges. I think that means no matter how large your bankroll is, you can go all in. Even the worst case you still get $4 back. If the payoff is 0 for n=1 and 2^(2n) for n>1, that's hard.
  • link to original post



    As to that, you could have $0 returned if flip 1 is tails but then keep everything else the same. Series should still diverge.
    The race is not always to the swift, nor the battle to the strong; but that is the way to bet.
    scrooge
    scrooge
    • Threads: 4
    • Posts: 39
    Joined: Nov 22, 2016
    September 23rd, 2021 at 2:57:52 AM permalink
    When you go all in and there's a possibility of zero payoff, the first term in the infinite product will be zero.
    Wizard
    Administrator
    Wizard
    • Threads: 1494
    • Posts: 26514
    Joined: Oct 14, 2009
    September 23rd, 2021 at 6:40:46 PM permalink
    Quote: scrooge

    Small hint:

    As bankroll increases, the percentage of bankroll you're willing to pay should decrease.
  • link to original post



    You're absolutely right. I stand corrected.
    "For with much wisdom comes much sorrow." -- Ecclesiastes 1:18 (NIV)
    • Jump to: