1. Home
  2. Explore
  3. Statistics
  4. Confidence Intervals

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Confidence Intervals

Confidence Intervals in Inferential Statistics

What a confidence interval communicates

A confidence interval (CI) reports a range of values that are compatible with a study’s data under a statistical model. It is interpreted alongside the study’s point estimate, effect size, and often a p value.

  • The point estimate is the study’s single estimated value for the effect, such as a difference between group means or a relative risk.

  • The confidence interval gives a range around that estimate, communicating both the estimated effect and its precision.

  • A narrow interval indicates greater precision: the data are compatible with a relatively limited range of effects.

  • A wide interval indicates less precision: a wider range of effects remains compatible with the data.

A confidence interval does not reveal the exact population effect. Rather, it shows a range of plausible values given the data and assumptions. The point estimate is the study’s central estimate, but it is not guaranteed to be the true effect. For some measures, such as ratios, the interval may not be centered on the point estimate when viewed on the ordinary numerical scale.

A confidence interval is most useful when interpreted as a range of effects—not as a simple label of “significant” or “not significant.”

The frequentist meaning of a 95% confidence interval

A 95% confidence level describes the long-run performance of the method used to calculate the interval. If the same study design and analysis were repeated many times under the same conditions, approximately 95% of the resulting intervals would contain the fixed true population value, assuming the model and its assumptions were appropriate.

It is common to say that researchers are “95% confident” that the true value lies in a particular interval. That phrase is a useful shorthand, but the precise frequentist interpretation concerns the interval-producing procedure over repeated studies. It does not mean that there is a 95% probability that the fixed population value lies inside an already calculated interval.

How confidence intervals relate to standard error and sample size

A confidence interval’s width depends on the measure being estimated, the variability in the data, the standard error, the sample size, and the confidence level. A simplified form for an estimate is:

estimate±critical value×standard error\text{estimate} \pm \text{critical value} \times \text{standard error}estimate±critical value×standard error

The exact calculation depends on the type of estimate and the statistical method. For example, a mean, a difference in means, and a hazard ratio require different calculations.

Standard error and variability

The standard error describes how much an estimate would tend to vary across repeated samples. Greater uncertainty in the estimate generally produces a wider confidence interval. The standard error is influenced by data variability and sample size.

Sample size

  • Larger samples generally produce smaller standard errors and narrower confidence intervals, all else being equal.

  • Smaller samples generally produce larger standard errors and wider confidence intervals.

  • A small sample may also have insufficient statistical power to detect an effect that is genuinely present.

A larger sample does not automatically eliminate bias or guarantee that a result is clinically important. It mainly tends to improve precision when other aspects of the study are sound.

Confidence level

A 99% confidence interval is generally wider than a 95% confidence interval calculated from the same data, because a higher confidence level requires a broader range of values. The confidence level affects the critical value used in the calculation.

Statistical significance and the null value

To interpret a confidence interval for statistical significance, first identify the measure being reported and its null value—the value that represents no difference or association.

Difference measures

For a difference, such as a difference between two group means, the null value is 0. A difference of zero indicates that the groups have the same value on the measure.

  • If a 95% CI for a difference includes 0, it is not statistically significant at the conventional 5% level in a matching two-sided test.

  • If the interval excludes 0, the result is statistically significant at that level, provided the interval and test use compatible methods and assumptions.

Ratio measures

For ratio measures—such as an odds ratio, risk ratio, relative risk, or hazard ratio—the null value is 1. A ratio of 1 means the compared groups have equal values on the measure.

  • If a 95% CI includes 1, the result is not statistically significant at the conventional 5% level in a matching two-sided test.

  • If the interval excludes 1, the result is statistically significant at that level, assuming compatible methods.

For example, an odds ratio of 1.5 indicates higher odds in the numerator group than in the denominator group; an odds ratio of 1 indicates equal odds.

This rule concerns statistical significance, not whether an effect matters clinically. A result that is not statistically significant does not prove that there is no effect. It means the data do not exclude the null value at the specified threshold.

Confidence intervals and p values

A p value describes how unusual the observed data, or data more extreme, would be if the null hypothesis and the statistical model were true. It is not the probability that the null hypothesis is true, nor is it the probability that the findings occurred “by chance.”

Under compatible methods, a two-sided 95% confidence interval and a test using a significance level of 0.05 generally lead to corresponding conclusions:

  • An interval that excludes the null value corresponds to a p value below 0.05.

  • An interval that includes the null value corresponds to a p value at or above 0.05.

The confidence interval usually conveys more information than the p value alone because it displays the direction, magnitude, and precision of the estimated effect. A p value summarizes evidence relative to a null hypothesis but does not, by itself, show whether an effect is large, small, precise, or clinically important.

Statistical significance and clinical relevance

Statistical significance and clinical relevance are different questions.

  • Statistical significance asks whether the data are sufficiently incompatible with the null hypothesis under a specified statistical model and threshold.

  • Clinical relevance asks whether the estimated effect is large enough, important enough, or meaningful enough to influence decisions for patients or populations.

A statistically significant result may have a very small effect that is not clinically important. Conversely, a potentially important effect may fail to reach statistical significance if the estimate is imprecise, such as when the sample is small.

A confidence interval helps with this distinction by showing which effect sizes remain compatible with the data. If the interval is wide, it may include both effects that would matter clinically and effects that would not. Thus, a “not statistically significant” result should not automatically be treated as evidence of no clinically meaningful effect.

Interpreting examples with ratio measures

Antihypertensive combinations and an odds ratio

