MichaelBluejay
MichaelBluejay
Joined: Sep 17, 2010
  • Threads: 67
  • Posts: 1454
Thanks for this post from:
Mission146
March 1st, 2023 at 9:46:21 AM permalink
I'm having a hard time calculating the house edge in blackjack using the Wizard's data. I'm starting with the Wizard's excellent Blackjack variance article, which includes this table for a particular ruleset:

Net WinProbabilityReturn
-80.00000019-0.00000154
-70.00000235-0.00001643
-60.00001785-0.00010709
-50.00008947-0.00044736
-40.00048248-0.00192993
-30.00207909-0.00623728
-20.04180923-0.08361847
-10.40171191-0.40171191
-0.50.04470705-0.02235353
00.084832900.00000000
10.316979090.31697909
1.50.045296320.06794448
20.058442990.11688598
30.002596450.00778935
40.000763230.00305292
50.000144910.00072453
60.000037740.00022646
70.000006090.00004263
80.000000660.00000526
Total1.00000000-0.00277282


i.e., house edge of -0.277282%

I tried to use that data to calculate the RTP another way: $ returned to player ÷ total amount bet. For each line where we didn't lose, I tally the $ the player was paid, plus getting their non-losing bet back. First I'll show how that would look with a -simple, made-up game:

Net Win]ProbabilityReturn
-10.51-0.51
+10.49+0.49
Total1-0.02


i.e., 2% house edge.

We could get the same result by looking at only the non-losing bets, plus getting our money back on those bets:

Net Win]Bet returnedRaw returnProbabilityReturn
+1+120.490.98
Total0.98


i.e., 98% of money returned to player.

But that method doesn't work with the blackjack data:

Net winBet returnedTotalProbabilityReturn
0110.084832900.08483290
1120.316979090.63395818
1.512.50.045296320.11324080
2130.058442990.17532897
3140.002596450.01038580
4150.000763230.00381615
5160.000144910.00086946
6170.000037740.00026418
7180.000006090.00004872
8190.000000660.00000594
Total0.509100381.0228


For starters, the probability of having a non-losing hand is positive, so it seems that it's not possible that we're gonna see a house edge in this game. And indeed, the return shown is 1.0228, a 2.28% player edge.

I'm thinking that the reason for the discrepancy is that blackjack is special in that you can lose more than the original bet (e.g., a loss of -8 if you split 3x to 4 hands and double each one). Classic calculation for BJ house edge is relative to the original wager only, not any extra $ you put down for doubles and splits. So, my conclusion is that my method would work for most other games, but not in a game where you can lose more than your original bet. Does that seem right?
Ace2
Ace2
Joined: Oct 2, 2017
  • Threads: 31
  • Posts: 2315
Thanks for this post from:
Mission146
March 1st, 2023 at 12:57:25 PM permalink
Seem right? Actually, that seems all wrong, excluding the unaltered data copied from Wizard
It’s all about making that GTA
MichaelBluejay
MichaelBluejay
Joined: Sep 17, 2010
  • Threads: 67
  • Posts: 1454
Thanks for this post from:
Mission146
March 1st, 2023 at 1:03:45 PM permalink
Okay then, care to explain?
gordonm888
Administrator
gordonm888
Joined: Feb 18, 2015
  • Threads: 59
  • Posts: 4319
Thanks for this post from:
MichaelBluejayMission146
March 1st, 2023 at 1:30:51 PM permalink
Michael, I believe you have misunderstood Wizard's published table.

When there is net payout of +8, he is providing the probability or frequency with which the following has occured:
- player is dealt a pair that is split and resplit until he has four separate hands
- each of the four hands is then doubled (after split)
- each of the four doubled hands wins versus the dealer's hand
- your net outcome after this action is that you are +8 units wealthier than you were before the action

When there is a net payout of -8 units, the identical action has occured- you have split and resplit to 4 hands and doubled each of the four hands - but each of the four doubled hands has lost to the dealer's hand and you lost a total of 8 chips.

So, when you win or tie the value of the "net payout" already includes the return of your original wager.
So many better men, a few of them friends, are dead. And a thousand thousand slimy things live on, and so do I.
MichaelBluejay
MichaelBluejay
Joined: Sep 17, 2010
  • Threads: 67
  • Posts: 1454
Thanks for this post from:
Mission146
March 1st, 2023 at 1:52:49 PM permalink
I already understood all your bullet points, I'm not sure why you'd think I didn't.

