NP Blog / Geriatrics & Prescribing (AGNP) / Biostatistics and Evidence for the NP Exam: Sensitivity, Predictive Values, NNT and Study Design
Biostatistics and Evidence for the NP Exam: Sensitivity, Predictive Values, NNT and Study Design

Biostatistics and Evidence for the NP Exam: Sensitivity, Predictive Values, NNT and Study Design

Written & reviewed by nurse educators·11 min read·Updated 2026-11-10
The short answer

Sensitivity is the share of people with a disease who test positive and specificity the share without it who test negative; both stay fixed as prevalence changes, while positive and negative predictive values shift with prevalence. Number needed to treat is 1 divided by the absolute risk reduction, and number needed to harm is 1 divided by the absolute risk increase, so a large relative risk reduction can still mean a large NNT when baseline risk is low. Randomized trials test interventions, cohort studies follow exposures forward and report relative risk, case-control studies look back from disease and report odds ratios, and a p value never measures the size or importance of an effect.

Research and biostatistics items on the FNP and AGNP exams use a small set of formulas, and almost every one starts from a 2x2 table. Sensitivity and specificity describe the test and do not change with prevalence; positive and negative predictive values describe what a result means for the patient and do change with prevalence. Number needed to treat is 1 divided by the absolute risk reduction, and number needed to harm is 1 divided by the absolute risk increase. Beyond the arithmetic, questions ask which study design answers which question, which bias explains a result, and what a p value or confidence interval does and does not show. This guide works every formula with numbers so the method is clear before test day.

The 2x2 table

Every diagnostic calculation uses the same four cells: disease status across the top, test result down the side.

Disease present Disease absent
Test positive True positive (TP) False positive (FP)
Test negative False negative (FN) True negative (TN)
Measure Formula Plain meaning
Sensitivity TP / (TP + FN) Of people with the disease, the share who test positive
Specificity TN / (FP + TN) Of people without the disease, the share who test negative
Positive predictive value (PPV) TP / (TP + FP) Of people who test positive, the share who have the disease
Negative predictive value (NPV) TN / (TN + FN) Of people who test negative, the share who are disease-free
Positive likelihood ratio (LR+) Sensitivity / (1 minus specificity) How much a positive result raises the odds of disease
Negative likelihood ratio (LR-) (1 minus sensitivity) / specificity How much a negative result lowers the odds of disease

A useful habit: sensitivity and specificity read down the columns (start from the disease), and predictive values read across the rows (start from the result).

Sensitivity and specificity

A highly sensitive test rarely misses disease, so a negative result helps rule disease out. A highly specific test rarely labels a healthy person as sick, so a positive result helps rule disease in. The mnemonics SnNout (sensitive, negative, rules out) and SpPin (specific, positive, rules in) capture this.

On the exam this shows up as a choice of test for a purpose. Screening, where missing disease is the main harm, favors sensitivity. Confirmation before an invasive or risky treatment favors specificity. That is why a reactive screening test is so often followed by a more specific confirmatory test.

Predictive values and prevalence: a worked example

Take a test with 90% sensitivity and 80% specificity, applied to 1,000 people.

Clinic population, prevalence 10% (100 with disease, 900 without):

  • True positives: 90% of 100 = 90; false negatives = 10.
  • True negatives: 80% of 900 = 720; false positives = 180.
  • PPV = 90 / (90 + 180) = 90 / 270 = 33.3%.
  • NPV = 720 / (720 + 10) = 720 / 730 = 98.6%.

General population, prevalence 1% (10 with disease, 990 without):

  • True positives = 9; false negatives = 1.
  • True negatives: 80% of 990 = 792; false positives = 198.
  • PPV = 9 / (9 + 198) = 9 / 207 = 4.3%.
  • NPV = 792 / (792 + 1) = 99.9%.
Prevalence 10% Prevalence 1%
Sensitivity 90% 90%
Specificity 80% 80%
PPV 33.3% 4.3%
NPV 98.6% 99.9%

The test did not change, but the meaning of a positive result fell from about 1 in 3 to about 1 in 23. Lower prevalence lowers PPV and raises NPV; higher prevalence does the reverse. This is the reason screening is targeted to higher-risk groups and the reason a positive screen in a low-risk patient needs confirmation.

Likelihood ratios

Likelihood ratios combine sensitivity and specificity into one number that does not depend on prevalence, and they work on odds rather than percentages.

For the same test: LR+ = 0.90 / (1 minus 0.80) = 0.90 / 0.20 = 4.5. LR- = (1 minus 0.90) / 0.80 = 0.10 / 0.80 = 0.125.

To use them, convert probability to odds, multiply, and convert back:

  1. Pretest probability 10% gives pretest odds of 0.10 / 0.90 = 0.111.
  2. After a positive result: 0.111 x 4.5 = 0.50 post-test odds.
  3. Post-test probability = 0.50 / (1 + 0.50) = 33.3%, the same answer as the PPV above.

An LR+ well above 1 raises the probability of disease and an LR- well below 1 lowers it; an LR near 1 changes little. The common error is multiplying a percentage by the LR: 10% x 4.5 is not 45%.

Measuring treatment effect: absolute versus relative

Trials report an event rate in the control group (CER) and in the experimental or treated group (EER).

Measure Formula
Absolute risk reduction (ARR) CER minus EER
Relative risk (RR) EER / CER
Relative risk reduction (RRR) ARR / CER, which equals 1 minus RR
Number needed to treat (NNT) 1 / ARR
Absolute risk increase (ARI) EER minus CER, for a harm
Number needed to harm (NNH) 1 / ARI

Worked example, benefit: over 5 years, stroke occurs in 10% of the control group and 6% of the treated group.

  • ARR = 0.10 minus 0.06 = 0.04 (4 percentage points).
  • RR = 0.06 / 0.10 = 0.6.
  • RRR = 0.04 / 0.10 = 40%.
  • NNT = 1 / 0.04 = 25. Treat 25 people for 5 years to prevent one stroke.

Worked example, harm: major bleeding occurs in 3% of treated and 1% of control patients.

  • ARI = 0.03 minus 0.01 = 0.02.
  • NNH = 1 / 0.02 = 50. One additional bleed for every 50 people treated.

Read together, about two strokes are prevented for each major bleed caused (50 / 25).

Why absolute numbers matter: keep the same 40% relative reduction but lower the baseline risk to 1%. Then the treated rate is 0.6%, the ARR is 0.004, and the NNT is 250. The Indiana University EBM sheet uses the same kind of example (control rate 0.005, treated rate 0.001, NNT 250). A headline relative risk reduction sounds identical in both populations; the absolute benefit differs tenfold. By convention, a fractional NNT is rounded up to the next whole person.

Relative risk and odds ratio

The CDC defines the risk ratio as the risk in the group of interest divided by the risk in the comparison group. A value of 1.0 means identical risk, above 1.0 means higher risk in the exposed group, and below 1.0 means lower risk, which may suggest a protective effect.

The odds ratio is calculated from the 2x2 cells as ad / bc, where a is exposed with disease, b exposed without disease, c unexposed with disease and d unexposed without disease. It is the measure for case-control studies, where incidence cannot be calculated, and it approximates the risk ratio when the outcome is uncommon. In the CDC teaching example, an odds ratio of 5.2 sits close to a risk ratio of 5.0.

Study designs

Design How it works Typical measure Strength Weakness
Randomized controlled trial Investigator assigns the intervention at random and follows outcomes RR, ARR, NNT Randomization balances known and unknown confounders Cost, time, selected participants, cannot test harmful exposures
Cohort (prospective or retrospective) Groups defined by exposure are followed for outcomes Relative risk, incidence Establishes time order; studies several outcomes Slow for rare outcomes; loss to follow-up
Case-control People with and without the disease are compared for past exposure Odds ratio Efficient for rare diseases Recall bias; choosing a comparable control group
Cross-sectional Exposure and outcome measured at one time point Prevalence Quick, descriptive Cannot show which came first
Systematic review and meta-analysis Pools studies answering one question Pooled estimate Combines evidence Only as good as the included studies
Qualitative Interviews or observation to explore experience Themes Explains meaning and context Not designed to measure effect

