In a system where the return on an investment or a bet is binary, so an interested party either wins or loses a fixed percentage of their bet, the expected growth rate coefficient yields a very specific solution for an optimal betting percentage.
Gambling Formula Where losing the bet involves losing the entire wager, the Kelly bet is: : f^* = p-\frac{q}{b} = p - \frac{1 - p}{b} where: • f^{*} is the fraction of the current bankroll to wager. • p is the probability of a win. • q=1-p is the probability of a loss. • b is the proportion of the bet gained with a win. E.g., if betting $10 on a 2-to-1
odds bet (upon win you are returned $30, winning you $20), then b = \$20/\$10 = 2.0. As an example, if a gamble has a 60% chance of winning (p = 0.6, q = 0.4), and the gambler receives 1-to-1 odds on a winning bet (b=1), then to maximize the long-run growth rate of the bankroll, the gambler should bet 20% of the bankroll at each opportunity (f^{*} = 0.6-\frac{0.4}{1} = 0.2). If the gambler has zero edge (i.e., if b = q / p), then the criterion recommends the gambler bet nothing (see
gambler's ruin). If the edge is negative (b ), the formula gives a negative result, indicating that the gambler should take the other side of the bet.
Investment formula A more general form of the Kelly formula allows for partial losses, which is relevant for investments: : f^{*} = \frac{p}{l}-\frac{q}{g} where: • f^{*} is the fraction of the assets to apply to the security. • p is the probability that the investment increases in value. • q is the probability that the investment decreases in value ( q = 1 - p). • g is the fraction that is gained in a positive outcome. The Kelly criterion maximizes the
expected value of the logarithm of wealth (the expectation value of a function is given by the sum, over all possible outcomes, of the probability of each particular outcome multiplied by the value of the function in the event of that outcome). We start with 1 unit of wealth and bet a fraction f of that wealth on an outcome that occurs with probability p and offers odds of b. The probability of winning is p, and in that case the resulting wealth is equal to 1+fb. The probability of losing is q=1-p and the odds of a negative outcome is a. In that case the resulting wealth is equal to 1-fa. Therefore, the geometric growth rate r is: : r=(1+fb)^p\cdot(1-fa)^{q} We want to find the
maximum r of this curve (as a function of
f), which involves finding the
derivative of the equation. This is more easily accomplished by taking the
logarithm of each side first; because the logarithm is
monotonic, it does not change the locations of function extrema. The resulting equation is: : E = \log(r) = p \log(1+fb)+q\log(1-fa) with E denoting logarithmic wealth growth. To find the value of f for which the growth rate is maximized, denoted as f^{*}, we differentiate the above expression and set this equal to zero. This gives: : \left.\frac{dE}{df}\right|_{f=f^*}=\frac{pb}{1+f^{*}b}+\frac{-qa}{1-f^{*}a}=0 Rearranging this equation to solve for the value of f^{*} gives the Kelly criterion: : f^{*} = \frac{p}{a}-\frac{q}{b} To be thorough, we should also consider the behaviour as f approaches the boundaries -\frac{1}{b} and \frac{1}{a} since there can be a maximum there without the derivative being 0. But E tends to −∞ for both. Finally, we need to show that the critical point found is not a minimum, this can be easily shown by computing the second derivative which is strictly negative for all f in the domain. Notice that this expression reduces to the simple gambling formula when a=1=100\%, when a loss results in full loss of the wager. == Kelly criterion for non-binary return rates ==