
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.
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).
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.
Take a test with 90% sensitivity and 80% specificity, applied to 1,000 people.
Clinic population, prevalence 10% (100 with disease, 900 without):
General population, prevalence 1% (10 with disease, 990 without):
| 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 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:
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%.
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.
Worked example, harm: major bleeding occurs in 3% of treated and 1% of control patients.
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.
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.
| 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.
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.
The American Statistical Association's six principles on p values are a reliable guide to exam wording:
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.
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?
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.
Common follow-up questions on Geriatrics & Prescribing (AGNP).
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.
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.
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.
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.
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 →