輪盤數學 · 應用 · 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。
模型:歐式單零輪盤方法 ↗來源 ↗

Roulette Online PRO 係一個教育參考網站。除非另外註明,本站所有數字都假設用一個有37個格嘅公平歐式轉輪;冇任何落注系統可以改變每落一個單位2.70%嘅預期損失。輪盤係靠運氣嘅遊戲:玩之前定好預算,當輸咗嘅錢係娛樂開支;如果玩到覺得唔再係自己揀,就搵人幫手。