輪盤數學 · 應用 · 8分鐘

凱利公式與輪盤

凱利公式告訴有優勢的投注者該押多少。對輪盤而言,它的答案很明確:甚麼都不押。

簡短答案

凱利注碼 = 優勢/賠率。優勢為負時,公式得出負分數,意思是不下注。這項準則仍有助理解,追蹤轉輪偏差的玩家當年為何那樣決定注碼,以及其他人為何應按預算決定注碼。

凱利比例
f* = (bp − q) / b
押紅色
(1 × 18/37 − 19/37) / 1 = −1/37
解讀
不下注
出現率1/30的口袋
≈ 資金的+0.6%

這項準則

John Kelly (1956) asked how a gambler with a known edge should size bets to maximize long-run growth of the bankroll金額資金為遊戲預留的總額。資金管理是決定每注和每場次要冒多少風險。閱讀全文 →. The answer, for a bet paying b to 1 with win probability數學概率結果發生的可能性,以0到1或0%到100%表示。一個號碼:1/37 = 2.70%。閱讀全文 → p and loss probability q = 1 − p, is to stake the fraction f* = (bp − q) / b of the bankroll. Positive f* means bet that fraction; zero or negative means do not bet. Kelly worked at Bell Labs, and his paper, “A new interpretation of information rate”, set the problem in Claude Shannon’s theory of information: a gambler who gets tips over a noisy line, at fair odds, can grow the bankroll at best at the rate the line carries information. This is a growth objective under a probability model, not a promise to finish ahead after a particular number of bets. A spending limit, finite deadline or payout金額派彩中獎賭注返還的金額,以「1賠X」表示,另加退回的注碼。閱讀全文 → cap changes the decision problem.

一名賭徒透過有噪音的線路收聽貼士,並押上部分資金。

輪盤中的凱利投注

For red賭注紅押18個紅色號碼的等額賠付注。法文:rouge。閱讀全文 →: b = 1, p = 18/37, q = 19/37; f* = (18/37 − 19/37)/1 = −1/37. For a straight up賭注單號單一號碼,派彩35:1。閱讀全文 →: b = 35, p = 1/37, q = 36/37; f* = (35/37 − 36/37)/35 = −1/1295. Every standard bet gives a negative Kelly fraction, because every bet has a negative edge, and the growth-optimal stake is zero. Kelly betting on roulette is a formal way of saying what the house-edge page says: no positive stake maximizes expected logarithmic growth when the bet has negative expectation. A particular session can still end in profit. La partage規則La Partage(分攤規則)法式規則:零號出現時,返還等額賠付注碼的一半。將這些賭注的莊家優勢減半至1.35%。閱讀全文 → needs a separate three-outcome calculation: a win, a full loss or a half-loss on zero轉輪零號單一綠色口袋,沒有任何等額賠付、打注或欄注涵蓋;是莊家優勢的來源。也稱單零、0。閱讀全文 →. Its expected log growth also falls as the stake increases from zero.

賭注bpf* = (bp − q)/b意思
紅色,歐式118/37−0.027不下注
紅色,La Partage三種結果18/37贏;1/37輸一半二元公式不適用增長最佳注碼為0%
單號351/37−0.00077不下注
單號押出現率1/30的口袋(有偏差)351/30+0.0057押資金的0.57%
單號押出現率1/25的口袋351/25+0.0126押資金的1.26%

凱利確曾適用的場合

Suppose a pocket設備口袋轉子上37個有號碼隔間之一。也稱 slot、cup。閱讀全文 → really has a stable, known probability of 1 in 30 and pays 35 to 1. The Kelly fraction is 0.57%: about $57 from a $10,000 bankroll. Under independent spins數學獨立轉輪結果每次旋轉不論過去紀錄,概率都相同。本站每項計算的基礎。閱讀全文 → and exact fractional staking, the geometric growth factor over 1,000 spins is about 1.7. Expected bankroll grows faster because rare large wins pull up the average. These are model calculations, not evidence that any named historical player used Kelly or achieved this result.

單號的凱利注碼(佔資金%),按口袋的真實出現率%
1/37(公平)
0% · 不下注
1/35
0.08%
1/33
0.26%
1/30
0.57%
1/25
1.26%
1/20
2.29%
%
01.152.29%
即使偏差很大,注碼也應該很小:派彩賠率高,方差也大。

如何偵測輪盤轉輪偏差

典型與平均

The gap between the typical bankroll and the average one is wide. Take a pocket that hits 1 time in 25, a hypothetical edge of 44% per unit金額單位系統或玩家採用的基本注碼。加碼系統以單位描述,因此適用於任何賭枱。閱讀全文 → staked. Kelly stakes 1.26% of the bankroll on it. After 1,000 spins the typical bankroll has grown about 11.5 times, while the average, pulled up by a few very lucky runs, has grown about 249 times. Betting more than Kelly raises the average and lowers the typical result: at twice the Kelly stake the typical bankroll only doubles, and by two and a half times the Kelly stake it shrinks, although every bet still carries a 44% edge. In this example, half-Kelly retains about 78% of the expected log growth. This fraction depends on the probabilities and payout.

注碼(相對凱利注碼)注碼(佔資金%)1,000次旋轉後的典型資金
½0.63%× 6.7
11.26%× 11.5
1½1.89%× 7.4
22.51%× 2.2
2½3.14%× 0.38
33.77%× 0.04
一個每25次出現1次、派彩1賠35的口袋。典型指中位數,即以e為底、指數為每次旋轉增長率1,000倍的冪。

優勢只是猜測時

Kelly uses the true probabilities, but a player usually has only estimates. Selecting the busiest pocket from a past record creates a selection problem: even a fair wheel has a busiest pocket. Its observed rate can overstate its future probability. Choosing the stake from that same record compounds the error. An independent follow-up sample helps test a proposed bias (see How to Detect Roulette Wheel Bias). Reducing the calculated fraction reduces exposure, but cannot turn a false edge into a real one.

有優勢的人

Haghani and Dewey (2016) studied 61 participants given $25 and 30 minutes to bet on a simulated coin with a disclosed 60% chance of heads. The payout cap was $250; its value was revealed when a proposed winning bet would reach it. Their reported 21% success category included balances of at least $200, while the 28% “bust” category meant less than $2, not necessarily zero. Eighteen participants bet their entire balance on one flip. The uncapped Kelly fraction is 20%, but the cap and deadline change the optimization problem. The experiment illustrates how stake choices matter even with a known advantage; it does not establish one best strategy for every objective.

一名玩家在一次擲幣中押上全部資金,身旁的玩家則只押一小部分。

改用甚麼

沒有優勢時,決定注碼是預算問題,而不是增長問題:注碼 = 你願意每次旋轉花費的金額,由每小時預算與賭枱節奏推算(見「輪盤資金管理」頁)。凱利公式對一般玩家的貢獻,在於答案明確:零。任何高於零的注碼,都是玩的代價,由你自己選擇,而非任何公式優化的結果。

關於分數凱利與「資金管理」的說明

Betting a fixed percentage of the current bankroll is proportional staking: the stake rises after wins and falls after losses. Flat betting策略固定下注每次旋轉下注相同金額。所有加碼系統比較的基準。閱讀全文 → instead keeps the cash stake fixed. Neither creates an edge on ordinary roulette. With infinitely divisible stakes and a fraction below 100%, proportional staking never reaches exactly zero in finitely many losses, but the balance can become arbitrarily small. Real table minimums can prevent further play much sooner. The growth-optimal fraction remains zero.

固定下注輪盤策略

公式

f* = (b·p − q) / b
紅色:f* = −1/37 · 單號:f* = −1/1295
出現率為r的有偏差口袋:f* = (35r − (1 − r)) / 35

問題

凱利公式會否在某些情況下建議押輪盤?

Only when the actual probabilities, payouts and conditions give a credible positive advantage. Standard bets on an unbiased wheel have no such advantage.

為甚麼是半凱利?

Using half the calculated fraction reduces exposure to errors in the estimated edge. The familiar three-quarters-growth rule is an approximation for small advantages, not a universal identity. It does not protect against an edge that does not exist.

凱利和資金管理一樣嗎?

不一樣。凱利是在有優勢時優化增長;資金管理是在沒有優勢時控制支出。

趣味數學

先自己動手試試。每個解答都已摺起,準備好再展開。

  1. Suppose a hypothetical bet on one number has a known 44% edge under standard payouts金額派彩中獎賭注返還的金額,以「1賠X」表示,另加退回的注碼。閱讀全文 → and independent spins數學獨立轉輪結果每次旋轉不論過去紀錄,概率都相同。本站每項計算的基礎。閱讀全文 →. Kelly gives a 1.26% bankroll金額資金為遊戲預留的總額。資金管理是決定每注和每場次要冒多少風險。閱讀全文 → fraction. What if the same 44% edge came on one bet spread over five neighboring numbers?

    顯示解答

    答案 此時凱利公式說應押資金的7.1%,而資金的增長速度快近六倍:1,000注後約增至125萬倍,而單一號碼只有約11.5倍。

    A straight up賭注單號單一號碼,派彩35:1。閱讀全文 → with a 44% edge wins with chance 0.04, since 36 × 0.04 = 1.44. Kelly’s stake is the edge divided by the odds: 0.44/35 = 1.26%. The typical growth per bet is 0.04 × ln(1 + 35 × 0.0126) + 0.96 × ln(1 − 0.0126) ≈ 0.00244, so 1,000 bets multiply the bankroll by about e^2.44 ≈ 11.5.

    Spread one stake over five numbers and the bet wins with chance 0.20 and pays 36/5 for 1, that is 6.2 to 1: still a 44% edge, since 0.2 × 7.2 = 1.44. Kelly’s stake becomes 0.44/6.2 = 7.10%, and the growth per bet 0.01404, about 5.75 times as much. Over 1,000 bets that is e^14.04, about 1.25 million.

    The edge is the same; the swings are smaller. A bet that wins one time in five has a larger growth-optimal fraction in this model, although losses can still reduce the bankroll severely. This comparison assumes the same known edge for both bets; actual predictions need independent evidence.

  2. Assume two numbers are adjacent on the betting layout設備投注枱面賭枱上印製的下注格。也稱 table、felt、cloth。閱讀全文 → and each has a stable, known probability數學概率結果發生的可能性,以0到1或0%到100%表示。一個號碼:1/37 = 2.70%。閱讀全文 → of 1 in 25 on independent spins. Compare a split賭注分注兩個相鄰號碼,派彩17:1。閱讀全文 → between them at 17 to 1 with equal straight-up stakes on the two numbers. How much does Kelly say, and how fast does the bankroll grow compared with one such pocket設備口袋轉子上37個有號碼隔間之一。也稱 slot、cup。閱讀全文 →?

    顯示解答

    答案 沒有差別:分注押資金的2.59%,或每個號碼各押1.29%。1,000次旋轉中,典型資金約增長155倍,而一個口袋只有11.5倍。

    The split wins with probability 2/25 = 0.08 and pays 17 to 1, so it returns 18 × 0.08 = 1.44 per unit金額單位系統或玩家採用的基本注碼。加碼系統以單位描述,因此適用於任何賭枱。閱讀全文 → staked: an edge of 44%, the same as one biased pocket. Kelly’s stake is the edge divided by the odds: 0.44/17 = 2.59%.

    Two straight-up bets of 1.29% each give exactly the same results. When either number comes up, one chip金額籌碼代表固定金額、放在投注枱面上下注的代幣。也稱 check。閱讀全文 → wins 35 to 1 and the other is lost, a net of 34 × 1.29% = 44% of the bankroll, as the split pays; when neither does, both are lost.

    The growth per spin is 0.00505, against 0.00244 for one pocket, so over 1,000 spins the typical bankroll grows e^5.046 ≈ 155 times rather than e^2.44 ≈ 11.5 times. The geometric growth factor is larger because the combined bet wins more often at the same 44% edge. It is a model result, not a guaranteed bankroll.

漫畫點綴

令資金增長最大化的輪盤注碼,是人人早已知道的數字。

令資金增長最大化的輪盤注碼,是人人早已知道的數字。

來源

  1. Kelly, J. L. “A new interpretation of information rate.” Bell System Technical Journal 35(4),1956年。
  2. Breiman, L. “Optimal gambling systems for favorable games.” Fourth Berkeley Symposium on Mathematical Statistics and Probability,第1卷,1961年。
  3. Thorp, E. O. “Optimal gambling systems for favorable games.” Review of the International Statistical Institute 37(3),1969年。
  4. Thorp, E. O. The Mathematics of Gambling. Gambling Times / Lyle Stuart,1984年。
  5. Epstein, R. A. The Theory of Gambling and Statistical Logic, 2nd ed. Academic Press,2013年。
  6. Taylor, D. G. Games, Gambling, and Probability: An Introduction to Mathematics, 2nd ed. CRC Press,2021年。
  7. Ethier, S. N. The Doctrine of Chances: Probabilistic Aspects of Gambling. Springer,2010年。第13章,輪盤。
  8. Haghani, V. & Dewey, R. “Rational decision-making under uncertainty: observed betting patterns on a biased coin.” 工作論文,2016年10月;SSRN 2856963,arXiv:1701.01427。
模型:歐式、單零方法論 ↗來源 ↗