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

Slides:



Advertisements
Similar presentations
YOU DONT KNOW CRAPS!!. An Investigation Using Probability, the Geometric Distribution, and Expected Returns for the Game of Craps By Otto Magdanz and.
Advertisements

Money Management Systems. Introduction Technical signals are useful for entry, but technical understanding of risk is even more important. Remember the.
A measurement of fairness game 1: A box contains 1red marble and 3 black marbles. Blindfolded, you select one marble. If you select the red marble, you.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 16 Mathematics of Normal Distributions 16.1Approximately Normal.
Lecture 10. Simplified roulette European roulette has numbers 0,1,…36. xD0s
Expected Value, the Law of Averages, and the Central Limit Theorem
Card Counting What is it, how does it work, and can I use it to pay for college? (and if it does work, do I even have to go to college?) Jeff O’Connell.
McGraw-Hill Ryerson Copyright © 2011 McGraw-Hill Ryerson Limited. Adapted by Peter Au, George Brown College.
An application of the Probability Theory
Introduction to Probability and Risk in Financial Investment
Consider the graphs of f(x) = x – 1 and f(x) = lnx. x y y = x – 1 y = lnx (1.0) Sections 2.6, 2.7, 2.8 We find that for any x > 0, x – 1 > lnx Now, suppose.
More Insurance How much insurance We started talking about insurance. Question now is “how much?” Recall that John’s expected utility involves his wealth.
1 Many people debate basic questions of chance in games such as lotteries. The Monty Hall problem is a fun brain teaser that Marilyn vos Savant addressed.
Prof. Bart Selman Module Probability --- Part d)
What are my Odds? Historical and Modern Efforts to Win at Games of Chance.
© Oklahoma State Department of Education. All rights reserved.1 The Costs and Benefits of Gambling Standard 12.1 Gambling.
Expected Value.  In gambling on an uncertain future, knowing the odds is only part of the story!  Example: I flip a fair coin. If it lands HEADS, you.
Days 8 & 9 discussion: Continuation of binomial model and some applications FIN 441 Prof. Rogers Spring 2011.
Sections 2.1, 2.2, 2.3, 2.4, 2.5 Interest problems generally involve four quantities: principal(s), investment period length(s), interest rate(s), accumulated.
Review of Probability and Binomial Distributions
Chapter 6: Probability.
11/5/2003Probability and Statistics for Teachers, Math 507, Lecture 10 1 UNIFORM AND EXPONENTIAL RANDOM VARIABLES Sections
COURSE: JUST 3900 INTRODUCTORY STATISTICS FOR CRIMINAL JUSTICE Instructor: Dr. John J. Kerbs, Associate Professor Joint Ph.D. in Social Work and Sociology.
Random Variables A random variable A variable (usually x ) that has a single numerical value (determined by chance) for each outcome of an experiment A.
Blackjack: An Analysis of Probability By: John Theobald.
QA in Finance/ Ch 3 Probability in Finance Probability.
Chapter 3 Section 3.5 Expected Value. When the result of an experiment is one of several numbers, (sometimes called a random variable) we can calculate.
© 2012 Cengage Learning. All Rights Reserved. May not scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Chapter.
Exponential and Logarithmic Functions
Brian Duddy.  Two players, X and Y, are playing a card game- goal is to find optimal strategy for X  X has red ace (A), black ace (A), and red two (2)
Some Background Assumptions Markowitz Portfolio Theory
D. M. ChanceAn Introduction to Derivatives and Risk Management, 6th ed.Ch. 4: 1 Chapter 4: Option Pricing Models: The Binomial Model You can think of a.
Business Statistics: Communicating with Numbers
The Gaussian (Normal) Distribution: More Details & Some Applications.
9  Markov Chains  Regular Markov Chains  Absorbing Markov Chains  Game Theory and Strictly Determined Games  Games with Mixed Strategies Markov Chains.
Lecture 9. If X is a discrete random variable, the mean (or expected value) of X is denoted μ X and defined as μ X = x 1 p 1 + x 2 p 2 + x 3 p 3 + ∙∙∙
ECES 741: Stochastic Decision & Control Processes – Chapter 1: The DP Algorithm 49 DP can give complete quantitative solution Example 1: Discrete, finite.
Outline Random processes Random variables Probability histograms
Copyright © 2011 Pearson Education, Inc. Probability: Living with the Odds Discussion Paragraph 7B 1 web 59. Lottery Chances 60. HIV Probabilities 1 world.
Binomial Experiment A binomial experiment (also known as a Bernoulli trial) is a statistical experiment that has the following properties:
Investment Analysis and Portfolio Management First Canadian Edition By Reilly, Brown, Hedges, Chang 6.
Copyright © 2001 by Harcourt, Inc. All rights reserved.1 Chapter 4: Option Pricing Models: The Binomial Model Models are like cars: you can have the best.
Slide 4-1 Copyright © 2005 Pearson Education, Inc.
Independence and Bernoulli Trials. Sharif University of Technology 2 Independence  A, B independent implies: are also independent. Proof for independence.
Chapter 7 Sampling Distributions Statistics for Business (Env) 1.
1 What Practitioners Need to know... By Mark Kritzman Holding Period Return Holding Period Return  HPR = (Ending Price – Beginning Price + Income) / Beginning.
Decision theory under uncertainty
1 Parrondo's Paradox. 2 Two losing games can be combined to make a winning game. Game A: repeatedly flip a biased coin (coin a) that comes up head with.
L56 – Discrete Random Variables, Distributions & Expected Values
GamblingGambling What are the odds? Jessica Judd.
Last Study Topics 75 Years of Capital Market History Measuring Risk
Independence and Dependence 1 Krishna.V.Palem Kenneth and Audrey Kennedy Professor of Computing Department of Computer Science, Rice University.
President UniversityErwin SitompulPBST 4/1 Dr.-Ing. Erwin Sitompul President University Lecture 4 Probability and Statistics
Discrete Probability Distributions. Random Variable A random variable X takes on a defined set of values with different probabilities. For example, if.
6.1 Discrete and Continuous Random Variables Objectives SWBAT: COMPUTE probabilities using the probability distribution of a discrete random variable.
Copyright © 2011 Pearson Education, Inc. Probability: Living with the Odds Discussion Paragraph 7B 1 web 59. Lottery Chances 60. HIV Probabilities 1 world.
Investments Lecture 4 Risk and Return. Introduction to investments §Investing l Definition of an investment: The current commitment of dollars for a period.
The expected value The value of a variable one would “expect” to get. It is also called the (mathematical) expectation, or the mean.
Gambling and probability 1. Odds and football.  Predict the Premier League results for this weekend.  Can you estimate the probability of a win/draw/loss.
1 Chapter 4 Mathematical Expectation  4.1 Mean of Random Variables  4.2 Variance and Covariance  4.3 Means and Variances of Linear Combinations of Random.
© Oklahoma State Department of Education. All rights reserved.1 The Costs and Benefits of Gambling Gambling.
The Law of Averages. What does the law of average say? We know that, from the definition of probability, in the long run the frequency of some event will.
Chapter 8: The Binomial and Geometric Distributions 8.2 – The Geometric Distributions.
© 2013 Pearson Education, Inc., publishing as Prentice Hall. All rights reserved.10-1 The Binomial Solution How do we find a replicating portfolio consisting.
Gambling as investment: a generalized Kelly criterion for optimal allocation of wealth among risky assets David C J McDonald Ming-Chien Sung Johnnie E.
Lesson 96 – Expected Value & Variance of Discrete Random Variables HL2 Math - Santowski.
Risk and Return in Capital Markets
Chapter 11 Risk ad Return in Capital markets.
CHAPTER 6 Random Variables
Presentation transcript:

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