Suppose a study reports odds ratios for outcomes associated with different antihypertensive drug combinations. Because an odds ratio is a ratio measure, the null value is 1.

  • A confidence interval from 0.62 to 1.52 includes 1, so it is not statistically significant at the conventional 5% level under a matching analysis.

  • A confidence interval from 1.04 to 2.39 excludes 1, so it is statistically significant at that level.

  • If a combination’s interval crosses 1, the data remain compatible with no difference in odds, even if the point estimate lies above or below 1.

The endpoint must still be identified to interpret what the odds ratio represents. For example, an increased odds ratio could indicate higher odds of a harmful side effect or higher odds of a beneficial outcome, depending on how the outcome and comparison were defined. The statistical rule is the same, but the clinical meaning depends on the endpoint and direction of the comparison.

A trial reporting a hazard ratio

Suppose a trial reports a hazard ratio of 0.90 with a 95% CI from 0.80 to 1.02.

  • The point estimate is below 1 and therefore suggests a lower hazard in the numerator group.

  • The interval includes 1, so it does not establish a statistically significant difference at the conventional 5% level.

  • The interval still permits a possible benefit, as well as little or no difference; its limits show the range of effects compatible with the data.

A graph showing the study groups’ event curves beginning to separate may suggest a pattern, but the visual trend does not replace interpretation of the estimate and its uncertainty. If multiple endpoints are reported and their intervals include the null value, those results are not statistically significant under the corresponding analyses. Study duration and sample size may be among the factors that affect the ability to estimate effects precisely.

Confidence intervals in systematic reviews and meta-analyses

A systematic review identifies and assesses relevant studies using defined criteria. A meta-analysis statistically combines results from multiple studies when combining them is appropriate. Pooling data can increase the amount of information available and may improve precision, but it does not automatically guarantee a reliable or clinically meaningful conclusion.

The results depend on factors such as:

  • Which studies were included or excluded

  • Whether the studies measured comparable populations, interventions, and outcomes

  • The quality and risk of bias of the individual studies

  • Differences in study methods and populations

  • The sample sizes and precision of the contributing studies

A pooled estimate should therefore be interpreted in the context of the studies that produced it and the endpoint being analyzed. Different endpoints—such as nonfatal myocardial infarction, stroke, cardiovascular mortality, or all-cause mortality—answer different questions. A result for one endpoint cannot automatically be treated as evidence of benefit for every other endpoint.

Reading a forest plot

A forest plot displays estimates from individual studies and often a pooled estimate.

  • Each study’s point or square represents its effect estimate.

  • The horizontal line through it represents its confidence interval.

  • The size of the square often indicates the study’s relative weight in the analysis.

  • A vertical line marks the null value: 0 for a difference measure or 1 for a ratio measure.

  • The pooled result is commonly shown as a diamond. Its center represents the pooled estimate, and its width represents the pooled confidence interval.

  • The side of the plot labeled as favoring one group indicates the direction of the estimate; the labels must be checked to interpret that direction correctly.

If an individual study’s interval crosses the null line, that individual estimate is not statistically significant at the corresponding level. The pooled estimate may nevertheless be statistically significant if its confidence interval excludes the null value. Small studies often have wider intervals because their estimates are less precise.

Examples and interpretation in context

Aspirin for primary prevention

In a meta-analysis of aspirin for primary prevention, different outcomes may produce different estimates and confidence intervals. For example, estimates for some coronary or cardiovascular events may exclude 1, while estimates for stroke or mortality may include 1.

This does not mean that every outcome has the same level of evidence or importance. Interpretation should consider:

  • The specific outcome being measured

  • The size and direction of the estimated effect

  • The confidence interval and its precision

  • Whether the outcome is clinically important to the patient or population

  • The potential benefits and harms of treatment

A p value of 0.071 is not the probability that the result is due to chance, and it does not mean that the finding is nearly proven. It indicates that, under the null hypothesis and the model, the observed result is not sufficiently unusual to cross a 0.05 significance threshold. The confidence interval and the clinical context are needed to understand what effects remain plausible.

Confounding and adjusted analyses

An observed association can change when an analysis adjusts for a confounder—a factor related to both the exposure and the outcome that can distort their apparent relationship.

For example, an association between hormone replacement therapy and an outcome may appear different before and after adjusting for socioeconomic status. If adjustment substantially changes the estimate, the unadjusted association may have been influenced by differences in socioeconomic status between groups.

Adjustment can help address confounding, but it does not guarantee that all bias has been removed. Study design, measurement quality, selection of participants, and the choice of variables to adjust for also matter. A confidence interval quantifies uncertainty under the analysis used; it does not by itself show that the analysis is free of bias.

What can limit precision or significance?

A result may fail to reach statistical significance for several reasons, including:

  • Small sample size, which can produce wide confidence intervals

  • High variability in the outcome

  • Short study duration, if more time is needed for an outcome to occur

  • Study design choices, including the selected endpoints and analysis plan

  • Random error

  • Risk of bias

  • Confounding, especially when important factors are not adequately controlled

  • The chosen significance threshold and testing approach, such as whether a test is one-sided or two-sided

These factors can also affect how well study findings apply to a broader population. Inferential statistics aim to draw conclusions about a population from sample data, but those conclusions depend on the quality of the design, the data, and the assumptions behind the analysis.

Practical approach to interpreting a reported result

  1. Identify the outcome and the effect measure: for example, a mean difference, odds ratio, or hazard ratio.

  2. Find the point estimate and determine which direction favors which group.

  3. Identify the null value: 0 for differences and 1 for ratios.

  4. Check whether the confidence interval includes that null value.

  5. Assess the interval’s width to judge precision and the range of effects compatible with the data.

  6. Consider whether plausible effects are clinically meaningful, not merely statistically significant.

  7. Interpret the result alongside the study design, sample size, possible bias, confounding, and other relevant endpoints.

A complete interpretation combines the point estimate, confidence interval, statistical test, clinical context, and study quality; none of these alone provides the full picture.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent