Introduction
A clinical trial rarely produces a treatment effect that is known with perfect certainty. Even when the underlying effect is fixed, the estimate observed in a particular trial depends on the patients enrolled, the measurements collected, and random sampling variation.
A confidence interval (CI) quantifies uncertainty around an estimated treatment effect or other population parameter. Instead of reporting only a point estimate, a confidence interval provides a range produced by a statistical procedure designed to have a stated long-run coverage probability under its assumptions.
What Is a Confidence Interval?
Suppose a clinical trial estimates a treatment effect with point estimate \(\hat{\theta}\) and standard error \(SE(\hat{\theta})\). A commonly used two-sided confidence interval is:
where \(c\) is a critical value determined by the desired confidence level and reference distribution. For a large-sample 95% normal approximation, \(c\) is approximately 1.96.
The interval can therefore be viewed as the point estimate plus or minus a margin of error:
What Does "95% Confidence" Mean?
The standard frequentist interpretation concerns the performance of the interval-generating procedure over repeated samples. If the same design and analysis procedure were repeated many times, approximately 95% of the resulting 95% confidence intervals would contain the true parameter, assuming the procedure's underlying assumptions hold.
For clinical communication, it is reasonable to describe a CI as a range of values compatible with the observed data and the statistical model, while remembering that the confidence level describes the long-run behavior of the procedure.
Point Estimate Versus Confidence Interval
Suppose a trial estimates a treatment difference of 6 points with a 95% CI from 1 to 11 points.
| Quantity | Example | What it tells you |
|---|---|---|
| Point estimate | 6 points | Best single estimate of the treatment difference |
| Lower limit | 1 point | Lower end of the interval |
| Upper limit | 11 points | Upper end of the interval |
| CI width | 10 points | Reflects statistical precision |
The point estimate is useful, but the interval adds information about how much uncertainty surrounds that estimate.
How a Confidence Interval Is Calculated
Worked Example: Mean Treatment Difference
Suppose the estimated treatment difference is:
with:
Using a large-sample 95% normal approximation:
The margin of error is:
The confidence limits are:
Therefore:
Confidence Intervals and Precision
A narrow confidence interval indicates greater statistical precision, whereas a wide confidence interval indicates less precision. For a fixed confidence level, interval width is driven strongly by the standard error.
All else being equal, increasing sample size generally reduces standard error:
Consequently, larger trials often produce narrower intervals.
Same Estimate, Different Precision
| Estimate | 95% CI | Interpretation |
|---|---|---|
| 5 | (4, 6) | Very precise estimate |
| 5 | (1, 9) | Moderately precise estimate |
| 5 | (−8, 18) | Much greater uncertainty |
Confidence Intervals for Treatment Differences
For a difference in mean outcomes, a common treatment contrast is:
where \(\bar{X}_T\) and \(\bar{X}_C\) are the treatment and control means. The confidence interval is constructed around the estimated contrast using the appropriate standard error and inferential method.
Confidence Intervals for Risk Differences
For a binary endpoint, let \(p_T\) be the event probability in treatment and \(p_C\) the event probability in control. The risk difference is:
If the event rates are 60% and 45%:
This corresponds to a 15-percentage-point difference.
Confidence Intervals for Risk Ratios
A risk ratio compares event probabilities:
If \(p_T=0.60\) and \(p_C=0.50\):
For ratio measures, the null value is 1 rather than 0.
| Effect measure | Null value | Typical interpretation |
|---|---|---|
| Mean difference | 0 | No mean difference |
| Risk difference | 0 | No risk difference |
| Risk ratio | 1 | Equal risks |
| Odds ratio | 1 | Equal odds |
| Hazard ratio | 1 | Equal hazards |
Confidence Intervals for Odds Ratios
Odds ratios are common in logistic regression and binary clinical endpoints. Suppose:
with:
Because the entire interval is below 1, the estimated odds are lower in the numerator treatment group, assuming the ratio has been defined as treatment relative to control. Whether this is clinically favorable depends on what the event represents.
Confidence Intervals for Hazard Ratios
Time-to-event analyses commonly report hazard ratios from a Cox proportional hazards model. Suppose:
with:
A hazard ratio below 1 suggests a lower instantaneous event hazard for treatment relative to control under the model and endpoint definition.
Ratio Confidence Intervals and the Log Scale
For ratio measures, statistical models often operate naturally on the logarithmic scale:
The limits are then transformed back to the ratio scale:
This produces asymmetric intervals on the original ratio scale while preserving positivity.
Confidence Intervals and the Null Value
For many compatible two-sided procedures, whether a 95% CI includes the null value corresponds closely to the result of a two-sided hypothesis test at the 5% level.
is relevant for difference measures, while:
is relevant for ratio measures.
Confidence Intervals Are More Informative Than "Significant / Not Significant"
A p-value helps address a hypothesis-testing question, but it does not by itself communicate effect magnitude or precision.
| Study | Estimate | 95% CI | p-value |
|---|---|---|---|
| A | 2.0 | (1.8, 2.2) | <0.001 |
| B | 8.0 | (−1.0, 17.0) | 0.08 |
Study A provides a highly precise estimate of a smaller effect. Study B has a larger point estimate but much more uncertainty. A simple significant/not-significant label would obscure that distinction.
Statistical Significance Versus Clinical Importance
A confidence interval can help separate statistical evidence from clinical relevance. Suppose a clinically important difference has been prespecified as 5 units.
If the treatment effect is 8 units and the entire interval exceeds 5, the data are consistent with an effect exceeding that threshold.
By contrast:
includes values below and above the clinically important threshold. The point estimate alone would not reveal this uncertainty.
Confidence Intervals and Non-Inferiority
Confidence intervals are central to non-inferiority trials. Suppose the treatment effect is defined as treatment minus control and the non-inferiority margin is \(-5\) units. Consider:
The lower confidence limit is above the non-inferiority margin. Under the prespecified estimand, analysis, and inferential framework, this can support a non-inferiority conclusion.
Confidence Intervals and Equivalence
Equivalence testing also relies on prespecified margins. If the acceptable difference is between \(-\delta\) and \(+\delta\), the confidence interval must lie entirely within that interval for an equivalence conclusion under the applicable procedure:
This is different from simply failing to demonstrate a statistically significant difference.
Confidence Intervals for Subgroup Analyses
Clinical trials often display treatment effects by subgroup. Forest plots commonly show the point estimate and confidence interval for each subgroup.
| Subgroup | Estimate | 95% CI |
|---|---|---|
| Overall | 0.78 | (0.66, 0.92) |
| Age <65 | 0.74 | (0.59, 0.93) |
| Age ≥65 | 0.84 | (0.66, 1.08) |
The subgroup intervals describe uncertainty within each subgroup. They do not, by themselves, establish that treatment effects differ between subgroups.
Confidence Intervals and Interaction Tests
If the scientific question is whether treatment effects differ between subgroups, the formal hypothesis concerns the interaction term:
Subgroup-specific CIs remain useful for describing individual estimates, but the interaction analysis addresses the comparison of effects.
Confidence Intervals in Regression Models
Confidence intervals are routinely produced for regression coefficients and model-derived effects. For a regression coefficient:
In logistic regression and Cox regression, exponentiating a coefficient gives an odds ratio or hazard ratio:
Confidence Intervals for Kaplan-Meier Estimates
Time-to-event analyses can also report confidence intervals around estimated survival probabilities. For example:
This communicates an estimated 72% survival probability at Week 24 together with uncertainty calculated using the specified survival-analysis method.
Confidence Intervals Are Not Prediction Intervals
| Interval | Main question |
|---|---|
| Confidence interval | What values of the population parameter are supported by the analysis? |
| Prediction interval | What range might be expected for a future individual observation or outcome? |
Prediction intervals generally incorporate additional individual-level variability and are therefore often wider.
Confidence Level: 90%, 95%, and 99%
| Confidence level | Typical normal critical value | Relative width |
|---|---|---|
| 90% | 1.645 | Narrower |
| 95% | 1.96 | Common default |
| 99% | 2.576 | Wider |
Small Samples and the t Distribution
For some small-sample mean-based analyses, a t distribution is used rather than a standard normal critical value:
The degrees of freedom depend on the analysis. As sample size increases, the t distribution approaches the standard normal distribution.
Confidence Intervals Are Method-Dependent
There is no single universal CI method for every clinical-trial endpoint. The appropriate method depends on the estimand, endpoint, model, sample size, distributional assumptions, censoring, stratification, and analysis strategy.
Examples include Wald-type intervals, score-based or exact methods for proportions, transformed intervals for ratios, profile-likelihood intervals, and model-based intervals.
What Makes a Clinical-Trial CI Wide?
- Small sample size
- High variability in the endpoint
- Few events in binary or time-to-event analyses
- Small subgroup populations
- Large residual variance
- Limited information for the model parameter
A wide interval indicates imprecision. It is not automatically evidence that the treatment has no effect.
Precision Is Not the Same as Validity
A narrow interval can still surround a biased estimate. Confidence intervals quantify statistical uncertainty under the specified analysis; they do not automatically correct for bias, confounding, measurement error, or model misspecification.
Confidence Intervals and Missing Data
The treatment-effect estimate and CI depend on how missing data are handled. Mixed models, multiple imputation, tipping-point analyses, and other sensitivity analyses can produce different intervals because they rely on different assumptions or estimands.
Confidence Intervals and Multiplicity
Clinical trials may involve multiple endpoints, treatment comparisons, subgroups, or interim analyses. When multiplicity adjustments are part of the inferential strategy, confidence intervals may also need to be adjusted so that the interval and testing procedures remain coherent.
Confidence Intervals in Interim Analyses
Repeated looks at accumulating data can affect the operating characteristics of naive inferential procedures. In group-sequential or other adaptive designs, confidence intervals should follow the prespecified inferential method when adjusted inference is required.
Confidence Intervals in Clinical Study Reports
Confidence intervals are commonly included in efficacy and safety tables, forest plots, Kaplan-Meier displays, regression summaries, and key treatment-effect outputs.
| Component | Example |
|---|---|
| Endpoint | Change from baseline at Week 12 |
| Effect measure | Treatment minus control |
| Point estimate | −4.2 |
| 95% CI | (−7.1, −1.3) |
| p-value | 0.004 |
The direction of the treatment contrast should always be clear because the clinical meaning of a positive or negative estimate depends on how the endpoint and contrast are defined.
Confidence Intervals in Forest Plots
A forest plot displays treatment-effect estimates and their confidence intervals across subgroups, endpoints, or other analysis strata.
Confidence Intervals in SAS
Many SAS procedures provide confidence limits for model parameters and effect measures. For example:
proc logistic data=analysis;
class treatment(ref="Control") / param=ref;
model response(event="1") = treatment age baseline;
oddsratio treatment / cl=wald;
run;
The CI method should match the statistical analysis plan and the properties of the endpoint.
Confidence Intervals in R
For a simple large-sample calculation:
estimate <- 8 se <- 3 z <- qnorm(0.975) lower <- estimate - z * se upper <- estimate + z * se c(lower = lower, upper = upper)
For fitted models, the appropriate model-specific function can return confidence intervals using the selected method.
A Practical Clinical-Trial Interpretation Workflow
Common Mistakes
- Interpreting a 95% CI as a 95% probability statement about a fixed parameter. The standard frequentist interpretation concerns repeated use of the interval procedure.
- Ignoring the effect scale. Difference measures generally use 0 as the null; ratio measures generally use 1.
- Assuming a CI crossing the null proves there is no effect. It may indicate insufficient precision to distinguish the effect from the null.
- Equating statistical significance with clinical importance. A small effect can be estimated very precisely.
- Assuming a narrow CI guarantees an unbiased estimate. Precision does not eliminate systematic bias.
- Comparing subgroup significance instead of testing interaction. A formal interaction analysis is needed to compare subgroup effects.
- Using an unadjusted CI after a multiplicity-adjusted analysis. Inferential intervals should match the analysis strategy.
- Reporting a ratio without identifying the comparison direction. The numerator and denominator determine interpretation.
- Assuming every software procedure uses the same CI construction. Variance estimators and interval methods can differ.
Confidence Interval Quality Control
Confidence intervals should be checked as part of statistical-programming QC.
- Confirm the analysis population.
- Confirm treatment-group definitions and contrasts.
- Verify the endpoint and estimand.
- Verify the point estimate and standard error.
- Verify the confidence level.
- Verify the CI construction method.
- Confirm lower and upper limits are correctly ordered.
- Check the null value and treatment-effect direction.
- Reproduce selected intervals independently.
- Confirm multiplicity or interim-analysis adjustments.
Manual Validation Example
Suppose a treatment difference is 8 with standard error 3 and a 95% normal critical value of 1.96.
| Component | Value |
|---|---|
| Estimate | 8 |
| Standard error | 3 |
| Critical value | 1.96 |
| Margin of error | 5.88 |
| Lower limit | 2.12 |
| Upper limit | 13.88 |
This independent check can catch errors in effect direction, standard-error selection, critical values, or limit formatting.
How to Report a Confidence Interval
Confidence Intervals in Decision Making
A useful interpretation considers the entire interval rather than focusing only on its midpoint.
- What is the estimated treatment effect?
- How precise is the estimate?
- Does the interval include the null value?
- Does it include clinically trivial effects?
- Does it include clinically important effects?
- Is it consistent with the prespecified decision margin?
- Were multiplicity and other design features handled appropriately?
Key Takeaways
See these methods in real clinical trials
See the method applied to published trial results, with the estimates, confidence intervals and interpretation explained.