Doctors Revision

Confidence Intervals in Health Research

Text size
On this page

Overview

Clinical Medicine Year 2 • Biostatistics

Confidence intervals in health research describe a range of values compatible with a sample estimate under a stated statistical model. They help readers assess how precisely an effect, mean, proportion or rate has been estimated. A single value—such as a 12% prevalence or a 1.4 g/dL mean difference—can look more certain than the data allow. Reporting an interval alongside the point estimate, design and limitations gives a fuller picture of uncertainty. A confidence interval is not a guarantee that the study is unbiased or that a clinical effect is important.

Learning outcomes

By the end, you should be able to define a confidence interval; explain the repeated-sampling meaning of a 95% interval; distinguish precision from validity and clinical importance; interpret intervals around differences and ratios; relate intervals to hypothesis tests; recognise factors that affect interval width; and report estimates responsibly.

1. Point estimate and interval estimate

A point estimate is a single sample-based estimate of a population quantity. Examples include a sample mean, prevalence, risk difference, risk ratio, odds ratio or regression coefficient. An interval estimate gives a lower and upper bound reflecting sampling uncertainty under specified assumptions. The parameter is the true population quantity of interest; the estimate is calculated from the sample.

For instance, a sample may estimate that 30% of eligible clinic attendees missed a scheduled follow-up. The estimate is informative, but a different sample might yield 27% or 33%. A confidence interval describes the range of population values reasonably compatible with the observed data and the method used, not the range of individual patient outcomes.

2. What a 95% confidence interval means

In the frequentist framework, if investigators repeatedly drew samples using the same valid design and constructed intervals in the same way, approximately 95% of those intervals would contain the fixed true population parameter in the long run. For the single interval from one study, it is not correct to say that there is a 95% probability the fixed parameter lies inside that particular interval. The parameter is treated as fixed; the procedure has the stated long-run coverage under its assumptions.

In everyday health reporting, a useful cautious explanation is: “The estimate is 12%, and the 95% confidence interval is 9% to 15%; values in this range are compatible with the data under the model.” That wording does not claim that every value is equally likely, nor that systematic error has been removed.

3. General structure and standard error

Different quantities need appropriate methods. A proportion near 0 or 1, a small sample, sparse events, a skewed outcome, a clustered survey or a complex weighted sample may require a method that accounts for those features. A spreadsheet or software default should not be accepted without checking its assumptions.

4. Worked example: mean difference in haemoglobin

Illustrative data only—not a real clinical result: suppose a study estimates a mean haemoglobin difference between two groups of 1.2 g/dL, with a standard error of 0.4 g/dL. Using an approximate critical value of 2 gives an approximate 95% interval of 1.2 ± (2 × 0.4), or 0.4 to 2.0 g/dL. The point estimate is 1.2 g/dL; the interval shows that the estimate is not exact.

A report could say: “The estimated mean difference was 1.2 g/dL (95% CI 0.4 to 2.0).” This does not establish a treatment effect unless the design and analysis support that interpretation. Investigators should also state which group was subtracted from which, the units, the sample sizes, the method, and any important limitations. Whether a difference matters clinically depends on the context, not only on whether the interval excludes zero.

5. Interpret the null value correctly

Scroll the table sideways on a smaller screen.

Measure Common null value Interpretation when the interval crosses it
MeasureCommon null valueInterpretation when the interval crosses it
Mean difference, risk difference, regression coefficient on an additive scale0The data are compatible with no difference or no additive association under the model.
Risk ratio, rate ratio, odds ratio, hazard ratio1The data are compatible with equal relative risks, rates, odds or hazards under the model.
Correlation coefficient0The data are compatible with no linear or rank association, depending on the coefficient.
Prevalence or event proportionContext-specific; not usually tested against a universal nullInterpret precision and compare with a meaningful benchmark or planned contrast.

For a two-sided test at the 5% level, a 95% confidence interval and hypothesis test are often mathematically related: if the interval for a difference excludes 0, the corresponding test may reject a zero difference, assuming the same model and method. If the interval for a ratio excludes 1, the corresponding test may reject a ratio of 1. This correspondence does not prove the effect is large, important or causal.

6. Width, precision and study design

A narrow interval indicates greater precision under the model, not necessarily greater truth. A very large biased study can give a narrow interval around a systematically wrong estimate. Conversely, a small but carefully conducted pilot may give a wide interval that is still useful for planning the next study.

7. Precision, statistical significance and clinical importance

These are related but different. Precision concerns uncertainty around an estimate. Statistical significance is a decision relative to a chosen test, threshold and model. Clinical or public-health importance concerns whether the magnitude could meaningfully affect health, services, resources or policy.

Suppose two studies estimate a reduction in missed follow-up of 2 percentage points. One has a narrow interval from 1 to 3 points; another has a wide interval from −5 to 9 points. The first is more precise; the second leaves more uncertainty about benefit or harm. Neither decision should rely on the p-value alone. Compare the interval with a prespecified minimum important difference and consider costs, harms and feasibility.

8. Confidence interval versus p-value

