/utopia-investments:bayesian-reasoning-calibrationfrom utopia-investments
Updates a probability with new evidence using Bayes' rule and shows the maths: prior, likelihoods, likelihood ratio, posterior, plus a calibration and sensitivity check. Use when the user says "I thought 30%, now X happened", "update my probability", "how much should this move me", gives a prior plus a pilot or test result, or asks how an unsolicited offer was selected. Not for finding the base rate (use reference-class-forecasting).
Ships in utopia-investments. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Core formula: P(H|E) = P(E|H) x P(H) / P(E), where P(H) = prior, P(E|H) = likelihood, P(H|E) = posterior.
Quick Example:
# Should we launch Feature X?
## Prior Belief
Before beta testing: 60% chance of adoption >20%
- Base rate: Similar features get 15-25% adoption
- Our feature seems stronger than average
- Prior: 60%
## New Evidence
Beta test: 35% of users adopted (70 of 200 users)
## Likelihoods
The likelihoods below are illustrative assumptions, not estimates derived from the 70/200 observation. A real analysis needs a sampling model or empirical likelihoods.
If true adoption is >20%:
- P(seeing 35% in beta | adoption >20%) = 75% (likely to see high beta if true)
If true adoption is ≤20%:
- P(seeing 35% in beta | adoption ≤20%) = 15% (unlikely to see high beta if false)
## Bayesian Update
Posterior = (75% × 60%) / [(75% × 60%) + (15% × 40%)]
Posterior = 45% / (45% + 6%) = 88%
## Conclusion
Updated belief: 88% confident adoption will exceed 20%
Evidence strongly supports launch, but not certain.
Copy this checklist and track your progress:
Bayesian Reasoning Progress:
- [ ] Step 1: Define the question
- [ ] Step 2: Establish prior beliefs
- [ ] Step 3: Identify evidence and likelihoods
- [ ] Step 4: Calculate posterior
- [ ] Step 5: Calibrate and document
Step 1: Define the question
Clarify hypothesis (specific, testable claim), probability to estimate, timeframe (when outcome is known), success criteria, and why this matters (what decision depends on it). Example: "Product feature will achieve >20% adoption within 3 months" - matters for launch decision.
Step 2: Establish prior beliefs
Set initial probability using base rates (general frequency), reference class (similar situations), specific differences, and explicit probability assignment with justification. Good priors are based on base rates, account for differences, honest about uncertainty, and include ranges if unsure (e.g., 40-60%). Avoid purely intuitive priors, ignoring base rates, or extreme values without justification.
Step 3: Identify evidence and likelihoods
Assess evidence (specific observation/data), diagnostic power (does it distinguish hypotheses?), P(E|H) (probability if hypothesis TRUE), P(E|¬H) (probability if FALSE), and calculate likelihood ratio = P(E|H) / P(E|¬H). LR > 10 = very strong evidence, 3-10 = moderate, 1-3 = weak, ≈1 = not diagnostic, <1 = evidence against.
Step 4: Calculate posterior
Apply Bayes' Theorem: P(H|E) = [P(E|H) × P(H)] / P(E), or use odds form: Posterior Odds = Prior Odds × Likelihood Ratio. Calculate P(E) = P(E|H)×P(H) + P(E|¬H)×P(¬H), get posterior probability, and interpret change. Inputs must be finite probabilities in [0, 1]. If P(E) = 0, the evidence is impossible under the specified model; revise the model instead of dividing by zero. Use the probability form when endpoint priors or zero likelihoods make odds undefined. For simple cases → Use resources/template.md calculator. For complex cases (multiple hypotheses) → Study resources/methodology.md.
Step 5: Calibrate and document
Check calibration (over/underconfident?), validate assumptions (are likelihoods reasonable?), perform sensitivity analysis, create bayesian-reasoning-calibration.md, and note limitations. Self-check using resources/evaluators/rubric_bayesian_reasoning_calibration.json: verify prior based on base rates, likelihoods justified, evidence diagnosticity interpreted correctly (LR = 1 leaves the prior unchanged; LR < 1 supports the alternative), calculation correct, posterior calibrated, assumptions stated, sensitivity noted. Minimum standard: Score ≥ 3.5.
Use resources/selection-evidence.md when the question is why a counterparty chose to offer a deal, share an allocation, or bid for an asset. Define who benefits and the comparison alternative. Use the selection event as evidence in the same Bayesian calculation; do not assign a universal below-50% prior or convert a probability into a valuation haircut without a payoff model.
For forecasting:
For hypothesis testing:
For risk assessment:
For avoiding bias:
Do:
Don't:
resources/template.mdresources/methodology.mdresources/examples/product-launch.mdresources/evaluators/rubric_bayesian_reasoning_calibration.jsonBayesian Formula (Odds Form):
Posterior Odds = Prior Odds × Likelihood Ratio
Likelihood Ratio:
LR = P(Evidence | Hypothesis True) / P(Evidence | Hypothesis False)
Output naming: bayesian-reasoning-calibration.md or {topic}-forecast.md
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub the-utopia-studio/skills --plugin utopia-investments42 skills in this plugin
/3-statement-modelFills in and links a 3-statement financial model template (income statement, balance sheet, cash flow) in Excel, with formulas not hardcodes. Use when asked to complete or populate a model template, finish a partly filled IS/BS/CF, link the three statements, or get an existing model framework to balance. Not for a DCF valuation (use dcf-model)./adaAda, the Studio's technical due diligence persona: runs a 5-phase repo audit of a portco codebase, then the technical DD report in her voice, verdict first with P0-P3 severities. Use only when the user names Ada: "Ada, run DD on...", "ask Ada", "as Ada". Not for technical DD without the persona (use technical-dd)./auction-sealed-bid-pricingSets a justified bid for a sealed-bid, first-price auction: records the auction rules and value assumptions, computes a benchmark bid, and checks winner's-curse risk when bidders share a common value. Use when bidding in a sealed-bid deal process, sizing a bid, asking how much to shade below value, or conditioning a valuation on winning. Not for weighing an unsolicited offer (use bayesian-reasoning-calibration)./audit-xlsAudits a spreadsheet or financial model for formula errors and mistakes, scoped to a range, a sheet or the whole model, including balance sheet balance, cash tie-out and logic checks. Use when the user says "audit this sheet", "check my formulas", "QA this spreadsheet", "model won't balance" or "something's off in my model". Not for cleaning messy data values (use clean-data- xls)./causal-inference-root-causeFinds the true root cause of an outcome by testing competing explanations and separating causation from correlation and confounding, then proposes interventions on the real drivers. Use when asking "why did this really happen", a metric dropped, analysing a failure or policy impact, or the user mentions root cause, causal chain, confounding or spurious correlation./clean-data-xlsCleans a messy spreadsheet or table: trims whitespace, unifies spellings and casing, converts text numbers and mixed dates, removes duplicates and flags mixed-type or error cells, proposing fixes before applying them. Use when the user says "clean this data", "this sheet is a mess", "dedupe", "standardize the dates" or "normalize this column", for Excel, CSV or pasted tables. Not for auditing model formulas (use audit-xls).