Two CDC points are frequent exam cues. Experimental studies are those where the investigator controls the exposure; in observational studies the investigator only records it. In case-control studies, the key design problem is choosing a comparable control group.

Matching the design to the question is a common item: a question about whether a new drug lowers mortality calls for a randomized trial; a question about whether a rare cancer is linked to a past exposure calls for a case-control study; a question about the incidence of an outcome after an exposure calls for a cohort; a question about how patients experience a diagnosis calls for a qualitative design.

Levels of evidence and grading

Nursing evidence hierarchies differ in how many levels they use, but they share an order: systematic reviews and meta-analyses of randomized trials at the top, then individual randomized trials, then quasi-experimental studies, then observational designs such as cohort and case-control studies, then descriptive and qualitative studies, and finally expert opinion. Quality is judged separately from level: a poorly conducted randomized trial is not stronger evidence than a well-conducted cohort.

Guideline bodies also rate certainty. The USPSTF defines high certainty as consistent results from well-designed, well-conducted studies in representative primary care populations; moderate certainty as evidence limited by factors such as few or weak studies or inconsistency; and low certainty as evidence insufficient to assess effects on health outcomes.

Bias and confounding

  • Selection bias: the people studied differ systematically from the population of interest, such as volunteers who are healthier than average.
  • Recall bias: people with a disease remember past exposures differently from controls; the classic weakness of case-control studies.
  • Attrition (loss to follow-up) bias: dropouts differ from completers; a threat to cohorts and trials.
  • Lead-time bias: screening finds disease earlier, so survival from diagnosis looks longer even when the date of death does not change.
  • Length-time bias: screening preferentially detects slow-growing disease, which has a better prognosis regardless of screening.
  • Confounding: a third factor linked to both exposure and outcome creates or hides an association, such as age in a study of exercise and heart disease. Randomization controls confounding in trials; matching, stratification and adjustment address it in observational studies.
  • Hawthorne effect: participants change behavior because they know they are being observed.

p values and confidence intervals

The American Statistical Association's six principles on p values are a reliable guide to exam wording:

  1. A p value can indicate how incompatible the data are with a specified statistical model.
  2. It does not measure the probability that the hypothesis is true, or that the data arose by chance alone.
  3. Conclusions should not rest only on whether a p value passes a threshold.
  4. Proper inference requires full reporting and transparency.
  5. A p value does not measure the size of an effect or the importance of a result.
  6. By itself, a p value is not a good measure of evidence about a model or hypothesis.

A p value below the chosen alpha (often 0.05) is called statistically significant, but a very large trial can produce a tiny p value for a clinically trivial difference. Confidence intervals show both size and precision. For a ratio (RR, OR), an interval that includes 1 is not statistically significant; for a difference (ARR), an interval that includes 0 is not. Narrower intervals mean more precise estimates, usually from larger samples.

A type 1 (alpha) error rejects a true null hypothesis, a false positive finding. A type 2 (beta) error misses a real difference, often because the sample was too small; power is the probability of avoiding it.

How the exam tests this

  • The prevalence trap. Sensitivity and specificity do not change with prevalence; predictive values do.
  • The direction trap. Sensitivity starts from people with the disease; PPV starts from people with a positive test.
  • The relative-risk trap. A 40% relative reduction can mean an NNT of 25 or 250, depending on baseline risk.
  • The odds-ratio trap. Odds ratios belong to case-control studies; relative risk belongs to cohorts and trials.
  • The significance trap. "Statistically significant" does not mean clinically important, and p does not give the probability that the drug works.
  • The interval trap. A relative risk interval of 0.8 to 1.3 crosses 1, so the result is not significant.
  • The design trap. Rare disease with past exposure means case-control; a new treatment means a randomized trial.

Practice question

In a 3-year randomized trial in adults 65 and older, hip fracture occurred in 5% of the placebo group and 3% of the treatment group (relative risk 0.6, 95% confidence interval 0.45 to 0.80). How many patients must be treated for 3 years to prevent one hip fracture?

  • A. 2
  • B. 20
  • C. 40
  • D. 50

Answer: D. The absolute risk reduction is 0.05 minus 0.03 = 0.02, and the NNT is 1 / 0.02 = 50. Option A uses the percentage-point difference (2) as if it were the NNT. Option B (20) is 1 divided by the control event rate alone and ignores the treated group. Option C (40) is the relative risk reduction expressed as a whole number and confuses relative with absolute effect. The confidence interval does not cross 1, so the reduction is statistically significant.

Key points

  • Sensitivity = TP / (TP + FN) and specificity = TN / (FP + TN); both are independent of prevalence.
  • PPV = TP / (TP + FP) and NPV = TN / (TN + FN); lower prevalence lowers PPV and raises NPV.
  • LR+ = sensitivity / (1 minus specificity); multiply pretest odds, not percentages, by the likelihood ratio.
  • ARR = CER minus EER; NNT = 1 / ARR; NNH = 1 / ARI; relative risk reduction overstates benefit when baseline risk is low.
  • Relative risk comes from cohorts and trials; the odds ratio (ad / bc) comes from case-control studies.
  • A ratio confidence interval that includes 1, or a difference interval that includes 0, is not statistically significant.
  • A p value does not measure effect size, importance, or the probability that a hypothesis is true.

Related NPractitioner guides

Frequently asked questions

Common follow-up questions on Geriatrics & Prescribing (AGNP).

Why does a positive screening test mean less in a low-risk population?

Positive predictive value depends on prevalence. With the same sensitivity and specificity, fewer true cases and the same proportion of false positives in a low-prevalence group means a larger share of positive results are false.

How do I calculate NNT from a trial?

Subtract the event rate in the treated group from the event rate in the control group to get the absolute risk reduction, then divide 1 by that number. An absolute risk reduction of 4 percent (0.04) gives an NNT of 25.

What does a confidence interval that crosses 1 mean?

For a ratio such as relative risk or odds ratio, 1 means no difference between groups. An interval that includes 1 means the result is not statistically significant at the chosen level.

Which study design reports an odds ratio?

The case-control study. Because it starts from people with and without the disease, incidence cannot be calculated, so the odds ratio is used; it approximates relative risk when the outcome is uncommon.

Sources and references

  1. US Food and Drug Administration. Statistical Guidance on Reporting Results from Studies Evaluating Diagnostic Tests: Guidance for Industry and FDA Staff. March 13, 2007. https://www.fda.gov/regulatory-information/search-fda-guidance-documents/statistical-guidance-reporting-results-studies-evaluating-diagnostic-tests-guidance-industry-and-fda
  2. Ruth Lilly Medical Library, Indiana University School of Medicine. EBM Cheat Sheet. Accessed November 2026. https://www.library.mednet.iu.edu/classes-and-tutorials/tutorials-and-helpsheets/special-topics/ebm/cheatsheet.html
  3. Centers for Disease Control and Prevention. Principles of Epidemiology in Public Health Practice, Third Edition. Lesson 3, Section 5: Measures of Association. Last reviewed May 18, 2012. https://archive.cdc.gov/www_cdc_gov/csels/dsepd/ss1978/lesson3/section5.html
  4. Centers for Disease Control and Prevention. Principles of Epidemiology in Public Health Practice, Third Edition. Lesson 1, Section 7: Analytic Epidemiology. Last reviewed May 18, 2012. https://archive.cdc.gov/www_cdc_gov/csels/dsepd/ss1978/lesson1/section7.html
  5. American Statistical Association. American Statistical Association Releases Statement on Statistical Significance and P-Values. March 7, 2016. https://www.amstat.org/asa/files/pdfs/p-valuestatement.pdf
  6. US Preventive Services Task Force. Grade Definitions. Accessed November 2026. https://www.uspreventiveservicestaskforce.org/uspstf/about-uspstf/methods-and-processes/grade-definitions
Put this into practice

FNP and AGNP board questions written as primary-care cases, with guideline-based explanations, for the AANP and ANCC exams. Create a free account and pick your track.

Create Free Account →