A p-value summarises how incompatible the observed data are with a specified null model under its assumptions; it does not measure the probability that the null is true or the probability that the finding is “due to chance.” A confidence interval adds an estimate and a range of plausible values, making direction, magnitude and precision easier to discuss. Both can be useful, but neither captures all forms of uncertainty, confounding, selection bias, publication bias or measurement error.

A large sample can yield a small p-value for an effect too small to matter clinically. A small sample may yield a non-significant result even when the point estimate is important, because the interval is wide. Report estimates with intervals and explain what values remain plausible.

9. Interval for a difference versus a ratio

For differences, the null value is usually zero. For ratios, the null is one. The difference asks how much more or less outcome occurred on the chosen scale; the ratio asks how many times as large one measure is relative to another. These answer different questions and may lead to different impressions. Always specify the scale, comparison direction, reference group, time period and outcome definition.

For example, a risk ratio of 1.5 with a 95% CI of 1.1 to 2.0 is compatible with a relative risk 10% to 100% higher in the exposed group under the model. It does not mean that the absolute risk is 50 percentage points higher, and it does not establish causation. The baseline risk matters for absolute impact.

10. Common interpretation mistakes

11. Reading confidence intervals in health scenarios

Prevalence estimate: A district survey estimates anaemia prevalence at 28% (95% CI 24% to 32%). The interval describes precision for the population and design; it does not mean that 24% to 32% of each facility’s patients have anaemia.

Relative effect: An observational study estimates an odds ratio of 1.4 for delayed antenatal booking among people with long travel times (95% CI 1.0 to 1.9). The interval is close to the null value 1 and includes it if the lower endpoint is exactly 1.0 under the chosen convention. Consider rounding, the study design, confounding and whether the interval contains important effects before making a conclusion.

Service comparison: A 95% CI for mean waiting-time difference is −3 to 7 minutes. This may be compatible with a modest decrease or increase. If a 5-minute change would matter operationally, the interval has not ruled out meaningful differences even if a test is not statistically significant.

12. Reporting checklist

13. Mini case and review questions

A student reports that a new appointment reminder is associated with a risk ratio of 0.80 for a missed visit (95% CI 0.60 to 1.05). The point estimate suggests a 20% lower relative risk, but the interval includes 1. The data remain compatible with a meaningful reduction and with little or no difference. If the study is observational, confounding and selection must also be considered. The result alone does not prove that reminders prevent missed visits.

  1. What does 95% confidence refer to in repeated sampling?
  2. What is the common null value for a mean difference? For a risk ratio?
  3. Can a narrow interval still be biased?
  4. Why may a non-significant result still be inconclusive?
  5. What information should accompany a confidence interval in a report?

Continue learning

Read hypothesis testing in biostatistics, measures of central tendency, and types of health-research design. Practise with SPSS for biostatistics and return to the Clinical Medicine Year 2 curriculum.

Worked confidence intervals for a single mean and proportion

A single sample value—such as a sample mean or sample proportion—is a point estimate of an unknown population parameter, and it varies from sample to sample. A confidence interval (CI) describes uncertainty about a population parameter under a stated method and its assumptions. The introductory t and Wald intervals below have the form point estimate ± (critical value × standard error). Other interval methods, including Wilson intervals for proportions, need not be symmetric around the observed point estimate.

Point estimates, confidence intervals and formula overview

Three main features govern the width of a single-sample confidence interval: with other conditions comparable, a larger effective sample size usually narrows the interval, greater variability tends to widen it, and a higher confidence level (for example, 99% versus 95%) requires wider limits. The sampling design and chosen method also matter.

Scroll the table sideways to compare

Comparing single-sample confidence intervals for a mean and a proportion
FeatureSingle mean (t interval)Single proportion (large-sample Z interval)
Target parameterPopulation mean (μ)Population proportion (P)
Point estimateSample mean (x̄)Sample proportion (p̂ = x/n)
Standard error (SE)s / √n√[p̂(1 − p̂) / n]
Critical valuet critical value with df = n − 1Z critical value (e.g. 1.96 for 95%)
Interval formulax̄ ± t × (s / √n)p̂ ± Z × √[p̂(1 − p̂) / n]
Key conditionsIndependent sample; approximately normal sampling model; no severe small-sample distortionIndependent sample; non-sparse successes and failures; p̂ not near 0 or 1
Workflow: choosing and computing a single-sample confidence interval
  1. Identify the parameter: Decide whether the outcome is a continuous numerical summary (mean) or a binary count out of a total (proportion).
  2. Check the sampling design: Identify whether observations are independent, clustered or repeated, and whether weights or a complex survey design affect estimation. Weighting does not itself necessarily create dependence, but the analysis must reflect the design.
  3. Verify method assumptions: For a mean with unknown population SD, check that the sampling model is reasonably normal without severe small-sample distortion. For a proportion, check whether counts are large enough for a normal approximation or whether a Wilson or exact method is safer.
  4. Calculate SE and critical value: Compute the standard error, determine df = n − 1 for a t interval (or select Z for a large-sample proportion), and find the margin of error.
  5. Report completely: Present the point estimate, confidence limits, units or percentages, confidence level and exact method used.

