Confidence Intervals in Results Sections
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
Yes, you should pair every estimate in a results section with its confidence interval. This practice is a core recommendation of modern statistical reporting, as it conveys the precision of an estimate and allows readers to assess the practical significance of your findings. The following article explains why this is essential, how to construct and interpret confidence intervals, and how to present them effectively.
Formula
The confidence interval for a population mean, when the population standard deviation is unknown, is calculated as:
CI = m ± t * (s / √n)
Where:
- m = sample mean (the point estimate)
- t = critical value from the t-distribution with n−1 degrees of freedom (for a 95% confidence level, t is approximately 2.0 for large samples, but for small samples it is larger)
- s = sample standard deviation (a measure of spread in the sample)
- n = sample size
The margin of error is the product t * (s / √n). The interval is [m − margin, m + margin].
Worked Example
Using the default values from the calculator (n=30, m=100, s=15, confidence level=95%):
- Compute the standard error: s / √n = 15 / √30 ≈ 15 / 5.477 ≈ 2.7386
- Find the critical t-value for 29 degrees of freedom at 95% confidence: approximately 2.045 (from t-tables)
- Margin of error = t * standard error = 2.045 * 2.7386 ≈ 5.60
- Lower bound = 100 − 5.60 = 94.40
- Upper bound = 100 + 5.60 = 105.60
The 95% confidence interval is approximately [94.40, 105.60]. The calculator uses the normal approximation (1.96) for simplicity, giving a slightly narrower interval (94.62 to 105.38), but the principle is the same.
Why Confidence Intervals Are Essential
A point estimate alone, such as a mean or a regression coefficient, gives no indication of how reliable that estimate is. Two studies might both report a mean of 100, but one could have a confidence interval from 90 to 110, while the other has an interval from 99 to 101. The first suggests substantial uncertainty; the second suggests high precision. Without intervals, readers cannot judge the stability of the results, and they may overinterpret differences that are not statistically meaningful.
Confidence intervals also allow readers to see the range of plausible values for the true population parameter. This is more informative than a simple p-value, which only tells you whether a result is unlikely under a null hypothesis. An interval can show that an effect is statistically significant (the interval does not include zero) but also that the effect is too small to be practically important (the interval is narrow around a tiny value).
How to Present Confidence Intervals
In a results section, you should report the point estimate and its confidence interval together, usually in parentheses or in a table. For example:
“The mean weight loss was 3.2 kg (95% CI: 2.1 to 4.3 kg).”
When there are multiple estimates, a table with columns for the estimate and the interval is clear and efficient. The interval should be reported to the same number of decimal places as the estimate, and the confidence level (usually 95%) should be stated once in the text or table caption.
For regression coefficients, odds ratios, or hazard ratios, the same rule applies. For example: “The odds ratio was 1.45 (95% CI: 1.10 to 1.90).” If the interval is very wide, it signals instability, and you should acknowledge that in the discussion.
Common Mistakes and Misconceptions
One common mistake is to interpret a 95% confidence interval as “there is a 95% probability that the true value lies within this interval.” This is incorrect in the frequentist framework. The correct interpretation is that if you repeated the study many times and computed a 95% confidence interval each time, 95% of those intervals would contain the true value. For a given interval, the true value is either inside or outside; you just don’t know which.
Another mistake is to use confidence intervals interchangeably with prediction intervals. A confidence interval describes uncertainty in a population parameter, while a prediction interval describes uncertainty in a single future observation. Prediction intervals are always wider.
Also, be careful with the confidence level. A 99% interval is wider than a 95% interval, reflecting greater certainty. If you report a 90% interval, it is narrower. Always specify the level you used.
When Confidence Intervals Are Not Enough
Confidence intervals are not a substitute for careful study design. They do not correct for bias, confounding, or measurement error. If your sample is not representative, your interval may be precise but still wrong. Also, if you are making many comparisons, the overall error rate increases. In such cases, you may need to adjust the confidence level (e.g., using Bonferroni correction) or present intervals that are adjusted for multiple testing.
For non-parametric data or heavily skewed distributions, the normal-based interval may be inappropriate. In those cases, you might use bootstrap methods to construct intervals that do not rely on normality assumptions.
Alternatives to Confidence Intervals
Some researchers report standard errors instead of confidence intervals. A standard error is a measure of precision, but it does not directly give a range of plausible values. Confidence intervals are generally preferred because they are easier to interpret. Bayesian credible intervals are an alternative, but they require specifying a prior distribution and have a different interpretation (a 95% credible interval means there is a 95% probability the true value lies within it, given the data and prior).
For visual presentation, forest plots are an excellent way to show multiple confidence intervals at once. They are common in meta-analyses and allow readers to compare precision across studies.
Frequently Asked Questions
What is the difference between a confidence interval and a margin of error?
The margin of error is half the width of the confidence interval. For example, if the interval is [100, 110], the margin of error is 5. The margin of error is often reported in polls as “±5 percentage points.”
Can a confidence interval include zero and still be meaningful?
Yes. If the interval includes zero, it means the effect is not statistically significant at the chosen level, but it does not prove that there is no effect. The interval shows the range of plausible values, which may include both positive and negative effects.
Should I use a 95% or 99% confidence interval?
It depends on your field and the consequences of being wrong. 95% is the most common default, but if you need higher confidence (e.g., in medical trials), you might choose 99%. Just be aware that a higher confidence level produces a wider interval, which may be less informative.
How do I report confidence intervals for proportions?
For a proportion, the interval is typically computed using the standard error of the proportion: sqrt(p(1−p)/n). For small samples or extreme proportions, use the Wilson score interval or the exact binomial method, which are more accurate.
What if my confidence interval is very wide?
A wide interval indicates low precision, often due to a small sample size or high variability. You should report it honestly and discuss the implications for the strength of your conclusions. Increasing the sample size is the most direct way to narrow the interval.
Related
Formula used
in n | Sample size | - | 30 | 2 in m | Sample mean | - | 100 | 0 in s | Sample SD | - | 15 | 0 in cl | Confidence level | % | 95 | 50 out ci | Margin of error | - | (s / sqrt(n)) * (cl == 95 ? 1.96 : cl == 99 ? 2.576 : 1.645) | 2 out lo | Lower bound | - | m - ci | 2 out hi | Upper bound | - | m + ci | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.