Install
openclaw skills install @deciqai/expected-value-and-kellyActivate when: user asks 'how much should I bet/invest on this?', 'what's the expected value here?', 'Kelly criterion', 'optimal bet size', 'fractional Kelly', 'how big a position should I take?', or is allocating capital across repeated decisions (ad spend by segment, VC portfolio construction, position sizing, A/B test ramp). Do NOT activate when: the decision is one-shot and non-repeating (career change, marriage) — use regret-minimization instead; or when the user cannot estimate probabilities or payoffs even roughly.
openclaw skills install @deciqai/expected-value-and-kellyTwo questions decide most repeated bets: is this bet good? (EV) and how big? (Kelly). Most professional ruin comes from positive-EV bets sized wrong. EV = p · W − q · L. If EV ≤ 0, do not bet. Kelly f* = (bp − q) / b maximizes long-term geometric growth (Kelly, Bell Labs, 1956). Full Kelly requires casino-grade certainty; default to half- or quarter-Kelly for estimated edges.
Neighbors: first-principles · occams-razor · second-order-thinking · inversion · regret-minimization (for non-repeating life decisions).
When NOT to use: one-shot life decisions → regret-minimization; negative-EV bets (don't bet); unestimable probabilities; correlated bets without portfolio adjustment.
Engine mode: user has a concrete repeated bet → run The Process directly. Coach mode: user is unfamiliar → guide step by step.
In Coach mode, respond one step at a time. Each [WAIT] is a hard stop — output only that step's question, then stop.
Run the EV-Kelly Sizing (EV → Kelly → fractional Kelly → stop trigger):
# EV-Kelly Sizing: <bet/decision>
## Repeatability: <count or "ongoing"> — if one-shot, STOP.
## Bet map: p=<>, q=<>, W=<>, L=<>, b=<>
## EV: p·W − q·L = <number> — Edge: <positive/negative/zero>
## Estimation uncertainty: <measured/estimated>; 80% CI on edge: <range>
## Kelly fraction: f* = <full Kelly> → practitioner: <half/quarter-Kelly> = <number>
## Stop trigger: "I will re-estimate if <condition>."
## Correlation check: bets independent? <yes/no — adjustment>
→ Method in Action: Ed Thorp, Blackjack, and Princeton-Newport (1961 → 1988)
| Domain | Fractional-Kelly | Stop trigger |
|---|---|---|
| Active equity | quarter-Kelly or less | drawdown > 2× expected annual vol |
| Venture capital | portfolio-level quarter-Kelly | hit rate diverges from model by vintage |
| Ad spend by segment | half- to full Kelly | ROAS falls >2σ over N conversions |
| A/B test ramp | fractional Kelly on traffic % | regression in primary metric |
→ Primary sources: references/sources.md
[D] = designed upfront | [O] = observed in real use. [O] entries are more valuable.
| Fake move | Reality |
|---|---|
| [D] Applying Kelly to one-shot decisions | Kelly maximizes long-run geometric growth rate across many bets. For a one-time bet, EV is the right concern; for life decisions, use regret-minimization. |
| [D] Treating estimated p as known p | Kelly is brutal when probability estimates are wrong. Use fractional Kelly to compensate for estimated inputs. |
| [D] Using full Kelly with subjective probabilities | Full Kelly is for casino-grade certainty. Half-Kelly costs ~25% of growth and cuts ruin risk by far more (Thorp 1997). |
| [D] Confusing positive EV with "should bet" | EV ignores variance, bankroll, path-dependency. A +1% EV bet that ruins you 1% of the time is not equivalent to one that ruins you 0%. |
| [D] Ignoring correlation across bets | Kelly assumes independent bets. Correlated bets (same sector, same vintage) require a lower portfolio-level Kelly. |
| [D] Using Kelly on negative-EV bets | Kelly returns zero or negative fraction when EV ≤ 0. No sizing rescues a -EV bet. Don't bet. |
| [D] Treating EV as the only number that matters | Bernoulli 1738: utility of money is non-linear. A +$1000 EV bet that risks your rent ≠ one that risks your rounding error. |
| [D] Forgetting Kelly's brutal variance | Even correct full-Kelly expects 50%+ drawdowns. Most professionals use half/quarter-Kelly to survive psychologically. |
| [D] Applying Kelly to non-financial "bets" | Kelly assumes a compoundable bankroll. Relationships, careers, time, attention don't compound across independent trials. |
| [D] Computing Kelly once, ignoring updates | A static fraction on a now-stale edge is the textbook path to ruin. Pre-commit to a re-estimation trigger. |
| → Add [O] entries here after each real use — paste the actual failure pattern | What went wrong and why |
Part of deciqAI Knowledge Skills — open-source thinking skills that make rigor executable for AI agents. Built by deciqAI · https://deciqai.com · Contributions welcome — see the template at the repo root.