A single mean: using a t interval

Model assumptions and formula

For the simple mean interval taught here, an unknown population standard deviation is estimated using the sample SD (s), with a Student's t critical value. The procedure is exact for independent random observations from a normal population; use beyond that setting requires a justified approximation and attention to outliers and sampling design. For an independent sample with a suitable approximately normal sampling model and no severe small-sample distortion, the interval for an unknown population mean is sample mean ± t critical value × s/√n. Use n − 1 degrees of freedom (df) when estimating variability with the sample SD.

Worked example: waiting time in a pharmacy sample

In a fictional independent sample of n = 25 patients, the mean waiting time is 30 minutes and the sample SD is 10 minutes. Using a two-sided 95% t interval gives a confidence interval of 25.87 to 34.13 minutes.

Worked steps: 95% confidence interval for mean waiting time
  1. Sample data: n = 25, sample mean = 30 minutes, sample SD (s) = 10 minutes.
  2. Standard error: SE = s/√n = 10/√25 = 10/5 = 2 minutes.
  3. Critical value: For a two-sided 95% interval with df = 25 − 1 = 24 degrees of freedom, t ≈ 2.064.
  4. Margin of error: 2.064 × 2 = 4.128 minutes.
  5. 95% CI: 30 ± 4.128 = 25.87 to 34.13 minutes.

A single proportion: large-sample normal approximation

Formula and sample-count check

When x participants in an independent sample of size n have a specified characteristic, the sample proportion is p̂ = x/n. An introductory two-sided 95% normal-approximation (Wald) interval uses p̂ ± 1.96 × √[p̂(1 − p̂)/n]. Before applying this simple formula, inspect the observed numbers of successes and failures rather than relying on total sample size alone.

Worked example: proportion with a specified characteristic

Suppose 50 of 200 independently sampled participants have the specified characteristic, giving a sample proportion of p̂ = 50/200 = 0.25 (25.0%). Because this sample has 50 observed successes and 150 failures, sparse counts are not the immediate problem, and the approximate 95% confidence interval is 0.190 to 0.310 (19.0% to 31.0%).

Worked steps: 95% confidence interval for a single proportion
  1. Point estimate: p̂ = 50/200 = 0.25, so 1 − p̂ = 0.75.
  2. Standard error: SE = √[(0.25 × 0.75)/200] = √0.0009375 ≈ 0.03062.
  3. Margin of error: 1.96 × 0.03062 ≈ 0.0600.
  4. Approximate 95% CI: 0.25 ± 0.0600 = 0.190 to 0.310, or 19.0% to 31.0%.

Comparison with a Wilson interval

For the same fictional result of 50 successes among 200 participants, the Wilson score 95% interval is approximately 0.1951 to 0.3143 (19.5% to 31.4%). Its limits differ from the Wald interval because the method differs; they are not a rounding error. Report the method used rather than mixing a Wald formula with Wilson limits.

Assumptions, interpretation and reporting cautions

Correct interpretation of a 95% confidence interval

Methodological limits and study design

  • Small samples or extreme proportions: The simple normal-approximation proportion interval can perform poorly with small samples or proportions near zero or one; Wilson or suitable exact methods are often preferable. Always state the method actually used.
  • Complex study designs: Clustering, repeated measurements, weighting and complex surveys may require design-specific estimates and standard errors. Clustering or repeated observations can create dependence; weights can affect uncertainty even when observations are independent.
  • Bias and measurement error: Calculating a confidence interval does not by itself remove selection bias, measurement error or uncontrolled confounding. These simple formulas quantify sampling uncertainty under their model; other sources of uncertainty need separate assessment or explicit modelling.
  • Parameter versus individual spread: The mean confidence interval applies to the population mean, not a range containing 95% of individual waiting times.
Checklist before reporting a confidence interval
  • Confirmed independent observations (or used an appropriate design-adjusted method for clustering, repeated measures or weighting).
  • Checked model assumptions: approximate normality and df = n − 1 for a single-mean t interval; checked the limitations of a Wald proportion interval and considered a Wilson or appropriate exact binomial method. Wilson intervals are often preferable even when observed counts are not sparse.
  • Named the exact statistical method used alongside the point estimate, confidence level (e.g. 95%) and units or percentages.
  • Interpreted the interval as a long-run repeated-sampling procedure for the population parameter, without claiming a 95% probability for one fixed interval or applying a mean CI to individual values.
  • Evaluated potential selection bias, measurement error and uncontrolled confounding separately from interval width.

Further reading for this section

References and further reading

Educational revision content only. Confidence intervals depend on the design, estimator and assumptions used. They do not substitute for clinical judgement, a prespecified analysis plan or appropriate statistical advice.

Further Reading

For deeper study, use authoritative statistics and reporting resources:

1 thought on “Confidence Intervals in Health Research”

  1. Pingback: Drug Information Sources, Pharmacopoeias and Formularies - Doctors Revision

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top