But does the +8 really include the return of the original wager? If you make a bet and split to 4 hands, that's 4 units wagered. If you double each of those, you've now wagered 8 units. If you win all of those, then you're +8 from where you started. In addition to that +8, you also get back everything you put on the table (8 units).

As I said in my OP, with a similar table to the Wizard's for a simple game, I can look at the winning line(s) only to figure the return, but that doesn't work with the blackjack table, and I'm thinking the reason is that blackjack is special in that you can lose *more* than the original wager.
Mental
Mental
Joined: Dec 10, 2018
  • Threads: 7
  • Posts: 467
Thanks for this post from:
Mission146teliot
March 1st, 2023 at 4:33:00 PM permalink
Quote: MichaelBluejay

I'm thinking that the reason for the discrepancy is that blackjack is special in that you can lose more than the original bet (e.g., a loss of -8 if you split 3x to 4 hands and double each one). Classic calculation for BJ house edge is relative to the original wager only, not any extra $ you put down for doubles and splits. So, my conclusion is that my method would work for most other games, but not in a game where you can lose more than your original bet. Does that seem right?
link to original post

You cannot determine the number of bets at risk from this table. Therefore, you cannot determine the net W/L divided by the money put at risk.

Just look at the line for 'Net Win' = zero. This represents a large number of hands where you simply push plus a large number of hands where you double and push or split and win one and lose one hand. Also, it includes a smaller number of hands where you spilt/double to four bet units and get back four units, etc.

At no place in this table does the Wizard provide information regarding these partial probabilities. I assume he calculated them separately in his work product, but just chose not to display them here. If you knew what the subfractions were, then you could calculate the denominator for ROI.

Two lines where you know the amount of money at risk are the +8 and -8 lines. These are purely the result of winning or losing all bets with 8 units bet. I think +7 and -7 are also pure. The other lines are a mixture of different numbers of bets at risk.
Last edited by: Mental on Mar 1, 2023
MichaelBluejay
MichaelBluejay
Joined: Sep 17, 2010
  • Threads: 67
  • Posts: 1454
Thanks for this post from:
Mission146
March 1st, 2023 at 4:54:47 PM permalink
Quote: Mental

You cannot determine the number of bets at risk from this table.

The amount put at risk is arbitrary. He's showing eight decimals. Okay, then $100,000,000 @ $1/round would cover the whole table.

Quote: Mental

At no place in this table does the Wizard provide information regarding these partial probabilities. I assume he calculated them separately in his work product, but just chose not to display them here.

How do you figure? My conclusion was the opposite: He *did* include those hands. e.g., Split once, one hand win, the other loses, that's a net of zero, showed on the Net Win = 0 line.

Though no one is addressing my conjecture directly, it seems more and more to me like the reason I can't add the positive lines (like I can with the other game) is because blackjack is screwy in that you can lose *more* than your original wager.
Mental
Mental
Joined: Dec 10, 2018
  • Threads: 7
  • Posts: 467
Thanks for this post from:
MichaelBluejayMission146
March 1st, 2023 at 5:23:21 PM permalink
Yes, your example assumes that 1 unit is wagered and lost on all other outcomes not included in the 0.49 probability. This is why I would never think to use this shortcut in the calculation. This is clearly not a general rule for PDFs even if it is common in gambling situations.

UTH and betting progressions are also examples where more than one unit is bet.
Mental
Mental
Joined: Dec 10, 2018
  • Threads: 7
  • Posts: 467
Thanks for this post from:
MichaelBluejayMission146
March 1st, 2023 at 6:02:53 PM permalink
Your formula is implicitly HE = 0.49 * (2-1) + (1 - 0.49) * (0 - 1) = 0.49 +.49 - 1 = -.02

When the (0 - 1) is not the right value to use in the expectation value calculation, your formulation breaks down.
Ace2
Ace2
Joined: Oct 2, 2017
  • Threads: 31
  • Posts: 2315
Thanks for this post from:
Mission146
March 1st, 2023 at 10:34:43 PM permalink
Blackjack isn’t “special” in that you can lose more than than the original amount bet. In craps you can add multiples of the original bet in free odds after a point is established and potentially lose multiples of the original bet

Any game, including blackjack and craps, can be easily expressed in a binary “p(lose 1) or (1 - p) win x” format exactly matching the variance and edge of the actual game. I believe this is what OP is attempting
It’s all about making that GTA

  • Jump to: