Most active commenters
  • kqr(3)

50 points obrhubr | 37 comments | | HN request time: 1.537s | source | bottom
1. wenc ◴[] No.41874487[source]
The Kelly criterion is almost never used as-is because it is very sensitive to probability of success, which is hard to know accurately and in many cases, dynamically changing. This is easy to see in an Excel spreadsheet. Changing the probability by even 0.01 percent can vastly shift the results. The article calls this out in the last paragraph.

The article mentions fractional Kelly is a hedge. But what fraction is optimal to use? That is also unknowable.

Finance folks, correct me if I’m wrong, but the Kelly Criterion is rarely used in financial models but is more a rule of thumb that says roughly if you have x $ and probability p, in a perfect world you should only bet y amount. But in reality y cannot be determined accurately because p is always changing or hard to measure.

replies(3): >>41874767 #>>41875566 #>>41878916 #
2. quickquest ◴[] No.41874518[source]
For the coin flipping scenario, what happens to the casino? Shouldn't they lose money in the long run as well? Or is it that they're under the kelly threshold with all the house cash?
replies(1): >>41874914 #
3. gwbrooks ◴[] No.41874712[source]
A million years ago, when you could still find video poker games with 100%+ theoretical return or poorly thought-out promotions offering enough cash-back to get you over 100%, we'd calculate the Kelly number for a given opportunity -- the bankroll necessary to ride out hills and valleys in favorable situations.

Spoiler: It's almost always 3-4x the value of a royal flush. So you needed $12-16k if you were playing a $1-per-coin game with a 1% edge at a pretty good clip.

And what do you earn with perfect play in that situation? The princely sum of around $30 an hour.

replies(2): >>41875481 #>>41876338 #
4. eftychis ◴[] No.41874767[source]
I am not sure what you mean by "never used as is."

The Kelly criterion is an optimization of capital growth (its logarithm) method/guide. Not using it doesn't change its correctness.

But yes you need to know the advantage/the edge you have. Like with pricing methods eg for European options for Black Scholes you need to know the volatility and there is no way to know it, you estimate. This is where all the adjusting for bias and ML comes in.

replies(1): >>41875249 #
5. headPoet ◴[] No.41874914[source]
The casino will break even, but for the gamblers there will be a small number that win big, and a much larger number that lose out. Consider two rounds, there's a 25% chance you 4x your money, a 50% chance you 0.75x your money and a 25% chance you 0.25x your money
6. avidiax ◴[] No.41874931[source]
Here's a link to a bigger graph for the Blackjack Scenario:

https://github.com/obrhubr/kelly-criterion-blackjack/blob/ma...

I think it shows that Blackjack is not even theoretically winnable over time if you have to pay for information on the count in the form on minimum bets. The ideal case it that you bet $0.49 for every $1,000 in your investment pool when the count is extraordinarily high.

Even if you hack the casino's cameras so you know the count without having to be at the table, your reward is a growth rate that is very low per hand.

replies(1): >>41890569 #
7. roenxi ◴[] No.41875153[source]
A word that is good to know here is ergodic [0]. Which I must admit to not really understanding although it is something like the average system behaviour being equivalent to a typical point's behaviour. If a process is non-ergodic then E[X] is usually not as helpful as it seems in formulating a strategy.

[0] https://en.wikipedia.org/wiki/Ergodic_process

replies(4): >>41875266 #>>41875506 #>>41875584 #>>41878880 #
8. wenc ◴[] No.41875249{3}[source]
But do you calibrate p (say through estimation) and then apply the Kelly criterion in your portfolio?

I don’t think it is used in this way. It swings too much with a given p.

replies(1): >>41875380 #
9. KK7NIL ◴[] No.41875266[source]
Some math/finance nerds made a whole YouTube channel about ergodicity, which I've been really enjoying: https://youtu.be/VCb2AMN87cg

Nassim Taleb also talks about this quite a lot: https://youtu.be/91IOwS0gf3g

TL;DR: while a single investment may be ergodic, portfolio management (the math behind weighting successive and concurrent investments/bets) is not, as it has a strong dependence on all prior states.

replies(1): >>41875372 #
10. uoaei ◴[] No.41875372{3}[source]
this comment may be confusing and I doubt this will help much but:

Ergodicity is less about memorylessness and more about the constraints on transitions into this or that state. A system is ergodic if "anything that can be an outcome, eventually will happen".

11. uoaei ◴[] No.41875380{4}[source]
You calibrate for a reasonable distribution of p and use that to estimate (Monte Carlo, etc.) expected gain, optimizing your investment based on that. With this technique your estimate will probably end up somewhere around the common heuristics.
12. bdjsiqoocwk ◴[] No.41875481[source]
I would like to understand in detail what you just wrote.

"$1 per coin game" is this a game where you put in $1 to play and get paid either $2 or $0 with 50-50 probability (0 expected).

And the what does it mean %1 edge? Does it mean the probabilities are such that the expected payout is 1c per coin flip?

replies(3): >>41876270 #>>41876304 #>>41946948 #
13. diab0lic ◴[] No.41875506[source]
An example that may be useful to aid in understanding… Casinos are non ergodic.

A million players each placing a single bet will have an expectation of losing the house edge.

A single player placing a million bets has an expectation of $0.

The fact that the aggregate and the single entity Experience different expectations despite both placing a million bets is what makes this ergodic.

replies(3): >>41875567 #>>41876691 #>>41887536 #
14. intuitionist ◴[] No.41875566[source]
Yeah, but I think this misses the point a bit. The fact that your true edge isn’t knowable wouldn’t be so bad except that if you’re betting full-Kelly and overestimate your edge even a little bit, your probability of ruin in the long run goes to 1. Whereas if you underbet, you’ll compound wealth at a little lower rate but won’t risk ruin.
15. ◴[] No.41875567{3}[source]
16. sobriquet9 ◴[] No.41875584[source]
An illustrative example to explain ergodicity. Consider the following game. Players start with $100. At every turn, a fair coin is flipped. If tails, the amount of player's money is increased by 50%. If heads, the amount of player's money is decreased by 40%. To play or not to play, that is the question.
17. CrazyStat ◴[] No.41875743[source]
I had never paid much attention to Effective Altruism or SBF before FTX blew up, but when that happened I spent some time reading old EA forum posts and SBF tweets and interviews. One of the things that absolutely shocked me was the dismissal of the Kelly criterion by SBF and other EAs. The argument was that the Kelly criterion was only rationalized by a logistic utility function, and if you were going to use your money for altruistic purposes a linear utility function is more appropriate (at least up into the trillions of dollars) because you can help twice as many people with $200 billion as you can with $100 billion.

This argument was used--by SBF and others--to justify truly absurd risk taking. I don't think it's an exaggeration to suggest that this misunderstanding may have been one of the primary drivers of Alameda's (and hence FTX's) downfall. For a group with as many smart people as EA and as many people obsessed with existential risks as EA not to have started screaming en masse when SBF suggested he would take a 51-49 bet on doubling utility or deleting all known life out of existence[1] is insane.

The mathematical misunderstanding is one part of it. Kelly betting dominates any other betting strategy in the sense that as the number of bets increases the probability that the Kelly better will have more money than someone following any other strategy approaches 1. You don't need a logarithmic utility function. If I bet Kelly and you follow some other strategy, eventually I will almost surely end up with more money and more utility than you.

I suspect another part of it is a misunderstanding by SBF (and perhaps others) of Jane Street's trading strategy. Jane Street encouraged their traders to be "risk neutral", which can be expressed as maximizing expected utility with a linear utility function. They wanted their traders to be willing to take big risks. But any individual trader is only working with a tiny fraction of Jane Street's capital, so even if they're risking all the money they've been given to work with on a bet that's still a small bet relative to the entire company. SBF seems to have taken that same risk neutral idea and applied it to the entirety of Alameda/FTX's available capital (and indeed expressed a willingness to apply it to the combined utility of the entire world), with predictably disastrous results.

[1] https://elmwealth.com/a-missing-piece-of-the-sbf-puzzle/

replies(3): >>41875918 #>>41875955 #>>41875960 #
18. mhh__ ◴[] No.41875807[source]
All these probabilities and so on are basically unknowable so the real utility of this kind of thing for a hedge fund is converting a traders view into a suggested size so they take the amount of risk that they're being paid to take.
19. evrydayhustling ◴[] No.41875918[source]
What a great example of Dunning-Kruger as applied to elites. I remember the spike of interest in DK bias during the pandemic [1], largely as a way of explaining how uneducated folks could be so confidently incorrect about vaccination strategies. In reality it can strike in any social strata -- like a bunch of professional traders wielding billions of dollars, smugly misunderstanding Kelly.

[1] https://trends.google.com/trends/explore?date=today%205-y&ge...

20. nonameiguess ◴[] No.41875955[source]
I don't want to denigrate the whole community or anything as quite a lot of thought-provoking and interesting reading has come out of it over the years, but I can't help but recall very serious defense of the notion of quantum immortality on LessWrong after Eliezer's fairly convincing rants that any serious scientist has to conclude multiple worlds is the only sensible interpretation of quantum mechanics. If you honest to God take this to its logical conclusion, then wiping out all life in your particular branch of the multiverse may very well be the right move if it doubles utility in 51% of all possible universes.

I don't actually buy that argument and think it's insane, but it would not remotely surprise me if SBF believed it, and if you do, then you don't really observe the Kelly criterion. You take the ruin for the larger team of other yous that collectively wins. If the density of quantum branches in which he funded colonization of the galaxy is greater than the density in which he is serving life in prison, it was worth it.

replies(1): >>41878435 #
21. whatshisface ◴[] No.41875960[source]
In some way, I think everyone was so used to founders saying dumb things for attention that nobody realized SBF was actually going to do it..
22. nighthawk454 ◴[] No.41876220[source]
A few links through, this Ship Investor simulator is a great super-simple game to test some intuition: https://xkqr.org/ship-investor/ship-investor.html
replies(1): >>41878033 #
23. bayesianbot ◴[] No.41876270{3}[source]
He means video draw poker machines, where you get paid a multiple of your bet depending on your final hand. Most online casinos used to have bonuses where the required wagering amount to clear the bonus multiplied by the return value of certain games led to a positive expected value for the player. So as example you'd deposit say $100, get $100 bonus, wager on video poker for $2000, getting back 99% of the wager for average of $20 loss from the wagering and $180 cashout. Much more rarely there also were some games that when played optimally, would give slightly over 100% return for your bet. The casinos were banking on most players playing them suboptimally and/or getting hooked.

Even though it's +EV for the player, you'd need some bankroll to ride out the variance as you could lose on X casinos in a row. Ages ago these were really +EV and you could usually just autoplay them with small bets, so the bankroll requirements weren't that harsh. Later on the wagering requirement on the bonuses grew, often making the small bet grind unprofitable, but you could still find profitable situations when played with correct bet sizing. But those needed much bigger bankroll as usually it was more +EV the bigger the bets you made, so you'd often play many casinos for just a few minutes with big bets losing your deposit and bonus, but sometimes winning big and covering the losses with profit left over.

24. gwbrooks ◴[] No.41876304{3}[source]
Single-line (that is, five dealt cards) video poker can be played with 1-5 coins. However, there is a disproportionate payout for a royal flush (A-K-Q-J-10, all suited) with five coins played. There are no video poker games you can play with less than five coins that are anything near breakeven payout.

Every video poker game in Nevada is required to be truly random. And every game has the payout for every possible poker hand shown on the game. A bit of math allows you to calculate both the correct strategy for any five cards dealt (which you memorize, just like proper blackjack strategy), but it also tells you the theoretical return of the game with perfect play.

As an example, 9/6 Jacks or Better (a game that pays nine coins for each coin played for a full house and six coins for each coin played for a flush) has a theoretical payout of 99.54% with perfect play. This puts it in the range of blackjack. And, like blackjack, you will eventually go broke because it's still not over 100%.

Unlike blackjack, you can't count cards. But what you can do is seek out returns in other ways. In the 1990s and 2000s, some casinos would compete on cashback comps. Add 0.33% or 0.5% cashback to the game I just described, and you're close to (or barely over) 100% payback. Find a game with a baseline payout of over 100% (full-pay Deuces Wild is 100.76, as a [rare] example), and you're deeper into the profitability zone.

Small returns unless you're playing higher denomination returns with a giant bankroll. Most people who do this make it a bit of a lifestyle -- pushing tens or hundreds of thousands of dollars through the machine gets you noticed by the casino, leading to free rooms, free meals, invitations to parties, etc.

Others look (or looked -- it's rarer now) for poorly planned promotions where a scarce hand pays off grandly and changes the math. Most of the life-changing wins in this space came from those sorts of situations.

25. jiggawatts ◴[] No.41876338[source]
Isn't that a pretty good return? Multiply by 100: this is the equivalent of $3,000/hour on $1.2M of capital!
replies(1): >>41876572 #
26. nighthawk454 ◴[] No.41876572{3}[source]
Not if you’re throughout limited with $1 games
replies(1): >>41876673 #
27. jiggawatts ◴[] No.41876673{4}[source]
Play 100 accounts in parallel.
28. ◴[] No.41876691{3}[source]
29. mudita ◴[] No.41878033[source]
The game is a bit weird. It often offers very bad deals, without an option not to invest. For example for the Gibraltar strait, the game gives the information that the probablity of success is between 90% and 100% and that it’s been traversed 31 times with a 90 % success rate. Then it offers me the choice between an investment of different sizes, where I cannot win back more than my investment, so I have to risk money for no possible gain (invest 167 ducats in shipment worth 167 ducats).
replies(1): >>41878844 #
30. CrazyStat ◴[] No.41878435{3}[source]
Hah!

I had forgotten about this line of argument, but I came across it in a post on the EA forums arguing that you should choose what to do with your life this way. Basically if you believe that in this branch you have far above average ability (compared to yourself in other branches) to do good in the world then you should devote your life to altruism; conversely, if in this branch you have below average ability (again compared to yourself in other branches) then it's ok to spend your time playing video games instead.

31. kqr ◴[] No.41878844{3}[source]
Author here. Huh, you're right. 13 turns into the first scenario I opened[1] I get offered very weird deals, such as investing my full 184 ducats in a shipment worth only 182 ducats. Or! Investing 1878 ducats when I only own 184...

I wrote this game a few years ago, and it didn't use to have this bug. I can't take the time to figure it out now, but clearly something went wrong along the way!

[1]: Fortunately it's easily reproducible: put down the minimum in all first 12 turns and then look at the weirdness that is turn 13! https://xkqr.org/ship-investor/ship-investor.html?seed=883

32. kqr ◴[] No.41878880[source]
Ergodicity in the mean refers to the ensemble mean being the same as the temporal mean, i.e. measuring one process 1000 times will give the same average as a single measurement of 1000 different processes.

One way for a process to not be ergodic in the mean is when there's some sort of barrier, as sibling comments allude to.

Another is if the overall mean value is picked randomly each time the process starts, but is different each time the process runs. So for example personal monthly expenditures are not ergodic in the mean, because some people are born into circumstances that make them wealthy, and they will on average spend more each month than people not born into such good circumstances.

The ensemble average will tend towards people's average spending, while the temporal average will tend towards each individual's spending.

33. kqr ◴[] No.41878916[source]
> Changing the probability by even 0.01 percent can vastly shift the results.

No, not generally. Since it's a quadratic function we're optimising, it's surprisingly flat at the top. Sure, there are some bets where the edge is tiny and 0.01 percent is a large proportion of that, but that doesn't invalidate the Kelly criterion – by what other criterion would you determine the appropriate bet size?

> is more a rule of thumb that says roughly if you have x $ and probability p, in a perfect world you should only bet y amount.

It applies far more broadly than to binary bets. It tells you how to allocate your spending optimally across any number of opportunities, based on joint probability of outcomes.

Both of your misconceptions are common, and they are addressed in the article linked in the submission: https://entropicthoughts.com/the-misunderstood-kelly-criteri...

34. diab0lic ◴[] No.41887536{3}[source]
Errr that last sentence should end with “is what makes this non-ergodic.”
35. obrhubr ◴[] No.41890569[source]
Thanks for linking the image. You're right in my simulation there is almost no growth, even at a high count and if you're forced to bet every round you would certainly lose money. But it's a simplistic simulation and a real casino offers slightly better odds if the rules are right.
36. monicaaa ◴[] No.41946948{3}[source]
Growing an online audience while gaming can be both fun and challenging. One thing that really works is creating content that your viewers find engaging and relatable. Sticking to a regular streaming schedule and interacting with your audience helps build a sense of community. Another option worth exploring is monetizing your gaming through platforms like https://tojiwin.net/ , which offer different ways to earn money, like playing games designed for profit and using their referral program. This gives you flexibility to find what suits your style best. The more authentic and interactive you are with your viewers, the more likely they are to stick around and support you.