Some posts on Kelly and the Mathprof answer has prompted me to attempt a concise and thorough post on the way these concepts and the related concepts get confused.
There are certain fundamental concepts which should not be confused. First, the concepts of a simple game and a complex game and the concepts of proportional and flat bet and the relations between the concepts need to be explained. Then, the concepts of optimal betting including the optimal ramp for a complex game need clarified.
Most of the relevant material can be found in the archives here or on bj math and/or in Blackjack Attack but I will use bjmath and Blackjack Attack as sources because the material is well arranged on bjmath.
First let us talk about simple and complex advantage games. What applies to a simple advantage game which is easier to understand ultimately applies to complex advantage game in most ways. A simple advantage game is one which has a set positive expectancy after every play. The simplest game of this sort would be the biased coin but let us assume a video poker game which has a positive outcome because jacks or better pays two rather than one or a dice game where snakeyes and acey deucy throws are ignored. Before any coup is made, the player knows he has a statistical edge and the extent of that statistical edge. Blackjack is the classic complex game. There is not a statistical edge overall but there are times when a statistical edge is identifiable. The simple game is attacked by making the same bet every time because the same edge exists every time. The complex game is attacked by changing bets so that more money is bet when the player has a recognizable statistical edge than when the player has a recognizable statistical disadvantage, thus creating an overall statistical edge. This complex game is more difficult to analyse but a helpful way of looking at a complex game where different bet levels are being made is as different games at each bet level, turning the complex game into a number of separate simple games and then combining the results of the different games to describe the whole game. The Brh device of mathematically doing this which will be addressed later greatly aids understanding optimal betting for blackjack.
Proportional betting is betting a set percentage of your bankroll every time for a simple game or betting a set percentage of your bankroll every time for each different edge or disadvantage one might encounter in a complex game. So if your bankroll doubles, your bet doubles or if your bankroll halves, your bet halves. This method of betting created the old saw a proportional better's chances of ruin is zero because the better's bankroll is never exhausted. Of course that statement is true mathematically but it is irrelevant to the real world so a different concept was developed as described by Mathprof on BJ Green. Since at some point a player betting proportionally might well be effectively wiped out, the probability of the player losing a percentage of his bankroll can be calculated. This probability of reaching a specific loss level depends on the edge of the game and the proportion of the bankroll bet each time.
Applying this concept to a simple positive game, it is at least conceivable there is some size of a proportional bet which can minimize probabilities of loss. Of course there is. The answer is zero but that is not a good answer because if you don't play you don't win even if you have minimized your losses. Then let us look at the other extreme, betting all of your bankroll each time. It is clear you will not win every time so your first loss wipes you out and the probability is one you will lose sometime in even the best game of chance. So, if one is to bet proportionally, there should be some proportion of the bankroll between zero and one which will perform better than either and if that is true there might well be some proportion of bankroll to bet every time which best balances the chances of drastic losses and bankroll growth. There is. That is the well known "Kelly" fraction. The derivation of this fraction is shown in the Kelly paper on bjmath which was originally printed in the Bell Labs publication back when Bell Labs did things like that. Kelly made some assumptions with which some people disagree. The calculation was made to find the maximum growth for one case, the player who wins at exactly the expectancy predicted. It has been argued by some that since this specific outcome is much more unlikely than the total possibilities of outcomes, perhaps something else should be maximized covering other eventualities also. Leaving this aside for philosophical debate, that was Kelly's assumption and one which has worked as a starting point for the refinements. The calculation proved mathematically that for proportional betting in a simple positive game, the "optimal" fraction to be bet to maximize bankroll growth is the set edge for the simple game. Thus if the edge is an invariant one per cent, betting one per cent of the existing bankroll each time maximizes the percentage of the bankroll won when the player wins at expectation. As has been remarked the player does not *have* to win at expectancy so there are other concepts implicit in the Kelly calculation. If you win at a greater rate than expectancy, your bankroll will increase even more because your bets have increased faster than expected and if you lose at a rate worse than expectancy you bankroll with decrease slower than otherwise because you are dropping your bets more. Then people saw another facit implicit in the Kelly calculation. If the player's bet is always double his expectancy and he wins at expectancy, the peculiarities of proportional betting means he will win nothing no matter how long he plays at expectancy. Again, however, if the player wins more than expectation betting what is commonly called two Kelly, he will win bundles but that is counterbalanced by the greater losses if losing at a rate greater than expectancy.
But one has to always make assumptions and the law of large numbers makes winning and losing at expectancy the most reasonable assumption it seems to me. Also, I will digress into something people less familar with the concepts of edge often find confusing. The edge is the difference between expected wins and expected losses. So if one has a one per cent edge, one might think that means one wins 51 times out of a hundred. That is not true. If one wins 51 per cent of the time, he loses 49 per cent of the time and has a 51-49 or 2% edge. The person with the 1% edge wins .505 per cent of the time.
So with the Kelly fraction we have the answer to maximizing expected growth for a simple game in which a proportional betting scheme is used. But, of course, one cannot proportionally bet in a real game. If one is betting $5 in a 1% game, is he going to be allowed to bet an extra nickle the next time or if betting $100 is he going to be allowed to bet an extra dollar the next time? So how is it relevant? It is relevant for a number of reasons but let me give the simplist one. If you had a swing of 10% of bankroll and then changed your bets 10% results are nearly the same as you constantly resized and even if you changed your bet size with a fifty per cent swing things stay recognizably similar. So if sizing is done for an initial bankroll, over reasonably large swings of bankroll what can be calculated for proportional bets can be calculated for flat betting the original proportion. Further DD' found a helpful phenomonon which is in the literature. If you flat bet your original optimal proportion, the probabilities of losing and winning a percentage of your bankroll is identical to the edge. That is, the probability of winning 50% of your bankroll before losing 50% is roughly 75%. 75-25=50. This holds up for flatbetting below ranges of 50% swings. Above 50% there is departure but this departure has also been described in the Brh paper here and on bjmath and is mathematicall described as a function of e^(-xk) which will be discussed in conjunction with Brh's conclusions.
The Kelly calculations also presume the player is paid what he initially bets. A game like blackjack adds another complicating factor because the player may get paid more than he initially bets (a win of doubles or both splits or a blackjack) or losses more than he intitially bets when he loses a double or both splits). This adds the element of variance into blackjack or games like video poker. Without going into details, variance affects bankroll growth as has been understood for years and has to be factured into calculations of optimal bets. The correction factor is simple, however. Expectancy must be adjusted downward for degrees of variance. Further complex games with the necessary differently sized bets also add a different varriance and discounts to Kelly must be made for that too.
For simplicity I am going to establish a convention for inherent variance of a game like blackjack caused by the rules and call that inherent variance and the variance caused by bet ranging and call that bet variance. Using a simplification because variance changes slightly with the count in blackjack because you double and split more and get more blackjacks at higher counts, the inherent variance of blackjack is close to 1.33 or 4/3. So right off the bat we know we discount Ev by about 1/4 to correct for variance Ev/(4/3)=(3/4)*Ev. to calculate the optimal bet for each level if other things caused by the complex game were not going on.
So one way of looking at optimal betting for blackjack would be to simply size your bets at all positive levels at 3/4 Ev. This is a suggestion often made and made in books like the World's Greatest. If bj were neat and had 0 expectancy at 0, .5% at 1, 1 at 2, etc. a Kelly method of betting would be bet as little as you can below 0 and bet .375%, .75, .... as high as you can get. Now this type of sizing is nearly appropriate for a Wonging in style of play but present a number of complications to applying optimal betting to other styles of blackjack play. The complication is players feel they cannot have an infinite spread because of casino pressures and play the game even when it is negative. The money played at negative expectations is money bet too and that affects the overall win rate and must be taken into account when deciding optimal bet sizing for this game. Other factors which must be related to the real world is the applicability ofnot resizing and what sizing has to do with possibilities of ruin. It was these factors which were dealt with.
A couple of other asides. I am relating these things the way I learned them and the way they developed on the internet, mostly on Green Chip Theory a few years ago, Sileo anticipated much of this and his paper is on bjmath. We simply did not know of the Sileo paper at the time the development took place so we were mostly plowing previously plowed ground we did not know about but I think the development here makes the concepts more understandable. Another point is the development led to the related concepts of calculating the optimal ramp which is not really related to bankroll as Kelly sizing is related to bankroll and helpful methods of calculating ruin which might be the most important practical developments of all, to my mind even more important than the also valuable SCORE ranking developed from the concept.
The first concept to become familar with is the concept of the optimal unit bet for an arbitrary complex game. To simplify it will be a game without internal variance. Neither is it a game necessarily using an optimal ramp. I sit at a table playing a game similar to blackjack which I can count and know my expectations at all times but the game has no internal variance. I know I have a positive Ev and no heat if I limit my spread to six. I know that if I receive one signal from my counting my win rate will be -1% and that will occur sixty per cent of the time, that if I receive another signal, my win rate will be +1 per cent and that occurs thirty per cent of the time and that if I receive another signal, my win rate will be +6 per cent. I arbitrarily decide to bet one unit at the negative signal, two units at the .01 signal, and six units at the .06 signal. If you don't recognize me I am Opie in TOB. Now what should be my optimal bet as a percentage of bankroll for this betting pattern and this spread? Realize I am just sizing for these circumstances. There might be a better ramp but I do not know it because I have only gotten so far in my studies. There is a calculation for this described by Sileo but first appearing here in a post by Winston Yamashita which is on bjmath. The calculation is simply total Ev for the system divided by total variance for the system. For this case the unit bet should be system Ev, .6(frequency)*(-.01(expectancy))*1(bet size) + .3*.01*2 + .1*.06*6 divided by system variance, .6(frequency)*1(square of bet) + .3*4 + .1*36. or .036/5.4=.00667 so for this betting pattern my unit bet should be 2/3 of a per cent of my bankroll and at the top level I will be betting 4% of my bankroll. If I bet less or more I will not be betting optimally for this spread and pattern.
But that began the quest. Certainly some betting patterns using maybe a different percentage of the bankroll as the unit bet might be better. That pattern would constitute to optimal ramp which might have a different unit bet and a different pattern but have an overall larger win rate. In fact there is a better pattern. Knowing what we know about the spread and the frequency of the expectations, that could be found with a spread sheet. But was there an analytical way? Yes.
The Brh paper showed the way. First he created a concept called Nsub0 often written N0 which gave a tool for calculating speed because it showed the number of plays which, flat bet, reached a certain goal. A betting pattern which reached this goal in the fewest plays would be by definition be optimal. He showed N0 equals VVariance divided by Ev^2 or (SD/Ev)^2 and he used the tools of calculus to find where N0 was minimized. He could prove N0 is minimized when Ev/Var of the top bet combined with the unit bet equalled the Ev/Var of the combined bets in between and that was calculable. He called the unit bet using this optimal ramp ekb or equivalent Kelly bet. The paper also introduced another important concept. Brh showed the ruin when one flat bets the optimal bet to ruin is e^(-2xk) where xk is the proportion of the ekb used. That is if x is one, ruin would be e^-2 which is about .135. Many believe .135 risk of ruin too risky and could live with slower winnings and less risk but also realized the optimum ramp should be preserved even if a unit bet equalling a fraction of ekb is used. Everything is just scaled down to the desired ROR.
These are the concepts embedded in John Auston's program, Blackjack Risk Manager which uses data from sims to calculate ekb, the optimum ramp, and ruin.
I should say that while this thing was developing on the internet there was some acrimony about precidence and I felt myself buddies with all the people involved. At the same time Karel Janecek had developed just as coherent a theory and Winston Yamashita had used the concept of the ekb. I am using the Yamashita and Brh posts simply as references to the way I learned to understand and appreciate these concepts and am pointing them out for those purposes only.
I would be remiss if I did not mention Don Schlesinger in this post because he is responsible for some important usages and concepts. He was publishing the first edition of Blackjack Attack at the time and Blackjack Attack had the related concept of DI to rank games at the same time. N0 is simply 1/(DI^2). It would also be historically inaccurate to say Don appreciated the concept of the ekb as quickly as some others and there was some heat exchanged but, to Don's credit, he did learn to appreciate it and his SCORE rankings incorporate these concepts as a tool to rank games. Further, serendipily, his ruin formula in Blackjack Attack confirmed Brh's work.
Now to add the fillip. Blackjack has its internal variance and ranging bets has its different variance. The bets other than the unit bet can be thought of as different games. The game of +1 is simply the fraction of the bankroll corresponding to the +1 Ev divided by the internal variance of +1 and all other intermediate bets are similar but different games. Since there is a cap on the spread, there has to be a top level and a unit level. These levels combined constitute a different game defined more by the betting variance of the system caused by the spread which mainly defines the unit bet. If a large spread is used, the size of the unit bet is diminished so it takes more of these unit bets to get to similar places. A sorta law of diminishing returns occurs so while a bigger spread lowers N0 in all instances, it does not lower it great amounts as the spread increases. 12-1 is in the range of 50-1. What it also means is most spread top out at a similar place and my studies show that +4 for nonwonging is most prevalent. If you do not have access to BJ risk manager and are not using a vast spread, topping out at +4 is likely to be right.
I hope this post helps explain some of the misconceptions and inaccurate usages prevalent when "Kelly" is discussed.

