See the top rated post in this thread. Click here

Page 1 of 7 123 ... LastLast
Results 1 to 13 of 85

Thread: More progress on SCORE for optimal play

  1. #1


    6 out of 7 members found this post helpful. Did you find this post helpful? Yes | No

    More progress on SCORE for optimal play

    This is a follow-up to the thread from a few weeks ago, addressing several issues with the assumptions behind the analysis presented there. I have gone back and made some code changes and re-done all of the analysis, so let's try this again...

    First, recall the setup: 6 decks, S17, DOA, DAS, SPL1, no surrender, 75% penetration, with betting constrained to 1-16 spread. (We can turn most of these dials later; my goal right now is to verify methodology, hence the focus on a single set of rules.) NOTE that one dial we can't turn is SPL1; I'll try to explain this algorithm limitation in more detail in another follow-up.

    The most severe deficiency in the earlier posted results was no insurance; I have updated my CA software (see links below) to compute the full probability distribution of net outcomes including arbitrary specified insurance strategy. The results below reflect these changes.

    Another difference was choice of Illustrious 18 indices for the Hi-Lo player. I have included both the "revisited" I18 indices from Cacarulo used earlier, as well as the I18 indices specified in Table 10.1 of BJA3, for comparison.

    Finally, let's set aside the "practical" constraint on betting ramp for now, and stick to the "optimal" approach used in Chapter 10 of BJA3.

    Results are shown below:

    Code:
    Strategy         |  $/hr | SCORE |  ROR   | <=0  +1  +2  +3  +4  +5  +6  +7  +8  +9  >9
    =======================================================================================
    TDZ              | 14.46 | 15.04 | 0.1250 |   6, 20, 57, 93, 96, 96, 96, 96, 96, 96, 96
    Hi-Lo I18 (BJA3) | 19.87 | 21.22 | 0.1182 |   7, 23, 63,102,112,112,112,112,112,112,112
    Hi-Lo I18 (BJA3) | 21.35 | 21.31 | 0.1359 |   8, 23, 63,102,128,128,128,128,128,128,128
    Hi-Lo I18 (Cac)  | 21.51 | 21.60 | 0.1343 |   8, 23, 63,102,128,128,128,128,128,128,128
    Hi-Lo full       | 22.22 | 22.48 | 0.1322 |   8, 23, 63,102,128,128,128,128,128,128,128
    Hi-Opt II full   | 25.19 | 26.65 | 0.1205 |   8,  8, 25, 48, 71, 95,119,128,128,128,128
    Hi-Opt II full   | 26.86 | 26.73 | 0.1367 |   9,  9, 25, 48, 71, 95,119,144,144,144,144
    Optimal (Hi-Lo)  | 30.07 | 31.11 | 0.1262 |   9, 31, 74,118,144,144,144,144,144,144,144
    Optimal (opt.)   | 34.90 | 35.40 | 0.1315 |  10:1:160
    The first column indicates the complexity of strategy used by the modeled player. TDZ is the "dumbest thing that could possibly work": fixed basic total-dependent zero-memory playing strategy, using Hi-Lo solely for betting. At the other extreme, optimal (opt.) is bringing a laptop to the table, making perfect wagering, insurance, and (CDZ-) playing decisions, with perfect knowledge of each pre-deal depleted shoe composition. (For completeness, I also included "Optimal (Hi-Lo)," where the player wagers according to the indicated betting ramp using a Hi-Lo true count, but otherwise makes perfect insurance and playing decisions.)

    The second column indicates the win rate (dollars per hour), assuming 100 hands per hour played according to the indicated betting ramp (also in dollars). Note that the optimal (opt.) betting ramp doesn't use an approximate "true count"; it uses the exact pre-deal distribution of outcomes, and thus the optimal player will end up wagering any integral dollar amount from $10 to $160.

    The third and fourth columns indicate the SCORE and risk of ruin (ROR), respectively. This is where things get interesting: first, I'm excited by these results, particularly those for Hi-Lo I18 (BJA3), since they agree very closely with those provided by another user via independent simulation (you know who you are). But I think these values are not as accurate as they could be; that is, I have computed SCORE and ROR the way they are "usually" computed, but there are a couple of issues with those calculations worth discussing.

    First, the ROR values were computed using the formula on p. 113 of BJA3. This formula (as well as the more accurate version on the previous page 112) is a generally conservative approximation. There is an exact, albeit more complex, algorithm to compute ROR, that in this case affects our choice of optimal betting ramp. For the $8 minimum bet case above, the reported approximate ROR is 13.59%, which is higher than the required 1/e^2 value. But the actual exact value is 13.453%, which sneaks under the bar.

    There is a similar situation with Hi-Opt II; the second, larger SCORE "would" be discarded due to a too-high ROR of 13.67%, but the actual ROR of 13.506% means that we should have kept it.

    Granted, in both of these cases, the difference in SCORE is pretty small. But a difference in feasible win rate of 6-7% seems worth the extra effort to get right.

    (Finally, there is also an issue with how the overall variance is computed, which tends to *over*-estimate SCORE, but this is already comically long, so I'll leave that for another post.)

    If anyone wants to inspect the code, or even reproduce results for themselves:

    Version 7.6 of my blackjack CA used for this analysis is available here, including source:
    https://sites.google.com/site/erfarmer/downloads

    All of the raw data is available at the following link, in a "packed" binary format since the files are pretty big:
    https://drive.google.com/drive/folde...WM?usp=sharing

    Thanks,
    Eric

  2. #2


    Did you find this post helpful? Yes | No
    Damn!!!!! reading this makes me dizzy[smile]
    Best/joe

  3. #3


    Did you find this post helpful? Yes | No
    There isn't much for me comment on but keep up the good work!

    I still have a tab open of your blog from your other post. Now I you posted the link for all these programs. It'll probably take me awhile to look through it all! I've been meaning to get practice with doing CAs myself so I feel like I'll get a lot of use out of of these downloads.

    Seeing this thread only have one reply so far definitely makes me feel obligation to show appreciation for what you've been offering to the community. Thanks!

  4. #4
    Banned or Suspended
    Join Date
    Dec 2011
    Location
    Eastern U S A
    Posts
    6,830


    Did you find this post helpful? Yes | No

    So ... am I reading this correctly?

    The Hi-Lo Ill' 18 player can earn about $21/hr
    while the Hi-Opt II player will earn about $26/hr.
    That equates to be an increment of approx. $5/hr.

    I am continual brow beaten and branded a lunatic
    for suggesting that switching between these two
    counts will result in a significant increase in earnings.

    I may not be a statistician or an actuary but an earnings
    increase of > 20% in a mediocre shoe game impresses.

  5. #5


    Did you find this post helpful? Yes | No
    Quote Originally Posted by ZenMaster_Flash View Post

    So ... am I reading this correctly?

    The Hi-Lo Ill' 18 player can earn about $21/hr
    while the Hi-Opt II player will earn about $26/hr.
    That equates to be an increment of approx. $5/hr.

    I am continual brow beaten and branded a lunatic
    for suggesting that switching between these two
    counts will result in a significant increase in earnings.

    I may not be a statistician or an actuary but an earnings
    increase of > 20% in a mediocre shoe game impresses.
    Correct... but note that that increase in earnings comes at a cost of significant increase in strategy complexity-- the Hi-Opt II player is using *full* indices. Since this has already been asked elsewhere, I should point out that these indices are available in "machine-readable," and moderately human-readable format, in the software distribution that I linked in the OP. In the blackjack7/indices/ folder, see indices_hi_lo_i18_bja3.txt, for example, for the Illustrious 18 indices from Table 10.1 of BJA3. Compare this with indices_hi_opt_2.txt, whose full indices require some 730 lines of hand/up-card/situation combinations to specify.

  6. #6
    Senior Member
    Join Date
    Dec 2011
    Location
    3rd rock from Sol, Milky Way Galaxy
    Posts
    14,158


    Did you find this post helpful? Yes | No
    It looks like Hiopt2 used the ace side count from the stats but you didn't specify in the chart or text of your post so the question must be asked. To generate the data in the chart did Hiopt2 use the ace side count for betting?

  7. #7


    Did you find this post helpful? Yes | No
    Quote Originally Posted by ZenMaster_Flash View Post

    So ... am I reading this correctly?

    The Hi-Lo Ill' 18 player can earn about $21/hr
    while the Hi-Opt II player will earn about $26/hr.
    That equates to be an increment of approx. $5/hr.

    I am continual brow beaten and branded a lunatic
    for suggesting that switching between these two
    counts will result in a significant increase in earnings.

    I may not be a statistician or an actuary but an earnings
    increase of > 20% in a mediocre shoe game impresses.
    Going 100mph instead of 75 mph might get you someplace faster but the skill required, the road conditions and weather, the eyesight and reflexes of the driver and such means that a significant portion of the population are not going to succeed at 100mph.

    For the Indy race car driver (you), it may not make much sense at all but for the rest, it's quite clear.

  8. #8


    Did you find this post helpful? Yes | No
    Quote Originally Posted by NotEnoughHeat View Post
    There isn't much for me comment on but keep up the good work!

    I still have a tab open of your blog from your other post. Now I you posted the link for all these programs. It'll probably take me awhile to look through it all! I've been meaning to get practice with doing CAs myself so I feel like I'll get a lot of use out of of these downloads.

    Seeing this thread only have one reply so far definitely makes me feel obligation to show appreciation for what you've been offering to the community. Thanks!
    Thanks, much appreciated. To clarify, note that *all* of the numbers, plots, etc., currently on my blog assume play *without* insurance. Only the numbers in this post reflect indexed/perfect insurance, one of the issues I needed to address in this re-analysis.

  9. #9


    Did you find this post helpful? Yes | No
    Quote Originally Posted by Tthree View Post
    It looks like Hiopt2 used the ace side count from the stats but you didn't specify in the chart or text of your post so the question must be asked. To generate the data in the chart did Hiopt2 use the ace side count for betting?
    Good question. Yes, the Hi-Opt II numbers zero-count the ace for playing strategy, but side-count aces for betting.

  10. #10
    Senior Member
    Join Date
    Dec 2011
    Location
    3rd rock from Sol, Milky Way Galaxy
    Posts
    14,158


    Did you find this post helpful? Yes | No
    Nice work Eric.
    Quote Originally Posted by ericfarmer View Post
    Code:
    Strategy | $/hr | SCORE | ROR | <=0 +1 +2 +3 +4 +5 +6 +7 +8 +9 >9
    ================================================== =====================================
    TDZ | 14.46 | 15.04 | 0.1250 | 6, 20, 57, 93, 96, 96, 96, 96, 96, 96, 96
    Hi-Lo I18 (BJA3) | 19.87 | 21.22 | 0.1182 | 7, 23, 63,102,112,112,112,112,112,112,112
    Hi-Lo I18 (BJA3) | 21.35 | 21.31 | 0.1359 | 8, 23, 63,102,128,128,128,128,128,128,128
    Hi-Lo I18 (Cac) | 21.51 | 21.60 | 0.1343 | 8, 23, 63,102,128,128,128,128,128,128,128
    Hi-Lo full | 22.22 | 22.48 | 0.1322 | 8, 23, 63,102,128,128,128,128,128,128,128
    Hi-Opt II full | 25.19 | 26.65 | 0.1205 | 8, 8, 25, 48, 71, 95,119,128,128,128,128
    Hi-Opt II full | 26.86 | 26.73 | 0.1367 | 9, 9, 25, 48, 71, 95,119,144,144,144,144
    Optimal (Hi-Lo) | 30.07 | 31.11 | 0.1262 | 9, 31, 74,118,144,144,144,144,144,144,144
    Optimal (opt.) | 34.90 | 35.40 | 0.1315 | 10:1:160
    Interesting. So contrary to what everyone preaches playing strategy is very important and optimal playing strategy increases the best Hilo (full indices) by over 35% in win rate and over 27% in SCORE while still hiding some gain in decreased RoR. The gains are mostly from the effect that this has on optimal betting (So studying playing decisions in a vacuum is misleading). Both of which I often say. No doubt the effect of increasing EV while keeping SD about the same.

    It would have been interesting to include "Optimal (Hiopt2)" to see the betting affect between the Hilo and Hiopt2/ASC.

  11. #11


    Did you find this post helpful? Yes | No
    Quote Originally Posted by ericfarmer View Post

    Code:
    Strategy         |  $/hr | SCORE |  ROR   | <=0  +1  +2  +3  +4  +5  +6  +7  +8  +9  >9
    =======================================================================================
    TDZ              | 14.46 | 15.04 | 0.1250 |   6, 20, 57, 93, 96, 96, 96, 96, 96, 96, 96
    Hi-Lo I18 (BJA3) | 19.87 | 21.22 | 0.1182 |   7, 23, 63,102,112,112,112,112,112,112,112
    Hi-Lo I18 (BJA3) | 21.35 | 21.31 | 0.1359 |   8, 23, 63,102,128,128,128,128,128,128,128
    Hi-Lo I18 (Cac)  | 21.51 | 21.60 | 0.1343 |   8, 23, 63,102,128,128,128,128,128,128,128
    Hi-Lo full       | 22.22 | 22.48 | 0.1322 |   8, 23, 63,102,128,128,128,128,128,128,128
    Hi-Opt II full   | 25.19 | 26.65 | 0.1205 |   8,  8, 25, 48, 71, 95,119,128,128,128,128
    Hi-Opt II full   | 26.86 | 26.73 | 0.1367 |   9,  9, 25, 48, 71, 95,119,144,144,144,144
    Optimal (Hi-Lo)  | 30.07 | 31.11 | 0.1262 |   9, 31, 74,118,144,144,144,144,144,144,144
    Optimal (opt.)   | 34.90 | 35.40 | 0.1315 |  10:1:160
    (snip)

    (Finally, there is also an issue with how the overall variance is computed, which tends to *over*-estimate SCORE, but this is already comically long, so I'll leave that for another post.)
    This is a pretty low-level detail, but worth pointing out. In the explicit calculations of SCORE that I have seen, the variance (used in the denominator) is computed as a weighted sum of the individual variances for (i.e., conditioned on) each true count "bin." This works for the expected value (used in the numerator), since expectation is linear, but it doesn't for variance. The net effect is to *under*-estimate the actual variance, which in turn (a) *over*-estimates SCORE, and (b) *under*-estimates risk of ruin. (For (b), however, note that risk of ruin is also estimated using an approximate formula, which *over*-estimates the exact value. This latter is the larger of the two effects, so that the estimated ROR is higher than it should be.)

    Fortunately, this is easy to fix: in simulation, rather than just maintaining running EV and variance for each true count bin, maintain the distribution (i.e., tally) of individual outcomes per unit wager. (This is effectively what I do, although since it's via CA, the actual exact distribution is computed.) Then when evaluating a particular betting ramp, this "stretches" each bin's distribution from a unit wager to some larger wager w_{tc}; the overall distribution is then the weighted sum of these variously-stretched *distributions*, and only after that point do we compute the resulting overall variance.

  12. #12
    Banned or Suspended
    Join Date
    Dec 2011
    Location
    Eastern U S A
    Posts
    6,830


    Did you find this post helpful? Yes | No

    RE: Hi-Opt II (Insurance)

    I think that I am confused here, as I am having trouble
    downloading the data files.
    I could hardly help but notice Insurance Index of +6.
    I have used +5 for many years. Commentary please.
    Last edited by ZenMaster_Flash; 01-22-2017 at 06:37 AM.

  13. #13


    Did you find this post helpful? Yes | No
    Quote Originally Posted by Tthree View Post
    Nice work Eric.

    Interesting. So contrary to what everyone preaches playing strategy is very important and optimal playing strategy increases the best Hilo (full indices) by over 35% in win rate and over 27% in SCORE while still hiding some gain in decreased RoR. The gains are mostly from the effect that this has on optimal betting (So studying playing decisions in a vacuum is misleading). Both of which I often say. No doubt the effect of increasing EV while keeping SD about the same.
    I confess that I had a certain unjustified intuition/speculation going into this analysis, that the "speed of light" optimal performance was closer to full index play than this... which would in turn imply that even more complex multi-parameter strategies *couldn't* possibly yield significant advantage over simpler counts. The data so far certainly seem to suggest that there is room to grow. (Of course, this does not *necessarily* imply that any particular multi-parameter count *does* yield significant advantage over, say, Hi-Opt II w/ASC. The objective of this analysis is to establish the range of feasible performance, with fixed basic strategy at one end, and optimal play at the other; it remains to determine where such a multi-parameter count's performance lies within that interval.)

    Quote Originally Posted by Tthree View Post
    It would have been interesting to include "Optimal (Hiopt2)" to see the betting affect between the Hilo and Hiopt2/ASC.
    The following updated table includes a couple of additional rows to indicate this. Just to make sure we're on the same page: Optimal (HO2) means *bet* according to Hi-Opt II true count (w/ASC), but *play* optimally.

    Code:
    Strategy         |  $/hr | SCORE |  ROR   | <=0  +1  +2  +3  +4  +5  +6  +7  +8  +9  >9
    =======================================================================================
    TDZ              | 14.46 | 15.04 | 0.1250 |   6, 20, 57, 93, 96, 96, 96, 96, 96, 96, 96
    Hi-Lo I18 (BJA3) | 19.87 | 21.22 | 0.1182 |   7, 23, 63,102,112,112,112,112,112,112,112
    Hi-Lo I18 (BJA3) | 21.35 | 21.31 | 0.1359 |   8, 23, 63,102,128,128,128,128,128,128,128
    Hi-Lo I18 (Cac)  | 21.51 | 21.60 | 0.1343 |   8, 23, 63,102,128,128,128,128,128,128,128
    Hi-Lo full       | 22.22 | 22.48 | 0.1322 |   8, 23, 63,102,128,128,128,128,128,128,128
    Hi-Opt II full   | 25.19 | 26.65 | 0.1205 |   8,  8, 25, 48, 71, 95,119,128,128,128,128
    Hi-Opt II full   | 26.86 | 26.73 | 0.1367 |   9,  9, 25, 48, 71, 95,119,144,144,144,144
    Optimal (Hi-Lo)  | 30.07 | 31.11 | 0.1262 |   9, 31, 74,118,144,144,144,144,144,144,144
    Optimal (HO2)    | 31.44 | 33.05 | 0.1222 |   9,  9, 30, 55, 80,105,129,144,144,144,144
    Optimal (HO2)    | 33.18 | 33.14 | 0.1357 |  10, 10, 30, 55, 80,105,129,155,160,160,160
    Optimal (opt.)   | 34.90 | 35.40 | 0.1315 |  10:1:160
    There are two rows shown again, only to highlight the inaccurate ROR calculation mentioned previously, which would yield the lower win rate of $31.44/hr, although the higher win rate of $33.18/hr's actual exact risk of ruin is 0.133923.

Page 1 of 7 123 ... LastLast

Similar Threads

  1. Toward SCORE for optimal play
    By ericfarmer in forum General Blackjack Forum
    Replies: 30
    Last Post: 01-18-2017, 07:53 AM
  2. Full time play and SCORE
    By LoneWoLF in forum General Blackjack Forum
    Replies: 25
    Last Post: 05-07-2016, 07:08 PM
  3. Replies: 15
    Last Post: 08-26-2015, 10:38 PM
  4. SCORE!!!!!! No, not that score you geek! ;)
    By Thunder in forum General Blackjack Forum
    Replies: 10
    Last Post: 02-02-2013, 02:42 PM
  5. Replies: 0
    Last Post: 01-10-2004, 01:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

About Blackjack: The Forum

BJTF is an advantage player site based on the principles of comity. That is, civil and considerate behavior for the mutual benefit of all involved. The goal of advantage play is the legal extraction of funds from gaming establishments by gaining a mathematic advantage and developing the skills required to use that advantage. To maximize our success, it is important to understand that we are all on the same side. Personal conflicts simply get in the way of our goals.