Przejdź do treści
Biblioteka skilli
Finanse i księgowość · Analiza

expected-value

/expected-value

Liczy wartość oczekiwaną decyzji: wyniki, prawdopodobieństwa i wypłaty dla każdej opcji, z korektą na ryzyko i czas.

Repozytorium
skills ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
11.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
4
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 11.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Liczy wartość oczekiwaną decyzji: wyniki, prawdopodobieństwa i wypłaty dla każdej opcji, z korektą na ryzyko i czas.

Wyzwalacze z opisu

is this worth itshould we do X or Yshould we exercise our pro-rata / follow onwhat
Oryginalny opis (EN)

Calculates the expected value of a decision: outcomes, probabilities and payoffs per option, then adjustments for risk, time value and option value, with sensitivity and breakeven odds. Use when the user asks "is this worth it", "should we do X or Y", "should we exercise our pro-rata / follow on", "what's the expected return", or mentions EV, decision trees or risk-adjusted return. Not for weighted qualitative criteria (use decision-matrix).

Jak działa

  1. Table of Contents
  2. Core Formula
  3. Workflow
  4. Common Patterns
  5. Guardrails
  6. Quick Reference
Sekcje z nagłówków SKILL.md, w oryginale · 170 linii, 1 391 słów
Podgląd SKILL.md
---
name: expected-value
description: >-
  Calculates the expected value of a decision: outcomes, probabilities and payoffs per option,
  then adjustments for risk, time value and option value, with sensitivity and breakeven odds. Use
  when the user asks "is this worth it", "should we do X or Y", "should we exercise our pro-rata /
  follow on", "what's the expected return", or mentions EV, decision trees or risk-adjusted
  return. Not for weighted qualitative criteria (use decision-matrix).
---
# Expected Value

## Table of Contents
- [Workflow](#workflow)
- [Common Patterns](#common-patterns)
- [Guardrails](#guardrails)
- [Quick Reference](#quick-reference)

## Core Formula

**EV** = Σ (Probability of outcome x Value of outcome)

```
EV = (p₁ × v₁) + (p₂ × v₂) + ... + (pₙ × vₙ)
where probabilities must sum to 1.0
```

**Example**: Launch feature with 60% chance of +$100k incremental net payoff, 40% chance of -$20k future net loss.
EV = (0.6 x $100k) + (0.4 x -$20k) = $60k - $8k = **$52k** (positive EV, rational to launch if risk tolerance allows)

## Workflow

Copy this checklist and track your progress:

```
Expected Value Analysis Progress:
- [ ] Step 1: Define decision and alternatives
- [ ] Step 2: Identify possible outcomes
- [ ] Step 3: Estimate probabilities
- [ ] Step 4: Estimate payoffs (values)
- [ ] Step 5: Calculate expected values
- [ ] Step 6: Interpret and adjust for risk preferences
```

**Step 1: Define decision and alternatives**

What decision are you making? What are the mutually exclusive options? See [resources/template.md](resources/template.md#decision-framing-template).

**Step 2: Identify possible outcomes**

For each alternative, what could happen? List scenarios from best case to worst case. See [resources/template.md](resources/template.md#outcome-identification-template).

**Step 3: Estimate probabilities**

What's the probability of each outcome? Use base rates, reference classes, expert judgment, data. See [resources/methodology.md](resources/methodology.md#1-probability-estimation-techniques).

**Step 4: Estimate payoffs (values)**

What's the value (gain or loss) of each outcome? Quantify in dollars, time, utility. See [resources/methodology.md](resources/methodology.md#2-payoff-quantification).

**Step 5: Calculate expected values**

Multiply probabilities by payoffs, sum across outcomes for each alternative. See [resources/template.md](resources/template.md#ev-calculation-template).

**Step 6: Interpret and adjust for risk preferences**

Choose option with highest EV? Or adjust for risk aversion, non-monetary factors, strategic value. See [resources/methodology.md](resources/methodology.md#4-risk-preferences-and-utility).

Validate using [resources/evaluators/rubric_expected_value.json](resources/evaluators/rubric_expected_value.json). **Minimum standard**: Average score ≥ 3.5.

## Common Patterns

**Pattern 1: Investment Decision (Discrete Outcomes)**
- **Structure**: Go/no-go choice with 3-5 discrete scenarios (best, base, worst case)
- **Use case**: Product launch, hire vs. not hire, accept investment offer, buy vs. lease
- **Pros**: Simple, intuitive, easy to communicate (decision tree visualization)
- **Cons**: Oversimplifies continuous distributions, binary framing may miss nuance
- **Example**: Launch product feature (60% success $100k, 40% fail -$20k) → EV = $52k

**Pattern 2: Portfolio Allocation (Multiple Options)**
- **Structure**: Allocate budget across N projects, each with own EV and risk profile
- **Use case**: Venture portfolio, R&D budget, marketing spend allocation, team capacity
- **Pros**: Diversification reduces variance, can optimize for risk/return tradeoff
- **Cons**: Requires estimates for many variables, correlations matter (not independent)
- **Example**: Invest in 3 startups ($50k each), EVs = [$20k, $15k, -$10k]. Total EV = $25k. Diversified portfolio reduces risk vs. single $150k bet.

**Pattern 3: Sequential Decision (Decision Tree)**
- **Structure**: Series of decisions over time, outcomes of early decisions affect later options
- **Use case**: Clinical trials (Phase I → II → III), staged investment, explore then exploit
- **Pros**: Captures optionality (can stop if early results bad), fold-back induction finds optimal strategy
- **Cons**: Tree grows exponentially, need probabilities for all branches
- **Example**: Phase I drug trial (70% pass, $1M cost) → if pass, Phase II (50% pass, $5M) → if pass, Phase III (40% approve, $50M revenue). Calculate EV working backwards.

**Pattern 4: Continuous Distribution (Monte Carlo)**
- **Structure**: Outcomes are continuous (revenue could be $0-$1M), use probability distributions
- **Use case**: Financial modeling, project timelines, resource planning, sensitivity analysis
- **Pros**: Captures full uncertainty, avoids discrete scenario bias, provides confidence intervals
- **Cons**: Requires distributional assumptions, computationally intensive, harder to communicate
- **Example**: For an assumed Normal($500k, $100k standard deviation) outcome, the analytic mean is $500k and the central 90% outcome interval is approximately [$335.5k, $664.5k]. This is not a confidence interval for the estimated mean or a claimed simulation run.

**Pattern 5: Competitive Game (Payoff Matrix)**
- **Structure**: Your outcome depends on competitor's choice, create payoff matrix
- **Use case**: Pricing strategy, product launch timing, negotiation, auction bidding
- **Pros**: Incorporates strategic interaction, finds Nash equilibrium
- **Cons**: Requires estimating competitor's probabilities and payoffs, game-theoretic complexity
- **Example**: Price high vs. low, competitor prices high vs. low → 2×2 matrix. Calculate EV for each strategy given beliefs about competitor.

## Guardrails

1. **Probabilities should sum to 1.0**: Listed outcomes need to be exhaustive (cover all possibilities) and mutually exclusive (no overlap). Verify: p1 + p2 + ... + pn = 1.0.

2. **Adjust for risk on one-shot, high-stakes decisions**: EV is a long-run average. For rare, irreversible decisions, factor in risk aversion. A 1% chance of $1B (EV = $10M) does not mean betting the house is rational.

3. **Quantify uncertainty, don't hide it**: Probabilities and payoffs are estimates. Use ranges, sensitivity analysis, or distributions rather than pretending false precision.

4. **Consider non-monetary value**: Some outcomes have utility not captured by money (reputation, learning, optionality, morale). Convert to a common scale or use multi-attribute utility.

5. **Ground probabilities in data**: Use base rates, reference classes, data, and expert forecasts rather than gut feel. Check calibration: are "70% confident" predictions right 70% of the time?

6. **Account for correlated outcomes**: If outcomes are not independent (e.g., economic downturn affects all portfolio companies), correlation reduces diversification benefit.

7. **Time value of money**: Discount future cash flows to present value. EV should use NPV, not nominal values.

8. **Consider option value**: In sequential decisions, fold-back induction finds optimal strategy. Factor in the option to stop early, pivot, or wait for more information.

**Common pitfalls:**

- ❌ **Ignoring risk aversion**: EV($100k, 50/50) = EV($50k, certain) but most prefer certain $50k. Use utility functions for risk-averse agents.
- ❌ **Anchor on single scenario**: "Best case is $1M!" → but probability is 5%. Focus on EV, not cherry-picked scenarios.
- ❌ **False precision**: "Probability = 67.3%" when you're guessing. Use ranges, express uncertainty.
- ❌ **Sunk cost fallacy**: Past costs are sunk, don't include in forward-looking EV. Only future costs/benefits matter.
- ❌ **Ignoring tail risk**: Low-probability, high-impact events (0.1% chance of -$10M) can dominate EV. Don't round to zero.
- ❌ **Static analysis**: Assume you can't update beliefs or change course. Real decisions allow learning and pivoting.

## Quick Reference

**Key formulas:**

**Expected Value**: EV = Σ (pᵢ × vᵢ) where p = probability, v = value

**Expected Utility** (for risk aversion): EU = Σ (pᵢ × U(W₀ + vᵢ)), where W₀ is initial wealth and vᵢ is incremental payoff. Check the function domain: square root requires nonnegative final wealth; log requires positive final wealth. Do not take logs or roots of negative incremental payoffs.
- Risk-neutral: U(x) = x (EV = EU)
- Risk-averse: U(x) = √x or U(x) = log(x) (concave)
- Risk-seeking: U(x) = x² (convex)

**Net Present Value**: NPV = Σ (CF_t / (1+r)^t) where CF = cash flow, r = discount rate, t = time period

**Variance** (risk measure): Var = Σ (pᵢ × (vᵢ - EV)²)

**Standard Deviation**: σ = √Var

**Coefficient of Variation** (risk/return ratio): CV = σ / EV, meaningful only for an appropriate positive ratio-scale outcome with EV > 0. It is undefined at zero and misleading for negative or near-zero EV; it is not a universal ranking rule.

**Breakeven probability**: p* where EV = 0. Solve: p* × v_success + (1-p*) × v_failure = 0.

**Decision rules**:
- **Maximize EV**: Choose option with highest EV (risk-neutral, repeated decisions)
- **Maximize EU**: Choose option with highest expected utility (risk-averse, incorporates preferences)
- **Minimax regret**: Minimize maximum regret across scenarios (conservative, avoid worst mistake)
- **Satisficing**: Choose first option above threshold EV (bounded rationality)

**Sensitivity analysis questions**:
- How much do probabilities need to change to flip decision?
- What's EV in best case? Worst case? Which variables have most impact?
- At what probability does EV break even (EV = 0)?

**Key resources:**
- **[resources/template.md](resources/template.md)**: Decision framing, outcome identification, EV calculation templates, sensitivity analysis
- **[resources/methodology.md](resources/methodology.md)**: Probability estimation, payoff quantification, decision tree analysis, utility functions
- **[resources/evaluators/rubric_expected_value.json](resources/evaluators/rubric_expected_value.json)**: Quality criteria (scenario completeness, probability calibration, payoff quantification, EV interpretation)

**Inputs required:**
- **Decision**: What are you choosing between? (2+ mutually exclusive alternatives)
- **Outcomes**: For each alternative, what could happen? (3-5 scenarios typical)
- **Probabilities**: How likely is each outcome? (sum to 1.0)
- **Payoffs**: What's the value (gain/loss) of each outcome? (dollars, time, utility)

**Outputs produced:**
- `expected-value-analysis.md`: Decision framing, outcome scenarios with probabilities and payoffs, EV calculations, sensitivity analysis, recommendation with risk considerations
Pliki w paczce (4)
  • SKILL.md 11 KB
  • resources/methodology.md 19 KB
  • resources/template.md 11 KB
  • resources/evaluators/rubric_expected_value.json 21 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · The-Utopia-Studio/skills100Apache-2.0
jacob-balslev/skill-graph100Apache-2.0

Migawka bazy z 13.11.2026 · wersja paczki 1a95071e0673 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90s4h-probability-expected-value-calculation
    Oblicza wartość oczekiwaną, aby porównać opcje w warunkach niepewności i ocenić, czy ryzyko jest warte podjęcia, także przy asymetrii.
  • 100okhp3-outcome-modeling-markets
    Porównuje niezależne prawdopodobieństwa z cenami rynków predykcji i ocenia wartość oczekiwaną, kalibrację, płynność, spread i ryzyko rozstrzygnięcia, bez składania zleceń i zarządzania transakcjami.
  • 100expected-value-and-kelly
    Oblicza wartość oczekiwaną i kryterium Kelly'ego do doboru wielkości zakładu lub pozycji przy powtarzalnych decyzjach, takich jak budżety reklamowe, portfel VC i rampa testów A/B.
  • 100risk-reward-ratio
    Ocenia stosunek ryzyka do zysku transakcji na rynku indyjskim po realnych kosztach, z wielokrotnościami R, wartością oczekiwaną i progami filtrów.
  • 100meta-decision-analysis
    Stosuje analizę decyzji z macierzami, drzewami, wartością oczekiwaną i MCDA, by porównać opcje wg kryteriów, ocenić ryzyko do zysku i wesprzeć decyzje grupowe.
  • 100decision-matrix
    Porównuje nazwane opcje przy ważonych kryteriach w punktowanej macierzy, z kalibracją ocen i analizą wrażliwości.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.