RESP-350 · Lesson 4 of 12 · 23 min

Statistics for clinicians

▶ Video coming soon A video version of this lesson is on the way.

Tomas Reyes admitted at journal club that he skipped the statistics in every article. "I read the p-value, and if it is under 0.05 I assume the treatment works." Several colleagues nodded. Dana Kowalczyk wrote two numbers on the whiteboard: 39.8 and 31.0. "These are the mortality percentages from the ARDS Network lower tidal volume trial. By the end of today you will be able to tell a family, in plain language, what those numbers mean for their relative, and you will never need to look at a p-value first again." This lesson covers the statistics a respiratory therapist needs to read clinical research: describing data, testing hypotheses and estimating effects, the measures used for treatment effects and diagnostic tests, and the common traps. It is a clinician's toolkit, not a statistics course; PUBH-311 Biostatistics for Public Health covers the methods in more depth, and many of the calculations here are worth practicing with a calculator until they become second nature.

Types of data and descriptive statistics

Variables are either categorical or numerical. Categorical variables can be nominal, with no order (blood type, ventilator mode), or ordinal, with a natural order but unequal steps (a dyspnea scale, a sedation score). Binary variables, such as alive or dead, reintubated or not, are categorical with two levels and are the most common outcomes in respiratory trials. Numerical variables can be discrete counts (number of exacerbations) or continuous measurements (PaO2, tidal volume, length of stay).

Continuous data are summarized by a measure of center and a measure of spread. For roughly symmetrical, bell-shaped distributions, the mean and standard deviation (SD) are appropriate; about 68 percent of values lie within one SD of the mean and about 95 percent within two. For skewed data, such as length of ICU stay, where a few patients stay for months, the median and interquartile range (IQR, the 25th to 75th percentile) are better, because the mean is pulled toward the long tail. When an article reports length of stay as a mean with an SD larger than the mean itself, the data are almost certainly skewed. Categorical data are summarized as counts and percentages.

Hypothesis testing and the p-value

Classical hypothesis testing starts with a null hypothesis, usually that there is no difference between groups, and asks how surprising the observed data would be if the null were true. The p-value is the probability of obtaining a result at least as extreme as the one observed, assuming the null hypothesis is true. A small p-value indicates that the data are unusual under the null; by convention, a p-value below 0.05 is called statistically significant.

The p-value is widely misunderstood. It is not the probability that the null hypothesis is true, and it is not the probability that the result is due to chance. It does not measure the size or importance of an effect. A tiny, clinically trivial difference can have a very small p-value in a huge study, and a large, important effect can have a p-value above 0.05 in a small one. In 2016 the American Statistical Association issued a statement warning against basing conclusions on whether a p-value crosses a threshold, and urging researchers to report effect sizes and confidence intervals.

Two kinds of error are possible. A type I error (false positive) is concluding there is a difference when there is none; its probability is alpha, conventionally 0.05. A type II error (false negative) is missing a real difference; its probability is beta. Power, equal to one minus beta, is the probability of detecting a true effect of a specified size; trials are usually designed for 80 or 90 percent power. Power depends on the sample size, the size of the effect sought, the variability of the outcome and alpha. An underpowered trial that finds "no significant difference" has not shown that there is no difference; it may simply have been too small.

Multiple comparisons inflate the false-positive rate. If a study tests 20 independent outcomes at the 0.05 level, about one will be "significant" by chance alone even if the treatment does nothing. That is why a single pre-specified primary outcome matters and why unplanned subgroup findings deserve skepticism.

Confidence intervals

A 95 percent confidence interval (CI) gives the range of values for the true effect that are reasonably compatible with the data. Strictly, if the study were repeated many times, 95 percent of such intervals would contain the true value. For clinicians, the CI is more useful than the p-value for three reasons. It shows the size of the effect. It shows precision: a narrow interval means a precise estimate, a wide one means uncertainty. And it shows whether clinically important effects are compatible with the data.

