A LEARNING EXPERIMENT / UNIVABIO 2026

A positive result needs
a denominator.

A test can detect most cases and still produce more false alarms than true positives. Count the people. Change one assumption. See why.

01 The experiment

For learning only. These invented rates do not estimate anyone’s health risk or recommend a screening test.

One thousand people.

Four possible outcomes.

True positiveFalse positiveFalse negativeTrue negative
Condition + positive9True positives
No condition + positive49.5False positives
Condition + negative1False negatives
No condition + negative940.5True negatives

Expected counts may be fractional. Squares are rounded; calculations use the exact counts.

02 Change the starting population

A counterfactual, not a clinical comparison

Pin one experiment, then change the lab above. The test can stay exactly the same while the meaning of a positive result changes.

A is pinned to the rare-condition example. B follows the lab.

Expected outcomes in 1,000 people
MeasureA · pinnedB · current

Prevalence changes the answer.

The same test, across different populations.

Positive predictive value as prevalence changesA curve and a current-experiment marker. Equivalent values are in the table below.
Read the curve as a table
PrevalenceTrue among positive

The line uses B’s test settings. It starts at 0% prevalence; an undefined value is left blank.

Go further: does a second positive test settle it?

THE ASSUMPTION MATTERS

Two positives are not automatically independent evidence.

Only people positive on the first test go through this second step. These rates describe that selected group, not the whole population.

Independence is an invented assumption here, not evidence about a real test.

AMONG TWO POSITIVE RESULTS

76.6%

A second step can lose true positives as well as remove false positives. This is a mathematical demonstration, not a recommendation to repeat a real test.

03 Predict. Count. Reconsider.

Case 1 of 3

Three short experiments. Make an estimate before revealing the arithmetic, then name the group in the denominator. This is practice, not a test of your health knowledge.

    %

    Answers stay in this tab. Export saves numeric guesses and selected options to a file; coach explanations are excluded.

    04 Put the reasoning into words

    AI runs on this device

    Explain the current lab result. A small trained classifier suggests a review topic. Confirm or change the focus, check a factual answer, then revise your explanation. A topic suggestion cannot verify your reasoning.

    Fictional examples only. English in this prototype. Your words stay in this browser and disappear on reload.

    A SECOND LOOK AT YOUR REASONING

    Start with the positive group.

    How can a rare condition and a small false-positive rate combine to produce this result?

    Model feedback is a suggestion. The arithmetic is calculated separately and does not depend on AI.

    05 Methods, evidence & honest limits

    The project file ↗

    REPRESENTATION

    Show the people in the percentage.

    Natural frequencies make the relevant groups visible. The square grid and frequency tree are two views of the same expected counts. The result uses Bayes’ theorem; population size changes counts, not proportions.

    Hoffrage et al., 2015 · original study ↗

    Research informed the representation. BaseRate itself has not had a learner study.

    SCREENING

    Every test has a context.

    False positives and missed cases matter. These three rates cannot establish the benefits, harms or suitability of a real screening program. There is no personal diagnosis, risk estimate or treatment advice here.

    National Cancer Institute · overview ↗

    MODEL CARD

    A small model you can inspect.

    Read training, evaluation and failure modes

    The app does not send your explanation to a generative model. Static files are downloaded from GitHub Pages.

    Read the equations and assumptions

    For population N, prevalence p, sensitivity s and specificity c, expressed as proportions:

    TP = N × p × s
    FP = N × (1 − p) × (1 − c)
    FN = N × p × (1 − s)
    TN = N × (1 − p) × c
    PPV = TP ÷ (TP + FP)

    For a second test among first-positives: both-positive true cases = TP × conditional detection; both-positive non-cases = FP × conditional false-positive rate. Reusing unconditional rates requires a conditional-independence assumption. A zero denominator has no defined proportion.

    Only visual squares are rounded. Expected counts, comparisons, curves and practice answers retain the unrounded values.