StepWise USMLE
Epidemiology and biostatistics

Epidemiology Measures, Prevention and Screening Tests

A gentle, step-by-step guide to counting disease, preventing it, and judging how well a test works. No background needed.

🔑 Key Words First

glossary

Plain-language glossary

WordPlain meaning
EpidemiologyThe science of how often diseases occur, who gets them, and why
Population at riskPeople who could actually develop the condition being counted
NumeratorThe top number in a fraction: the cases you count
DenominatorThe bottom number in a fraction: the people those cases come from
RateA count of cases divided by the people at risk, often scaled (per 1,000 or per 100,000)
EndemicA disease that is steadily present at its usual level in a place
EpidemicA clear jump above the usual level of a disease
PandemicAn epidemic that has spread across many countries or continents
Epidemic curveA bar graph of new cases against time
IncidenceHow many NEW cases appear during a set time
PrevalenceHow many people HAVE the disease at a moment or over a period
Attack rateThe share of exposed people who got ill during an outbreak
MorbidityIllness
MortalityDeath
Crude rateA rate for everyone together, ignoring group differences
Specific rateA rate for one subgroup only (for example, one age band)
Standardized (adjusted) rateA rate recalculated so two populations can be compared as if they had the same make-up
Confounding factorAn outside factor (such as age) that mixes up a comparison
Case-fatality rate (CFR)Of the people who have a disease, the share who die from it
Proportionate mortality ratio (PMR)Of all deaths, the share caused by one disease
Primary preventionStopping disease before it starts
Secondary preventionFinding disease early, before symptoms or damage grow
Tertiary preventionLimiting damage and relapse in people already ill
Screening testA quick, easy test given to look for possible disease
Gold standard testThe most reliable test available, used to confirm the truth
True positive (TP)Test says disease, person has disease
False positive (FP)Test says disease, person is healthy
True negative (TN)Test says no disease, person is healthy
False negative (FN)Test says no disease, person has disease
SensitivityOf people who truly have the disease, the share the test catches
SpecificityOf people who truly do not have the disease, the share the test clears
Positive predictive value (PPV)Of people with a positive test, the share who really have disease
Negative predictive value (NPV)Of people with a negative test, the share who really are healthy
AccuracyShare of all results that are correct (true positives plus true negatives)
Likelihood ratio (LR)How much a test result multiplies the odds of disease
CutoffThe line on a measurement scale that separates 'positive' from 'negative'
ROC curveA graph that shows how a test balances catching disease against false alarms across all cutoffs
Pre-test probabilityChance of disease before the test is done (equals prevalence in that group)

🌍 Big Picture

overview
  • Epidemiology studies disease patterns in groups, not in one patient
  • Two core questions:
    • How much disease is there?
    • What changes how much there is?
  • Its main tool is the rate
  • A rate answers: out of how many people?
    • A raw count alone is misleading
    • Ten cases means different things in a village and in a country
  • This note has 7 working parts
  • They build on each other:
    • Rates and outbreak words
    • Incidence versus prevalence
    • Death-related rates
    • Levels of prevention
    • Screening test accuracy
    • Predictive values
    • Cutoffs and ROC curves

Everyday analogy: a hotel

  • New guests checking in = new cases (incidence)
  • Guests currently staying = existing cases (prevalence)
  • Guests checking out = recovery or death
  • Rooms occupied tonight depend on both check-in speed and length of stay

📏 Counting Disease: Rates and Outbreak Words

foundations
  • Where this fits: this is the base layer; everything later uses a numerator over a denominator

Rate building blocks

  • Rate = cases ÷ people at risk
  • Numerator:
    • Counts the event of interest
    • Example: people with the disease
  • Denominator:
    • Counts people who could have the event
    • Choosing it wrongly ruins the rate
  • A scaling factor makes small rates readable
  • Common scales:
    • Per 100,000 for most disease rates
    • Per 1,000 for vital statistics such as deaths and births
Count cases→Find people at risk→Divide→Multiply by scale

Disease-frequency words

TermMeaningClue
EndemicUsual, steady level in a regionFlat line over time
EpidemicLevel above what is expectedA spike in time
PandemicEpidemic spread worldwideMany countries involved
  • Epidemic curve = bar graph of new cases over time
  • Its shape helps identify:
    • When the outbreak began
    • Whether it comes from one shared exposure or spreads person to person
    • Whether it is fading
  • The words depend on both case count and geography

Why the denominator matters

  • Example: a contaminated well sickens 300 people in a town of 5,000
  • Local rate jumps sharply:
    • 300 ÷ 5,000 = 6%
  • Now imagine the same 300 cases among 50 million people
  • National rate barely moves:
    • 300 ÷ 50,000,000 = 0.0006%
  • Same cases, different denominator, different conclusion