For a difference (such as a risk difference or mean difference), the line of no effect is zero; for a ratio (relative risk, odds ratio, hazard ratio), it is one. If the 95 percent CI excludes the line of no effect, the result is statistically significant at the 0.05 level. The more useful question is where the interval lies relative to the smallest effect that would matter to patients, often called the minimal clinically important difference (MCID). An interval that lies entirely beyond the MCID suggests an important benefit; one that crosses both no effect and the MCID is inconclusive; one that lies entirely between no effect and a trivial effect suggests that any benefit is too small to matter.

Measuring treatment effects with binary outcomes

Most respiratory trials report binary outcomes, so the measures derived from two proportions are essential. The control event rate (CER) is the proportion of the control group with the outcome; the experimental event rate (EER) is the proportion in the intervention group.

  • Absolute risk reduction (ARR), also called the risk difference, equals CER minus EER. It tells you how many fewer people out of 100 have the outcome.
  • Relative risk (RR), or risk ratio, equals EER divided by CER. An RR of 0.75 means the risk in the intervention group is three quarters of the risk in the control group.
  • Relative risk reduction (RRR) equals ARR divided by CER, or one minus RR. It tells you the proportional reduction.
  • Number needed to treat (NNT) equals one divided by the ARR (expressed as a proportion), rounded up. It is the number of patients who must receive the intervention, for the duration of the trial, for one additional patient to benefit. For harms, the same calculation gives the number needed to harm (NNH).
  • The odds ratio (OR) compares the odds of the outcome (events divided by non-events) between groups. Case-control studies and logistic regression produce ORs. When the outcome is rare, the OR approximates the RR; when the outcome is common, the OR exaggerates the effect compared with the RR.
  • The hazard ratio (HR), from survival analysis such as Cox regression, compares the instantaneous rate of the outcome over time between groups, and is interpreted similarly to an RR.

Worked problem

Interpreting the ARDS Network trial

In the 2000 ARDS Network trial, mortality was 39.8 percent with traditional tidal volumes and 31.0 percent with lower tidal volumes. Calculate the ARR, RR, RRR, NNT and OR, and explain them in plain language.

Show solution
  1. CER = 0.398 and EER = 0.310.
  2. ARR = 0.398 - 0.310 = 0.088, or 8.8 percentage points.
  3. RR = 0.310 / 0.398 = 0.78. RRR = 0.088 / 0.398 = 0.22, or about 22 percent.
  4. NNT = 1 / 0.088 = 11.4, rounded up to 12.
  5. Odds: control 0.398 / 0.602 = 0.66; intervention 0.310 / 0.690 = 0.45; OR = 0.45 / 0.66 = 0.68, which looks more impressive than the RR of 0.78 because death was common.

Answer: Out of every 100 patients like those in the trial, about 9 fewer died with lower tidal volumes; the risk of death was about 22 percent lower in relative terms; about 12 patients needed lower tidal volume ventilation to prevent one death. This is one of the most compelling NNTs in critical care.

Relative measures sound more impressive than absolute ones and are favored in headlines and marketing. A treatment that reduces an outcome from 2 in 1,000 to 1 in 1,000 has an RRR of 50 percent but an ARR of 0.1 percentage points and an NNT of 1,000. Absolute measures depend on baseline risk, so the same RRR produces a much smaller absolute benefit in low-risk patients. When explaining benefits and harms to patients, use absolute numbers and natural frequencies ("out of 100 people like you").

Continuous outcomes and survival

For continuous outcomes, the effect is usually the mean difference between groups with its CI, for example a 1.5-day reduction in ventilator days. When studies use different scales for the same concept, meta-analyses combine them as a standardized mean difference. Time-to-event outcomes, such as time to extubation or survival, are displayed as Kaplan-Meier curves, which show the proportion still free of the event over time, and compared with the log-rank test or Cox regression. Composite outcomes such as ventilator-free days combine survival and duration of ventilation into a single number, which is efficient but can be hard to interpret.

Reading a forest plot

Systematic reviews present meta-analyses as forest plots. Each study is a row: a square marks its point estimate, sized according to its weight in the analysis, and a horizontal line shows its CI. A vertical line marks no effect. The pooled estimate appears at the bottom as a diamond, whose width is the pooled CI. Below or beside the plot, heterogeneity statistics indicate how much the studies disagree beyond chance; the I-squared statistic expresses the percentage of variation due to real differences between studies rather than chance, with values above about 50 often regarded as substantial.

Forest plot of five hypothetical trials comparing high-flow nasal cannula with conventional oxygen for reintubation, on a relative risk scale from 0.25 to 4. Each trial has a square and horizontal confidence interval line; most lie left of the vertical line at 1, favoring high flow, and the pooled diamond at the bottom lies left of 1 with its confidence interval not crossing 1.
Figure 1. A forest plot. The data are hypothetical, for teaching.

Diagnostic test statistics

Respiratory therapists use and evaluate many tests: capnography for tube placement, the rapid shallow breathing index for weaning, spirometry for obstruction, pulse oximetry for hypoxemia. Diagnostic accuracy is described with a two-by-two table comparing the test result with a reference standard.

  • Sensitivity is the proportion of people with the condition who test positive: true positives divided by all with the condition. A highly sensitive test, when negative, helps rule the condition out (SnNout).
  • Specificity is the proportion of people without the condition who test negative: true negatives divided by all without the condition. A highly specific test, when positive, helps rule the condition in (SpPin).
  • Positive predictive value (PPV) is the proportion of positive tests that are true positives; negative predictive value (NPV) is the proportion of negative tests that are true negatives. Unlike sensitivity and specificity, predictive values depend strongly on prevalence: the same test has a lower PPV in a population where the condition is rare.
  • Likelihood ratios combine sensitivity and specificity into one number that does not depend on prevalence. The positive likelihood ratio (LR+) equals sensitivity divided by (1 minus specificity); the negative likelihood ratio (LR-) equals (1 minus sensitivity) divided by specificity. Multiplying the pre-test odds by the likelihood ratio gives the post-test odds. An LR+ above 10 or an LR- below 0.1 usually changes decisions substantially; values between 0.5 and 2 rarely do.
A two-by-two table: columns are extubation failure present (50) and absent (150); rows are test positive and test negative. Cells: true positives 35, false positives 30, false negatives 15, true negatives 120. Beside it, the formulas and results: sensitivity 70 percent, specificity 80 percent, positive predictive value 54 percent, negative predictive value 89 percent, LR+ 3.5, LR- 0.38.
Figure 2. A diagnostic two-by-two table for a hypothetical weaning index, with the derived statistics.

Worked problem

A hypothetical weaning index

In a hypothetical study of 200 patients, 50 failed extubation. A weaning index was positive (predicting failure) in 35 of the 50 who failed and in 30 of the 150 who succeeded. Calculate sensitivity, specificity, PPV, NPV and likelihood ratios.

Show solution
  1. True positives 35, false negatives 15, false positives 30, true negatives 120.
  2. Sensitivity = 35 / 50 = 70 percent. Specificity = 120 / 150 = 80 percent.
  3. PPV = 35 / 65 = 54 percent. NPV = 120 / 135 = 89 percent.
  4. LR+ = 0.70 / 0.20 = 3.5. LR- = 0.30 / 0.80 = 0.38 (about 0.375).
  5. Check with odds: prevalence 25 percent gives pre-test odds 1 : 3 (0.33); multiplied by 3.5 gives post-test odds 1.17, a probability of 54 percent, matching the PPV.

Answer: The index moderately raises the probability of failure when positive and lowers it when negative, but neither likelihood ratio is strong enough to decide alone. It should be combined with clinical assessment and a spontaneous breathing trial.

Many tests give a continuous result, and the cut-off chosen trades sensitivity against specificity. A receiver operating characteristic (ROC) curve plots sensitivity against 1 minus specificity across all cut-offs; the area under the curve (AUC) summarizes overall discrimination, from 0.5 (no better than chance) to 1.0 (perfect).

Correlation, regression and choosing tests

Correlation measures the strength of a linear association between two numerical variables; the Pearson coefficient r ranges from minus 1 to plus 1. Correlation does not imply causation, and a strong correlation does not mean two measurement methods agree; agreement is assessed with a Bland-Altman plot, which shows the mean difference (bias) and limits of agreement, as in studies comparing SpO2 with arterial SaO2. Regression models predict an outcome from one or more variables: linear regression for continuous outcomes, logistic regression for binary outcomes (giving ORs), and Cox regression for time-to-event outcomes (giving HRs). Multivariable models adjust for confounders, within the limits described in lesson 3.

Table 1. Common statistical tests you will meet in respiratory research.
ComparisonTypical test or model
Means of two groups, roughly normal dataIndependent t-test (paired t-test for before and after in the same people)
Two groups, skewed or ordinal dataMann-Whitney U test (Wilcoxon signed-rank for paired data)
Means of three or more groupsAnalysis of variance (ANOVA)
Proportions in two or more groupsChi-square test (Fisher exact test for small counts)
Binary outcome with several predictorsLogistic regression
Time-to-event outcomeKaplan-Meier with log-rank test; Cox regression

Common mistakes

  • MistakeA p-value of 0.03 means there is a 3 percent chance the result is due to chance.

    InsteadIt is the probability of data at least this extreme if the null hypothesis were true; it does not give the probability that the null is true.

  • MistakeA non-significant result means the treatment does not work.

    InsteadIt may reflect low power; look at the confidence interval to see whether important effects remain possible.

  • MistakeA 50 percent relative risk reduction is always a big benefit.

    InsteadThe absolute benefit depends on baseline risk; check the ARR and NNT.

  • MistakePositive predictive value is a fixed property of a test.

    InsteadPredictive values change with prevalence; sensitivity, specificity and likelihood ratios do not.

Summary and key terms

  • Use mean and SD for symmetrical data, median and IQR for skewed data.
  • The p-value measures surprise under the null; it does not measure effect size or importance. Confidence intervals show size and precision.
  • ARR = CER minus EER; RR = EER / CER; RRR = ARR / CER; NNT = 1 / ARR, rounded up.
  • ORs exaggerate effects when outcomes are common; HRs compare event rates over time.
  • Sensitivity and specificity describe the test; PPV and NPV depend on prevalence; likelihood ratios convert pre-test to post-test odds.
  • Forest plots show each study, the pooled diamond and heterogeneity.
P-value
The probability of data at least as extreme as observed, assuming the null hypothesis is true.
Confidence interval
A range of values for the true effect that are reasonably compatible with the data.
Power
The probability that a study will detect a true effect of a specified size.
Absolute risk reduction
The difference in event rates between control and intervention groups.
Number needed to treat
The number of patients who must be treated for one additional patient to benefit; one divided by the ARR.
Sensitivity
The proportion of people with a condition who test positive.
Specificity
The proportion of people without a condition who test negative.
Likelihood ratio
How much a test result changes the odds of a condition.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. Control mortality is 20 percent and intervention mortality 15 percent. Calculate the ARR, RRR and NNT.

    Show answer

    ARR 5 percentage points; RRR 25 percent; NNT 20.

  2. A trial reports a mean difference in ventilator days of -1.2 (95 percent CI -2.6 to 0.2). Is it statistically significant?

    Show answer

    No: the interval includes zero. It is compatible with a benefit of up to 2.6 days or a small harm.

  3. A test has sensitivity 90 percent and specificity 60 percent. What are the LR+ and LR-?

    Show answer

    LR+ = 0.9 / 0.4 = 2.25; LR- = 0.1 / 0.6 = 0.17.

  4. Why report length of stay as median and IQR?

    Show answer

    Length of stay is right-skewed, so the mean is pulled up by a few long stays.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz