The Kelly Criterion. How To Manage Your Money When You Have an Edge

Similar documents
Applying the Kelly criterion to lawsuits

FURTHER ASPECTS OF GAMBLING WITH THE KELLY CRITERION. We consider two aspects of gambling with the Kelly criterion. First, we show that for

GEK1544 The Mathematics of Games Suggested Solutions to Tutorial 3

Fortune's Formula: The Untold Story Of The Scientific Betting System That Beat The Casinos And Wall Street Epub Gratuit

Math 180A. Lecture 5 Wednesday April 7 th. Geometric distribution. The geometric distribution function is

Probability. An intro for calculus students P= Figure 1: A normal integral

ECE 302 Spring Ilya Pollak

MATH20180: Foundations of Financial Mathematics

Medium Term Simulations of The Full Kelly and Fractional Kelly Investment Strategies

Mean, Variance, and Expectation. Mean

The Simple Random Walk

MA 1125 Lecture 14 - Expected Values. Wednesday, October 4, Objectives: Introduce expected values.

Time Resolution of the St. Petersburg Paradox: A Rebuttal

Evolutionary Finance: A tutorial

X i = 124 MARTINGALES

Iterated Dominance and Nash Equilibrium

Chapter 7: Random Variables

Central Limit Theorem 11/08/2005

19. CONFIDENCE INTERVALS FOR THE MEAN; KNOWN VARIANCE

Obtaining a fair arbitration outcome

Mathematics of Finance Final Preparation December 19. To be thoroughly prepared for the final exam, you should

A GENERALIZED MARTINGALE BETTING STRATEGY

16 MAKING SIMPLE DECISIONS

Math489/889 Stochastic Processes and Advanced Mathematical Finance Homework 4

16 MAKING SIMPLE DECISIONS

Sampling; Random Walk

Probability without Measure!

Kelly criterion for multivariate portfolios: a modelfree

6.042/18.062J Mathematics for Computer Science November 30, 2006 Tom Leighton and Ronitt Rubinfeld. Expected Value I

The Game-Theoretic Framework for Probability

Managerial Economics Uncertainty

Math-Stat-491-Fall2014-Notes-V

