Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

SCIENCE · INVESTIGATE AND EXPLAIN

Audit test denominators without diagnosing a person

A detection or classification test can have different error probabilities depending on the underlying state. Sensitivity is the fraction of state-positive records classified positive; specificity is the fraction of state-negative records classified negative. The fraction of positive results that actually have the state uses a different denominator and also depends on the state’s frequency in the tested population.

Learning outcome: Construct the full two-by-two table before dividing. Change only prevalence, then only specificity, and preserve the denominator and population assumptions for every comparison.

Starting recap

Connect host defenses and adaptive mechanisms to bounded fictional evidence while separating detection, conditional probabilities, timing and causal claims.

All lessons are open directly. Your saved experiments remain when you leave and return.

Try

At p=0.1, s=0.9, expected counts are 80 true positives,20 false negatives,90 false positives and 810 true negatives. Positive predictive fraction is 80/(80+90)=8/17≈0.470588, not sensitivity 0.8. Both probabilities are correct but condition on different groups.

Open the experiment

Predict

Why can a fixed sensitivity coexist with a changing fraction of true states among positive results?

Experiment

Construct the full two-by-two table before dividing. Change only prevalence, then only specificity, and preserve the denominator and population assumptions for every comparison.

Audit fictional population test denominators

Worked teaching model · synthetic values · Fictional population1000, sensitivity0.8, supplied prevalence/specificity. Expected contingency counts and positive predictive fraction only; no actual test, disease, patient or diagnostic recommendation.

Reset keeps your prediction, captures and practice history.

Sensitivity and the fraction of positives with the underlying state use different denominators.

Fictional population1000, sensitivity0.8, supplied prevalence/specificity. Expected contingency counts and positive predictive fraction only; no actual test, disease, patient or diagnostic recommendation.

Original conditional model quantities
QuantityValueUnit
Expected true positives80records
Expected false negatives20records
Expected false positives90.00000records
Expected true negatives810records
Positive predictive fraction0.4705882fraction
Sensitivity0.8000000fraction

Supplied fictional records only. No participant testing, pathogen exposure, diagnosis, treatment or personal medical inference is requested.

Sensitivity and the fraction of positives with the underlying state use different denominators.

Fictional population1000, sensitivity0.8, supplied prevalence/specificity. Expected contingency counts and positive predictive fraction only; no actual test, disease, patient or diagnostic recommendation.

Captures preserve recipes and replay their calculated results. They are synthetic model evidence, not physical measurements.

Understand

Define the host evidence

A detection or classification test can have different error probabilities depending on the underlying state. Sensitivity is the fraction of state-positive records classified positive; specificity is the fraction of state-negative records classified negative. The fraction of positive results that actually have the state uses a different denominator and also depends on the state’s frequency in the tested population.

Connect mechanism and inference

The original fictional population has 1000 records and sensitivity 0.8. With state prevalence p and specificity s, expected true positives are 800p, false negatives 200p, false positives 1000(1−p)(1−s) and true negatives 1000(1−p)s. These are expected contingency counts, not an actual diagnostic dataset or a named disease/test.

Positive predictive fraction divides true positives by all positive results. Changing prevalence changes that fraction even if sensitivity and specificity remain fixed. The calculation assumes these error properties apply to the same sampled population and state definition; selection, measurement dependence and uncertain reference standards can invalidate such transport.

This lesson teaches conditional probabilities at the fictional population level. It cannot interpret a person’s test result, diagnose infection, establish infectiousness or recommend treatment. Actual medical interpretation needs the relevant validated test, clinical context and qualified care rather than these arbitrary parameters.

Reconstruct the original record

At p=0.1, s=0.9, expected counts are 80 true positives,20 false negatives,90 false positives and 810 true negatives. Positive predictive fraction is 80/(80+90)=8/17≈0.470588, not sensitivity 0.8. Both probabilities are correct but condition on different groups.

Predict and investigate

Predict first: Why can a fixed sensitivity coexist with a changing fraction of true states among positive results?

Construct the full two-by-two table before dividing. Change only prevalence, then only specificity, and preserve the denominator and population assumptions for every comparison.

Defend a changed case

Apply the mechanism to a changed boundary

Use p=0.3, s=0.9. Find all four counts and the positive predictive fraction.

Retain the first response, units, uncertainty and any prior feedback exposure in the notebook before comparing this public explanation.

Compare a worked response

True positives 240, false negatives 60, false positives 70 and true negatives 630 total 1000. The positive predictive fraction is 240/310=24/31≈0.774194. This remains a fictional population statement, not a patient result.

Retain bounded evidence

Preserve original assumptions, first responses, source identity and feedback exposure in the Microbiology evidence workspace. These are fictional nonclinical records, not personal medical advice, actual patient data, diagnosis, treatment or an invitation to collect biological samples. Actual practical and independent learner competence require separate evidence.

Primary mechanism context, checked 31 October 2026. Original teaching and numerical records; no source clinical cases or procedures copied.

Apply

Which conclusion follows from this fictional evidence record?

Public practice checks a specific claim. It does not establish independent mastery.

Use p=0.3, s=0.9. Find all four counts and the positive predictive fraction.

Continue

Completion requires a saved prediction, at least one capture and a reflection. Presence checks do not grade your reasoning.

Skipping retains experiments and awards no mastery.

Save a science backup or import one

Science work is stored locally in this browser, separately from mathematics and AI. It does not sync automatically. Use this science-only backup; this checkout's older all-subject export does not include science.

A legacy file is available only when the complete snapshot fits the 36 MB limit. For larger snapshots, prepare a complete file set below; never discard notebooks to make a smaller file.

Matching imported notebook drafts replace their current drafts. Omitted lessons and known first attempts remain. Export your current work first if you want to retain both drafts.

Complete file sets and course backups

A file set can hold more work than one science file. Keep its manifest and every part together. Each file is limited to 36 MB. This format needs this version of LearnAI or a compatible newer version; older versions can use only the legacy single-file backup above.

The set includes every saved science course and global continuation at this moment. Later edits need a new export. A conflicting tab exports its own visible work, which may differ from saved work in another tab.

0 file(s) selected. File order and filenames do not determine identity. Missing, changed or conflicting parts block the entire restore; no good part is applied by itself.

Science storage: loading. No account or remote computation is required.