agentleFS
product-on-purposeproduct-on-purpose/thinking-framework-skills/skills/think-natural-frequency-bayesian/SKILL.md

think-natural-frequency-bayesian

Skill29 starsChanged 3 months agoApache-2.0View on GitHub

Converts a conditional-probability or base-rate question into natural frequencies over a concrete population (for example 9 of 1000) to compute the correct posterior and expose base-rate neglect, and refuses to proceed without real input rates. Use when interpreting a test result, screening signal, or any "given a positive, what is the real probability" question.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When you do not have real input rates and would have to invent them.

    line 25
  2. Distinctive:

    When there is no conditional-probability structure to the question.

    line 26
  3. Distinctive:

    When a single point estimate is wanted and the base-rate structure is irrelevant.

    line 28
  4. Distinctive:

    When asked to reason about a conditional probability, follow these steps:

    line 32
  5. Very specific:

    Use the template in references/TEMPLATE.md.

    line 43

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<!-- thinking-framework-skills | https://github.com/product-on-purpose/thinking-framework-skills | Apache-2.0 -->

Natural-Frequency Bayesian Framing

People - including experts - reason badly about conditional probabilities stated as percentages, because they neglect the base rate. Re-expressing the same facts as natural frequencies over a concrete population makes the correct answer nearly visible: "Out of 1,000, 10 have it; 9 of those test positive; of the 990 without it, ~89 also test positive; so of ~98 positives, only 9 truly have it - about 9%." The format does the work by keeping the base rate in the counts. The output is a natural-frequency breakdown. Honest constraint: the base rate and hit rates must be real - the format makes correct reasoning tractable, it does not invent the inputs.

When to Use

  • Interpreting a test or screening result (medical, fraud, security, lead-scoring, A/B).
  • Any "given a positive signal, what is the actual probability the thing is true?" question.
  • Communicating risk to others so they do not over-read a positive.

When NOT to Use

  • When you do not have real input rates and would have to invent them.
  • When there is no conditional-probability structure to the question.
  • For general project forecasting (use reference-class forecasting).
  • When a single point estimate is wanted and the base-rate structure is irrelevant.

Instructions

When asked to reason about a conditional probability, follow these steps:

  1. State the question precisely. What posterior is being asked - usually P(condition | positive signal). Distinguish it from P(positive | condition), which people confuse it with.
  2. Gather the real inputs. The base rate, the true-positive (hit) rate, and the false-positive rate. If any is unknown, say so and stop or clearly flag the estimate as illustrative - do not fabricate numbers.
  3. Build a frequency tree over a concrete population. Pick a round number (e.g., 1,000). Work out: how many have the condition; of those, how many test positive; of those without, how many also test positive.
  4. Compute the posterior as true positives / all positives, and state it plainly.
  5. Name the wrong intuition it corrects. State the answer most people give (usually near the hit rate) and why it is wrong (base-rate neglect).
  6. Emit the natural-frequency breakdown per references/TEMPLATE.md.

Output Format

Use the template in references/TEMPLATE.md. The deliverable is the frequency tree, the posterior, and the plain-language meaning, not a bare percentage.

Quality Checklist

Before finalizing, verify:

  • The question distinguishes P(condition | positive) from P(positive | condition).
  • The base rate, true-positive rate, and false-positive rate are real (or missing data is flagged, not invented).
  • A frequency tree over a concrete population is shown.
  • The posterior is computed as true positives / all positives.
  • The common wrong intuition (base-rate neglect) is named.
  • The output is the breakdown artifact, not a bare number.

Evidence

Tier S. Presenting conditional-probability information as natural frequencies substantially improves Bayesian-inference accuracy - in the original study, correct Bayesian answers rose from 16% to 46% with the same facts in frequency format (Gigerenzer & Hoffrage 1995), and a meta-analysis puts the average at about 4% versus 24% (McDowell & Jacobs 2017). Most people still answer wrongly even with natural frequencies, so the format helps without guaranteeing a correct answer. Replicated across populations including physicians. The format does not supply the inputs; real rates are required. For two sequential tests, one preregistered trial found the advantage reverses: odds and likelihood ratios did better (Schulz, Wegwarth & Giese 2025). Evidence is from human reasoners, transferred to AI use, not AI-validated. Full grading: evidence/dossier.md.

Examples

See references/EXAMPLE.md for a completed breakdown.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.