6. Martingales. = Zn. Think of Z n+1 as being a gambler s earnings after n+1 games. If the game if fair, then E [ Z n+1 Z n

Expected shortfall or median shortfall

Risk Management. Presented by Lawrence G. McMillan The Option Strategist. Continuing Webinar Series

Applying Risk Theory to Game Theory Tristan Barnett. Abstract

Expected value is basically the average payoff from some sort of lottery, gamble or other situation with a randomly determined outcome.

TOPIC: PROBABILITY DISTRIBUTIONS

MBF2263 Portfolio Management. Lecture 8: Risk and Return in Capital Markets

Game Volatility At Baccarat

Why Bankers Should Learn Convex Analysis

A Lottery-like Stock Market David Benko

N(A) P (A) = lim. N(A) =N, we have P (A) = 1.

6.041SC Probabilistic Systems Analysis and Applied Probability, Fall 2013 Transcript Lecture 23

that internalizes the constraint by solving to remove the y variable. 1. Using the substitution method, determine the utility function U( x)

KELLY CAPITAL GROWTH

The Theory of Interest

CHAPTER 9 SOME LESSONS FROM CAPITAL MARKET HISTORY

Part 1 In which we meet the law of averages. The Law of Averages. The Expected Value & The Standard Error. Where Are We Going?

Random variables. Discrete random variables. Continuous random variables.

FE Review Economics and Cash Flow

The following content is provided under a Creative Commons license. Your support

Randomness: what is that and how to cope with it (with view towards financial markets) Igor Cialenco

Equation Chapter 1 Section 1 A Primer on Quantitative Risk Measures

Have you ever wondered whether it would be worth it to buy a lottery ticket every week, or pondered on questions such as If I were offered a choice

BEEM109 Experimental Economics and Finance

BRIEF INTRODUCTION TO GAME THEORY

Introduction to Game-Theoretic Probability

The Geometric Mean. I have become all things to all people so that by all possible means I might save some. 1 Corinthians 9:22

Probability Basics. Part 1: What is Probability? INFO-1301, Quantitative Reasoning 1 University of Colorado Boulder. March 1, 2017 Prof.

Introduction to Game Theory

Information Theory and Networks

The volatility paradox: When winners lose and losers win

- 1 - STATISTICAL ROULETTE ANALYZER (SRA) Essential calculation

Choosing the Wrong Portfolio of Projects Part 4: Inattention to Risk. Risk Tolerance

Prediction Market Prices as Martingales: Theory and Analysis. David Klein Statistics 157

Universal Portfolios

Problems from 9th edition of Probability and Statistical Inference by Hogg, Tanis and Zimmerman:

Discrete gambles: Theoretical study of optimal bet allocations for the expo-power utility gambler

... About Future Value

Optimization Models in Financial Mathematics

Chapter 3 Discrete Random Variables and Probability Distributions

Stochastic Games and Bayesian Games

We use probability distributions to represent the distribution of a discrete random variable.

Using the Maximin Principle

Probability Distributions. Chapter 6

Probability Distributions. Chapter 6

Copyright 2011 Pearson Education, Inc. Publishing as Addison-Wesley.

An Introduction to Stochastic Calculus

A lower bound on seller revenue in single buyer monopoly auctions

ECON DISCUSSION NOTES ON CONTRACT LAW. Contracts. I.1 Bargain Theory. I.2 Damages Part 1. I.3 Reliance

Karel Kozmík. Analysis of Profitability of Major World Lotteries

Math 5760/6890 Introduction to Mathematical Finance

Basic Data Analysis. Stephen Turnbull Business Administration and Public Policy Lecture 4: May 2, Abstract

Professor Scholz Posted March 1, 2006 Brief Answers for Economics 441, Problem Set #2 Due in class, March 8, 2006

CHOICE THEORY, UTILITY FUNCTIONS AND RISK AVERSION

GAME THEORY. Game theory. The odds and evens game. Two person, zero sum game. Prototype example

Full file at

Assignment 3 - Statistics. n n! (n r)!r! n = 1,2,3,...

value BE.104 Spring Biostatistics: Distribution and the Mean J. L. Sherley

Introduction to Economics I: Consumer Theory

How to create portfolios for different risk groups and what to consider

GAME THEORY. (Hillier & Lieberman Introduction to Operations Research, 8 th edition)

A Derivation of the Normal Distribution. Robert S. Wilson PhD.

Copyright (C) 2001 David K. Levine This document is an open textbook; you can redistribute it and/or modify it under the terms of version 1 of the

Problem Set 4 Answers

Random Walk for Stock Price

Elementary Statistics Lecture 5

Chapter 05 Understanding Risk

Discrete Probability Distributions

Transcription:

The Kelly Criterion How To Manage Your Money When You Have an Edge

The First Model You play a sequence of games If you win a game, you win W dollars for each dollar bet If you lose, you lose your bet For each game, Probability of winning is p Probability of losing is q =1 p You start out with a bankroll of B dollars 2

The First Model, con t You bet some percentage, f, of your bankroll on the first game --- You bet fb After the first game you have B 1 depending on whether you win or lose You then bet the same percentage f of your new bankroll on the second game --- You bet fb 1 And so on The problem is what should f be to maximize your expected gain That value of f is called the Kelly Criterion 3

Kelly Criterion Developed by John Kelly, a physicist at Bell Labs 1956 paper A New Interpretation of Information Rate published in the Bell System Technical Journal Original title Information Theory and Gambling Used Information Theory to show how a gambler with inside information should bet Ed Thorpe used system to compute optimum bets for blackjack and later as manager of a hedge fund on Wall Street 1962 book Beat the Dealer: A Winning Strategy for the Game of Twenty One 4

Not So Easy Suppose you play a sequence of games of flipping a perfect coin Probability is ½ for heads and ½ for tails For heads, you win 2 dollars for each dollar bet You end up with a total of 3 dollars for each dollar bet For tails, you lose your bet What fraction of your bankroll should you bet The odds are in your favor, but If you bet all your money on each game, you will eventually lose a game and be bankrupt If you bet too little, you will not make as much money as you could 5

Bet Everything Suppose that your bankroll is 1 dollar and, to maximize the expected (mean) return, you bet everything (f = 1) After 10 rounds, there is one chance in 1024 that you will have 59,049 dollars and 1023 chances in 1024 that you will have 0 dollars Your expected (arithmetic mean) wealth is 57.67 dollars Your median wealth is 0 dollars Would you bet this way to maximize the arithmetic mean of your wealth? 6

Winning W or Losing Your Bet You play a sequence of games In each game, with probability p, you win W for each dollar bet With probability q = 1 p, you lose your bet Your initial bankroll is B What fraction, f, of your current bankroll should you bet on each game? 7

Win W or Lose your Bet, con t In the first game, you bet fb Assume you win. Your new bankroll is B 1 = B + WfB = (1 + fw) B In the second game, you bet fb 1 fb 1 = f(1 + fw) B Assume you win again. Your new bankroll is B = 2 (1 + fw) B 1 = (1 + fw) 2 B If you lose the third game, your bankroll is B 3 = (1 f) B 2 = (1 + fw) 2 * (1 f) B 8

Win W or Lose your Bet, con t Suppose after n games, you have won w games and lost l games Your total bankroll is B n = (1 +fw) w * (1 f) l B The gain in your bankroll is Gain n = (1 + fw) w * (1 f) l Note that the bankroll is growing (or shrinking) exponentially 9

Win W or Lose your Bet, con t The possible values of your bankroll (and your gain) are described by probability distributions We want to find the value of f that maximizes, in some sense, your expected bankroll (or equivalently your expected gain) There are two ways we can think about finding this value of f They both yield the same value of f and, in fact, are mathematically equivalent We want to find the value of f that maximizes The geometric mean of the gain The arithmetic mean of the log of the gain 10

Finding the Value of f that Maximizes the Geometric Mean of the Gain The geometric mean, G, is the limit as n approaches infinity of the n th root of the gain G = lim n->oo ((1 + fw) w/n * (1 f) l/n ) which is G = (1 + fw) p * (1 f) q For this value of G, the value of your bankroll after n games is B n = G n * B 11

The Intuition Behind the Geometric Mean If you play n games with a probability p of winning each game and a probability q of losing each game, the expected number of wins is pn and the expected number of loses is qn The value of your bankroll after n games B n = G n * B is the value that would occur if you won exactly pn games and lost exactly qn games 12

Finding the Value of f that Maximizes the Geometric Mean of the Gain, con t To find the value of f that maximizes G, we take the derivative of G = (1 + fw) p * (1 f) q with respect to f, set the derivative equal to 0, and solve for f (1 + fw) p *(-q (1 f) q-1 ) + Wp(1 + fw) p-1 * (1 f) q = 0 Solving for f gives f = (pw q) / W = p q / W This is the Kelly Criterion for this problem 13

Finding the Value of f that Maximizes the Arithmetic Mean of the Log of the Gain Recall that the gain after w wins and l losses is Gain n = (1 + fw) w * (1 f) l The log of that gain is log(gain n ) = w * log(1 + fw) + l* log (1 f) The arithmetic mean of that log is the lim n->oo ( w/n * log(1 + fw) + l/n* log (1 f) ) which is p * log(1 + fw) + q * log (1 f) 14

Finding the Value of f that Maximizes the Arithmetic Mean of the Log of the Gain, con t To find the value of f that maximizes this arithmetic mean we take the derivative with respect to f, set that derivative equal to 0 and solve for f pw / (1 + fw) q / (1 f) = 0 Solving for f gives f = (pw q) / W = p q / W Again, this is the Kelly Criterion for this problem 15

Equivalent Interpretations of Kelly Criterion The Kelly Criterion maximizes Geometric mean of wealth Arithmetic mean of the log of wealth 16

Relating Geometric and Arithmetic Means Theorem The log of the geometric mean of a random variable equals the arithmetic mean of the log of that variable 17

Intuition About the Kelly Criterion The Kelly criterion for this Model f = (pw q) / W is sometimes written as f = edge / odds Odds is how much you will win if you win At racetrack, odds is the tote-board odds Edge is how much you expect to win At racetrack, p is your inside knowledge of which horse will win 18

Examples For the original example (W = 2, p = ½) f =.5 -.5 / 2 =.25 G = 1.0607 After 10 rounds (assuming B = 1) Expected (mean) final wealth = 3.25 Median final wealth = 1.80 By comparison, recall that if we bet all the money (f = 1) After 10 rounds (assuming B = 1) Expected (mean) final wealth = 57.67 Median final wealth = 0 19

More Examples If pw q = 0, then f = 0 You have no advantage and shouldn t bet anything In particular, if p = ½ and W = 1, then again f = 0 20

Winning W or Lose L (More Like Investing) If you win, you win W If you lose, you lose L. L is less than 1 Now the geometric mean, G, is G = (1 + fw) p * (1 fl) q Using the same math, the value of f that maximizes G is f = (pw ql)/wl = p/l q/w This is the Kelly Criterion for this problem 21

An Example Assume p = ½, W = 1, L = 0.5. Then f =.5 G = 1.0607 As an example, assume B = 100. You play two games Game 1 you bet 50 and lose (25). B is now 75 Game 2 you bet ½ of new B or 37.50. You win. B is 112.50 By contrast, if you had bet your entire bankroll on each game, After Game 1, B would be 50 After Game 2, B would be 100 22

Shannon s Example Claude Shannon (of Information Theory fame) proposed this approach to profiting from random variations in stock prices based on the preceding example Look at the example as a stock and the game as the value of the stock at the end of each day If you win, since W = 1, the stock doubles in value If you lose. since L = ½, the stock halves in value 23

Shannon s Example, con t In the example, the stock halved in value the first day and then doubled in value the second day, ending where it started If you had just held on to the stock, you would have broken even Nevertheless Shannon made money on it The value of the stock was never higher than its initial value, and yet Shannon made money on it His bankroll after two days was 112.50 Even if the stock just oscillated around its initial value forever, Shannon would be making (1.0607) n gain in n days 24

An Interesting Situation If L is small enough, f can be equal to 1 (or even larger) You should bet all your money 25

An Example of That Situation Assume p = ½, W = 1, L = 1/3. Then f = 1 G = 1.1547 As an example, assume B = 100. You play two games Game 1 you bet 50 and lose 16.67 B is now 66.66 Game 2 you bet 66.66 and win. B is now 133.33 26

A Still More Interesting Situation If L were 0 (you couldn t possibly lose) f would be infinity You would borrow as much money as you could (beyond your bankroll) to bet all you possibly could. 27

N Possible Outcomes (Even More Like Investing) There are n possible outcomes, x i,each with probability p i You buy a stock and there are n possible final values, some positive and some negative In this case = + G (1 fx i ) p i 28

N Outcomes, con t The arithmetic mean of the log of the gain is R = log G = p i * log(1 + fx The math would now get complicated, but if fx i << 1 we can approximate the log by the first two terms of its power expansion 2 3 log( 1+ z) = z z / 2+ z /3 z to obtain R = log G f p i x i f 2 4 i ) / 4+... p i x 2 i / 2 29

N Outcomes, con t Taking the derivative, setting that derivative equal to 0, and solving for f gives f ( /( which is very close to the mean/variance The variance is = p i x 2 i p i x i ) ( pi xi ) p 2 i x 2 i ) 30

Properties of the Kelly Criterion Maximizes The geometric mean of wealth The arithmetic mean of the log of wealth In the long term (an infinite sequence), with probability 1 Maximizes the final value of the wealth (compared with any other strategy) Maximizes the median of the wealth Half the distribution of the final wealth is above the median and half below it Minimizes the expected time required to reach a specified goal for the wealth 31

Fluctuations using the Kelly Criterion The value of f corresponding to the Kelly Criterion leads to a large amount of volatility in the bankroll For example, the probability of the bankroll dropping to 1/n of its initial value at some time in an infinite sequence is 1/n Thus there is a 50% chance the bankroll will drop to ½ of its value at some time in an infinite sequence As another example, there is a 1/3 chance the bankroll will half before it doubles 32

An Example of the Fluctuation 33

Varying the Kelly Criterion Many people propose using a value of f equal to ½ (half Kelly) or some other fraction of the Kelly Criterion to obtain less volatility with somewhat slower growth Half Kelly produces about 75% of the growth rate of full Kelly Another reason to use half Kelly is that people often overestimate their edge. 34

Growth Rate for Different Kelly Fractions 35

Some People Like to Take the Risk of Betting More than Kelly Consider again the example where p = ½, W = 1, L = 0.5, B = 100 Kelly value is f =.5 G = 1.060 Half Kelly value is f =.25 G = 1.0458 Suppose we are going to play only 4 games and are willing to take more of a risk We try f =.75 G = 1.0458 and f = 1.0 G = 1.0 36

All the Possibilities in Four Games Final Bankroll ½ Kelly Kelly 1½ Kelly 2 Kelly f =.25 f =.5 f =.75 f = 1.0 4 wins 0 losses (.06) 244 506 937 1600 3 wins 1 loss (.25) 171 235 335 400 2 wins 2 losses (.38) 120 127 120 100 1 win 3 losses (.25) 84 63 43 25 0 wins 4 losses (.06) 59 32 15 6 ------------------- ------- ------ ------ ----- Arithmetic Mean 128 160 194 281 Geometric Mean 105 106 105 100 37

I Copied This From the Web If I maximize the expected square-root of wealth and you maximize expected log of wealth, then after 10 years you will be richer 90% of the time. But so what, because I will be much richer the remaining 10% of the time. After 20 years, you will be richer 99% of the time, but I will be fantastically richer the remaining 1% of the time. 38

The Controversy The math in this presentation is not controversial What is controversial is whether you should use the Kelly Criterion when you gamble (or invest) You are going to make only a relatively short sequence of bets compared to the infinite sequence used in the math The properties of infinite sequences might not be an appropriate guide for a finite sequence of bets You might not be comfortable with the volatility Do you really want to maximize the arithmetic mean of the log of your wealth (or the geometric mean of your wealth)? You might be willing to take more or less risk 39

Some References Poundstone, William, Fortunes Formula: The Untold Story of the Scientific Betting System that Beat the Casinos and Wall Street, Hill and Wang, New York, NY, 2005 Kelly, John L, Jr., A New Interpretation of Information Rate, Bell Systems Technical Journal, Vol. 35, pp917-926, 1956 http://wwwstat.wharton.upenn.edu/~steele/courses/434f2005/context/kelly% 20Resources/Samuelson1979.pdf Famous paper that critiques the Kelly Criterion in words of one syllable http://en.wikipedia.org/wiki/kelly_criterion http://www.castrader.com/kelly_formula/index.html Contains pointers to many other references 40