2 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

3 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

4 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”

5 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

6 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 dollars –Your median wealth is 0 dollars Would you bet this way to maximize the arithmetic mean of your wealth?

7 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?

8 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

9 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

10 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

11 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

12 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

13 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

14 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)

15 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

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

17 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

18 Intuition About the Kelly Criterion for this Model The Kelly criterion 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

19 Examples For the original example (W = 2, p = ½) f = / 2 =.25 G = –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 = Median final wealth = 0

20 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

21 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

22 An Example Assume p = ½, W = 1, L = 0.5. Then f =.5 G = 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 You win. B is 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

23 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

24 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 –Even if the stock just oscillated around its initial value forever, Shannon would be making (1.0607) n gain in n days

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

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

27 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.

28 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

29 N Outcomes, con’t The arithmetic mean of the log of the gain is 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 to obtain

30 N Outcomes, con’t Taking the derivative, setting that derivative equal to 0, and solving for f gives which is very close to the mean/variance The variance is

31 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

32 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

33 An Example of the Fluctuation

34 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.

35 Growth Rate for Different Kelly Fractions

36 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 = Half Kelly value is f =.25 G = Suppose we are going to play only 4 games and are willing to take more of a risk We try f =.75 G = and f = 1.0 G = 1.0

37 All the Possibilities in Four Games Final Bankroll ½ Kelly Kelly 1½ Kelly 2 Kelly f =.25 f =.5 f =.75 f = wins 0 losses (.06) wins 1 loss (.25) wins 2 losses (.38) win 3 losses (.25) wins 4 losses (.06) Arithmetic Mean Geometric Mean

38 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.

39 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

40 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, pp , stat.wharton.upenn.edu/~steele/Courses/434F2005/Context/Kelly% 20Resources/Samuelson1979.pdfhttp://www- stat.wharton.upenn.edu/~steele/Courses/434F2005/Context/Kelly% 20Resources/Samuelson1979.pdf –Famous paper that critiques the Kelly Criterion in words of one syllable –Contains pointers to many other references