Exam trap

  • An outbreak is judged against the usual rate for that same place and period.
  • A big case count in a huge population may not be an epidemic.

🛁 Incidence, Prevalence and Attack Rate

core mechanism
  • Where this fits: these are the two main rates built from the numerator-over-denominator idea

Incidence

  • Counts only NEW cases
  • Numerator: new cases in a set period
  • Denominator: people at risk at the start
  • People already ill are removed from the denominator:
    • They cannot become a 'new' case
  • Answers: how fast is disease appearing?
  • Best for: acute illness and causes of disease

Prevalence

  • Counts ALL current cases, new and old
  • Numerator: everyone with the disease
  • Denominator: whole population at that time
  • Answers: how much disease exists right now?
  • Best for: burden of chronic disease
  • A case stays counted until:
    • Recovery
    • Death

Two kinds of prevalence

TypeTime framePicture
Point prevalenceOne single dateA snapshot
Period prevalenceA stretch of time (cases at the start plus new ones during it)A short film

How the two connect

New cases join→Pool of current cases→Recovery or death leaves
  • Prevalence ≈ incidence × average disease duration
  • Why this matters:
    • Longer disease duration piles up cases
    • A chronic illness can have low incidence but high prevalence

Worked example

  • Town of 1,000 people on 1 January
  • 50 already have the disease
  • During the year, 30 new people become ill
  • Point prevalence on 1 January:
    • 50 ÷ 1,000 = 5%
  • Incidence over the year:
    • People at risk = 1,000 − 50 = 950
    • 30 ÷ 950 ≈ 3.2%
  • Period prevalence over the year:
    • (50 + 30) ÷ 1,000 = 8%

Attack rate

  • Used in outbreaks, especially food-borne ones
  • Attack rate = ill people ÷ all exposed people
  • Also called attack ratio
  • Example:
    • 60 guests eat at a banquet
    • 21 become ill
    • 21 ÷ 60 = 35%
  • It is a cumulative incidence for the whole outbreak

What changes incidence or prevalence?

EventIncidencePrevalence
Better cure (people recover faster)No changeFalls
Widely used effective vaccineFallsFalls
Treatment keeps patients alive longer without curingNo changeRises
Disease becomes more deadly (patients die sooner)No changeFalls
Fewer risk behaviors in the populationFallsFalls
Less contact between sick and healthy: infectious diseaseFallsFalls
Less contact between sick and healthy: non-infectious diseaseNo changeNo change
More research funding with no real-world effect yetNo changeNo change

Why each result happens

  • Incidence changes only if the rate of NEW disease changes.
  • Prevalence changes if new cases, recovery, or death change.
  • Cure and death both shrink the pool of current cases.
  • Longer survival without cure keeps cases in the pool.

Exam traps

  • A drug that prolongs life raises prevalence, not incidence.
  • Prevalence of a chronic disease can rise even when incidence is flat.

⚰️ Mortality Rates and Comparing Populations

quantitative
  • Where this fits: these rates reuse numerator over denominator, now for deaths

Morbidity versus mortality

  • Morbidity rate = illness in a population at risk
  • Includes both new and existing cases
    • Mortality rate = deaths in a population at risk

    Four death-related measures

    MeasureFormulaAnswers
    Crude mortality rateAll deaths ÷ whole populationHow common is death overall?
    Cause-specific mortality rateDeaths from one cause ÷ whole populationHow common is death from this disease in the community?
    Case-fatality rateDeaths from the disease ÷ people who have the diseaseHow deadly is the disease once you have it?
    Proportionate mortality ratioDeaths from one cause ÷ all deathsHow big a slice of all deaths is this disease?

    Worked example

    • Town of 20,000 people in one year
    • 150 total deaths
    • 40 people had a stroke
    • 12 deaths were caused by stroke
    • Crude mortality:
      • 150 ÷ 20,000 × 1,000 = 7.5 per 1,000
    • Stroke-specific mortality:
      • 12 ÷ 20,000 × 100,000 = 60 per 100,000
    • Case-fatality rate:
      • 12 ÷ 40 = 30%
    • Proportionate mortality ratio:
      • 12 ÷ 150 = 8%

    Crude, specific and standardized rates

    TypeCoversExample
    CrudeEntire populationHeart attack rate in a whole city
    SpecificOne subgroupHeart attack rate in people over 65
    Standardized (adjusted)Recalculated as if groups had the same make-upAge-adjusted heart attack rate for two cities
    • Crude rate = weighted sum of the specific rates
    • Weights are each subgroup's share of the population
      • Standardizing removes a confounding factor such as age
      • Result: a fair, like-for-like comparison

        Plain-language picture

        • Comparing a retirement town with a student town is unfair.
        • The retirement town has more heart attacks simply because it is older.
        • Age-adjusting asks: what if both towns had the same ages?

        Exam traps

        • Case-fatality rate uses people WITH the disease as denominator.
        • Cause-specific mortality uses the WHOLE population as denominator.
        • Proportionate mortality shows share of deaths, not risk of dying.

        🛡️ Levels of Prevention

        public health
        • Where this fits: prevention tries to move the incidence and prevalence numbers from the previous cards
        • Four goals of prevention:
        • Promote health
          • Preserve health
            • Restore health when it is impaired
              • Reduce suffering
                Before disease→Early disease→Established disease
                LevelTargetAimExamplesMain effect
                PrimaryHealthy peopleStop disease from startingVaccination, clean water, seat belts, tobacco-free policies, protective equipmentLowers incidence
                SecondaryPeople with hidden or early diseaseCatch it early so cure is possibleMammography, colon cancer screening, blood pressure checks, testing after a needle injuryLowers prevalence when early treatment works
                TertiaryPeople with established diseaseLimit disability and relapseStroke rehabilitation, daily antiplatelet after a heart attack, foot care in diabetesSlows progression, prevents recurrence

                Quick sorting questions

                • Is the person still healthy? Think primary.
                • Is the aim to find disease before symptoms? Think secondary.
                • Is the person already diagnosed and the aim is less damage? Think tertiary.
                • Example: prosthetic limbs for amputees
                • Tertiary:
                  • Injury already happened
                  • Goal is function and quality of life
                • Example: a mask worn near a patient with a spread-by-droplet infection
                • Primary:
                  • Prevents the wearer from being exposed

                Exam trap

                • Screening is secondary prevention, even when the test is for a risk factor.
                • Early detection may raise measured prevalence at first, because more cases are found.

                🧪 Screening Tests: Sensitivity and Specificity

                diagnostics
                • Where this fits: a test sorts people into positive and negative, then we compare with the truth

                Why screening tests exist

                • Gold standard tests are accurate but costly, slow, or invasive
                • Screening tests are cheaper and easier but imperfect
                • A screening test is checked against the gold standard in known sick and healthy people
                • Example: a quick blood test first, a confirmatory test next

                The four possible outcomes

                Disease presentDisease absent
                Test positiveTrue positive (TP)False positive (FP)
                Test negativeFalse negative (FN)True negative (TN)
                • 'True' or 'false' says whether the test agreed with reality
                • 'Positive' or 'negative' is what the test said

                Worked example: 1,000 people tested

                • 100 truly have the disease
                • 900 truly do not
                Disease presentDisease absentTotal
                Test positiveTP = 80FP = 90170
                Test negativeFN = 20TN = 810830
                Total1009001,000

                Sensitivity

                • Definition: share of diseased people the test labels positive
                • Formula: TP ÷ (TP + FN)
                • Uses only the disease-present column
                • Also called true positive rate
                • 1 − sensitivity = false negative rate
                • Example: 80 ÷ 100 = 80%
                  • Clinical use of a highly sensitive test:
                    • Few false negatives
                    • A negative result makes disease unlikely
                    • Good for early screening where missing a case is costly

                  Specificity

                  • Definition: share of healthy people the test labels negative
                  • Formula: TN ÷ (TN + FP)
                  • Uses only the disease-absent column
                  • Also called true negative rate
                  • 1 − specificity = false positive rate
                  • Example: 810 ÷ 900 = 90%
                    • Clinical use of a highly specific test:
                      • Few false positives
                      • A positive result makes disease likely
                      • Good for confirming before a risky treatment
                    FeatureSensitivitySpecificity
                    Question askedDoes it catch the sick?Does it clear the healthy?
                    Errors it limitsFalse negativesFalse positives
                    Best whenMissing disease is dangerousA wrong label is harmful
                    Changed by prevalence?NoNo

                    Why prevalence does not change sensitivity or specificity

                    • Each one only looks inside one group (sick or healthy).
                    • They are properties of the test itself.
                    • Only changing the test or its cutoff changes them.

                    Exam traps

                    • A good first-line screening test needs high sensitivity.
                    • A confirmatory test needs high specificity.
                    • A real example: a blood marker raised in every case of a disease can rule it out when normal, yet cannot prove it when high.

                    🎯 Predictive Values, Accuracy and Likelihood Ratios

                    clinical reasoning
                    • Where this fits: sensitivity and specificity look from the test's view; predictive values look from the patient's view

                    Predictive values

                    MeasureFormulaQuestion from the patient's sideExample (earlier table)
                    PPVTP ÷ (TP + FP)I tested positive. How likely do I have it?80 ÷ 170 ≈ 47%
                    NPVTN ÷ (TN + FN)I tested negative. How likely am I healthy?810 ÷ 830 ≈ 98%
                    Accuracy(TP + TN) ÷ everyoneHow often is the test right overall?890 ÷ 1,000 = 89%
                    • PPV looks only along the test-positive row
                    • NPV looks only along the test-negative row

                    Prevalence changes predictive values

                    Disease common→More true positives→PPV rises→NPV falls
                    Disease rare→Mostly false positives→PPV falls→NPV rises
                    • Same test as before: sensitivity 80%, specificity 90%
                    • Test it in 10,000 people where only 1% have disease
                    • 100 diseased people:
                      • TP = 80
                      • FN = 20
                    • 9,900 healthy people:
                      • FP = 990
                      • TN = 8,910
                    • PPV = 80 ÷ 1,070 ≈ 7.5%
                      • NPV = 8,910 ÷ 8,930 ≈ 99.8%
                        • Same test, very different PPV

                        Plain-language picture

                        • Searching for a rare coin in a huge pile of ordinary coins.
                        • Even a careful detector gives many false alarms from the sheer number of ordinary coins.
                        • A positive beep in a rare setting is often wrong, so repeat or confirm.
                        • Intuitive example: a positive heart attack test in a healthy teenager is more likely a false alarm
                        • Same result in an elderly diabetic smoker is more believable

                        Likelihood ratios

                        • LR+ = sensitivity ÷ (1 − specificity)
                        • Example: 0.80 ÷ 0.10 = 8
                          • A positive result multiplies disease odds by 8
                        • LR− = (1 − sensitivity) ÷ specificity
                        • Example: 0.20 ÷ 0.90 ≈ 0.22
                          • A negative result cuts disease odds to about a fifth
                        • Unlike predictive values, LRs do not depend on prevalence
                        • LRs are used to update the pre-test probability into a post-test probability

                        Exam traps

                        • Incidence does not change sensitivity, specificity, or PPV directly.
                        • Prevalence does not change sensitivity or specificity, but it does change PPV and NPV.
                        • A rare disease gives a low PPV even for a very good test.

                        📈 Cutoffs and ROC Curves

                        interpretation
                        • Where this fits: a test's cutoff decides how sensitivity and specificity trade against each other

                        Overlapping populations

                        • Many tests measure a number, such as blood pressure or a blood marker
                        • Healthy and diseased people form two overlapping bell curves
                        • The overlap is why no cutoff is perfect

                        Moving the cutoff

                        Cutoff movedSensitivitySpecificityFalse negativesFalse positives
                        Lower (more people called positive)RisesFallsFewerMore
                        Higher (fewer people called positive)FallsRisesMoreFewer
                        • Assume disease raises the measurement
                        • Sensitivity is highest when the cutoff sits at the low end of the diseased curve
                          • Everyone sick is caught
                        • Specificity is highest when the cutoff sits at the high end of the healthy curve
                          • Almost no healthy person is flagged
                        • Where the two curves cross, total errors are lowest and accuracy is greatest
                        • Matching metrics:
                          • Highest sensitivity goes with highest NPV
                          • Highest specificity goes with highest PPV

                        Receiver operating characteristic (ROC) curve

                        • Plots every possible cutoff on one graph
                        • Vertical axis: sensitivity (true positive rate)
                        • Horizontal axis: 1 − specificity (false positive rate)
                        Curve featureMeaning
                        Diagonal lineTest is no better than guessing
                        Curve hugging top-left cornerExcellent test: high sensitivity with few false positives
                        Area under the curve (AUC)Overall quality: 0.5 is chance, 1.0 is perfect
                        Comparing testsThe curve higher and further left is the better test

                        Exam traps

                        • The best test on a ROC graph is the one closest to the top-left corner.
                        • Moving along one curve changes the cutoff; a different curve is a different test.

                        ✅ Recap

                        final

                        Most important facts

                        • A rate is cases divided by the people at risk.
                        • Endemic means usual level; epidemic means above usual; pandemic means worldwide.
                        • Incidence counts new cases only.
                        • Prevalence counts all current cases.
                        • Prevalence is roughly incidence times average duration.
                        • Cure or death lowers prevalence; longer survival without cure raises it.
                        • Attack rate is ill people divided by exposed people in an outbreak.
                        • Case-fatality rate uses people with the disease as denominator.
                        • Proportionate mortality is the share of all deaths from one cause.
                        • Standardizing removes confounders such as age for fair comparison.
                        • Primary prevention lowers incidence; secondary finds early disease; tertiary limits damage.
                        • Sensitivity is TP ÷ (TP + FN); specificity is TN ÷ (TN + FP).
                        • High sensitivity means a negative result helps rule disease out.
                        • High specificity means a positive result helps rule disease in.
                        • PPV rises and NPV falls as prevalence rises.
                        • Sensitivity and specificity do not change with prevalence.
                        • Lowering a cutoff raises sensitivity and lowers specificity.
                        • A ROC curve nearest the top-left corner marks the best test.