VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

Why Mathematics? | Confidence Intervals for Differences Between Means

Why is mathematics important when two averages differ? A confidence interval for the difference between means combines the observed gap with its sampling uncertainty. It shows a range of differences compatible with a stated procedure and model.

The interval is more informative than a bare yes-or-no significance label because it preserves direction, unit, magnitude and precision.

Did you know? An interval can exclude zero yet still include effects too small to matter in practice.

Full chapter index

Chapters 1–4 · Understand the question
  1. The comparison question
  2. The NIST Welch interval
  3. A worked example
  4. Build the interval
Chapters 5–9 · Reproduce the example
  1. Interpret the direction
  2. What zero means
  3. Practical importance
  4. Confidence level
  5. Paired observations
Chapters 10–15 · Check assumptions
  1. Independent observations
  2. Equal-variance alternative
  3. Sample size and width
  4. Variability and width
  5. Outliers and skew
  6. Multiple comparisons
Chapters 16–20 · Explore applications
  1. Bias and confounding
  2. Units and rounding
  3. Spreadsheet workflow
  4. Coding workflow
  5. Applications and careers
Chapters 21–25 · Study and verify
  1. Connection to recent mathematics articles
  2. Guidance for students and parents
  3. Practice questions
  4. Frequently asked questions
  5. Useful next reading

CHAPTER 1 OF 25 · Understand the question

1. The comparison question

Back to contents

The target is usually μ1−μ2, the difference between two population means. The point estimate is x-bar1−x-bar2. Its uncertainty depends on sample sizes, within-group spreads and whether observations are independent or paired.

Contents · Next chapter

CHAPTER 2 OF 25 · Understand the question

2. The NIST Welch interval

Back to contents

NIST gives an unequal-variance interval as the observed difference plus or minus t times sqrt(s1²/n1+s2²/n2), with Welch–Satterthwaite degrees of freedom. Read the NIST reference.

Contents · Previous chapter · Next chapter

CHAPTER 3 OF 25 · Understand the question

3. A worked example

Back to contents

Group A has mean 50, s=10, n=25. Group B has mean 44, s=8, n=16. The difference is 6. The standard error is sqrt(100/25+64/16)=sqrt(8)=2.828.

GroupMeannSD
A502510
B44168
Difference-of-means inputs.

Contents · Previous chapter · Next chapter

CHAPTER 4 OF 25 · Understand the question

4. Build the interval

Back to contents

Welch effective df is about 37.96. A two-sided 95% t multiplier is about 2.024, so the margin is roughly 5.72. The interval is approximately 0.28 to 11.72 units.

DifferenceSEInterval
62.8280.28 to 11.72
Approximate 95% interval.

Contents · Previous chapter · Next chapter

CHAPTER 5 OF 25 · Reproduce the example

5. Interpret the direction

Back to contents

Because the interval is for A minus B, positive values favour higher A outcomes. Reverse the order and both endpoints change sign and order. State whether higher or lower is desirable.

Contents · Previous chapter · Next chapter

CHAPTER 6 OF 25 · Reproduce the example

6. What zero means

Back to contents

If zero lies inside the interval, the procedure does not resolve a non-zero mean difference at that confidence level. It does not prove equality. If zero is outside, the data support a non-zero difference under the assumptions.

Contents · Previous chapter · Next chapter

CHAPTER 7 OF 25 · Reproduce the example

7. Practical importance

Back to contents

Before seeing results, define a smallest difference that matters. An interval entirely above zero can still overlap values that are operationally trivial.

Contents · Previous chapter · Next chapter

CHAPTER 8 OF 25 · Reproduce the example

8. Confidence level

Back to contents

A 99% interval is wider than a 95% interval using the same data because it aims for higher repeated-sampling coverage. A 90% interval is narrower. Choose the level before interpreting results.

Contents · Previous chapter · Next chapter

CHAPTER 9 OF 25 · Reproduce the example

9. Paired observations

Back to contents

When the same people or matched units are measured twice, analyse within-pair differences. NIST distinguishes paired and unpaired intervals. See NIST process-comparison guidance.

Contents · Previous chapter · Next chapter

CHAPTER 10 OF 25 · Check assumptions

10. Independent observations

Back to contents

The two-sample Welch formula assumes independent groups. Students from the same class, repeated sensor readings or siblings may be correlated and need a design-aware model.

Contents · Previous chapter · Next chapter

CHAPTER 11 OF 25 · Check assumptions

11. Equal-variance alternative

Back to contents

If a common variance is defensible, a pooled standard deviation and n1+n2−2 degrees of freedom can be used. The model choice should follow evidence and design, not whichever interval is shorter.

Contents · Previous chapter · Next chapter

CHAPTER 12 OF 25 · Check assumptions

12. Sample size and width

Back to contents

Larger sample sizes reduce the standard-error terms, generally narrowing the interval. The improvement follows square-root relationships, so doubling sample size does not halve width.

Contents · Previous chapter · Next chapter

CHAPTER 13 OF 25 · Check assumptions

13. Variability and width

Back to contents

Larger within-group standard deviations widen the interval. Improving measurement consistency can increase precision, but only if it preserves validity.

Contents · Previous chapter · Next chapter

CHAPTER 14 OF 25 · Check assumptions

14. Outliers and skew

Back to contents

Means and standard deviations are sensitive to extremes. Small samples from skewed or heavy-tailed distributions may make the t interval unreliable. Plot both groups and verify records.

Contents · Previous chapter · Next chapter

CHAPTER 15 OF 25 · Check assumptions

15. Multiple comparisons

Back to contents

Constructing many intervals and highlighting only those excluding zero raises false-positive risk. Pre-specify comparisons or use a multiplicity strategy suited to the study.

Contents · Previous chapter · Next chapter

CHAPTER 16 OF 25 · Explore applications

16. Bias and confounding

Back to contents

A narrow interval can be centred on a biased difference. Randomisation, representative sampling, consistent measurement and adjustment plans support validity; arithmetic alone does not.

Contents · Previous chapter · Next chapter

CHAPTER 17 OF 25 · Explore applications

17. Units and rounding

Back to contents

Keep the outcome unit throughout. Carry adequate precision through the standard error and t multiplier, then round endpoints consistently with measurement resolution.

Contents · Previous chapter · Next chapter

CHAPTER 18 OF 25 · Explore applications

18. Spreadsheet workflow

Back to contents

Record means, standard deviations and sample sizes; compute the difference, Welch standard error, effective df, t critical value and endpoints. Label group order prominently.

Contents · Previous chapter · Next chapter

CHAPTER 19 OF 25 · Explore applications

19. Coding workflow

Back to contents

Use a tested routine and return method, alternative, confidence level, group order, estimate, standard error, df and endpoints. Test against the worked example.

Contents · Previous chapter · Next chapter

CHAPTER 20 OF 25 · Explore applications

20. Applications and careers

Back to contents

Difference intervals appear in experiments, manufacturing comparisons, education evaluations, clinical research and product analytics. They turn uncertainty into an interpretable range for decisions.

Contents · Previous chapter · Next chapter

CHAPTER 21 OF 25 · Study and verify

21. Connection to recent mathematics articles

Back to contents

The standard-error guide explains estimator precision. The Welch–Satterthwaite guide supplies the unequal-variance degrees of freedom.

Contents · Previous chapter · Next chapter

CHAPTER 22 OF 25 · Study and verify

22. Guidance for students and parents

Back to contents

Students should state group order, calculate the point difference and standard error, then interpret endpoints in the original unit. Parents can ask whether the interval includes differences that matter.

Contents · Previous chapter · Next chapter

CHAPTER 23 OF 25 · Study and verify

23. Practice questions

Back to contents

  • Recalculate the example at 90% confidence.
  • Reverse A and B and transform the interval.
  • Explain why a paired study uses differences within pairs.

Contents · Previous chapter · Next chapter

CHAPTER 24 OF 25 · Study and verify

24. Frequently asked questions

Back to contents

### Is the true difference 95% likely to be in this one interval? The frequentist 95% refers to long-run coverage of the procedure.

### Does excluding zero prove causation? No. Causation depends on design.

### Is narrower always better? Only when validity and the target remain sound.

Contents · Previous chapter · Next chapter

CHAPTER 25 OF 25 · Study and verify

25. Useful next reading

Back to contents

Continue at the Mathematics Learning Hub and compare paired, pooled and Welch intervals on simulated data.

Contents · Previous chapter · Mathematics Learning Hub

Extended practice laboratory

Practice case 1: Name group order

Setup: Use the article’s difference-between-means interval example and change one declared input for case 1. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 2: Calculate mean difference

Setup: Use the article’s difference-between-means interval example and change one declared input for case 2. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 3: List group spreads

Setup: Use the article’s difference-between-means interval example and change one declared input for case 3. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 4: List group sizes

Setup: Use the article’s difference-between-means interval example and change one declared input for case 4. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 5: Calculate variance contributions

Setup: Use the article’s difference-between-means interval example and change one declared input for case 5. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 6: Add to standard error

Setup: Use the article’s difference-between-means interval example and change one declared input for case 6. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 7: Calculate Welch df

Setup: Use the article’s difference-between-means interval example and change one declared input for case 7. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 8: Choose confidence level

Setup: Use the article’s difference-between-means interval example and change one declared input for case 8. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 9: Find t multiplier

Setup: Use the article’s difference-between-means interval example and change one declared input for case 9. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 10: Calculate margin

Setup: Use the article’s difference-between-means interval example and change one declared input for case 10. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 11: Build lower endpoint

Setup: Use the article’s difference-between-means interval example and change one declared input for case 11. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 12: Build upper endpoint

Setup: Use the article’s difference-between-means interval example and change one declared input for case 12. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 13: Reverse group order

Setup: Use the article’s difference-between-means interval example and change one declared input for case 13. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 14: Compare pooled method

Setup: Use the article’s difference-between-means interval example and change one declared input for case 14. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 15: Use paired differences

Setup: Use the article’s difference-between-means interval example and change one declared input for case 15. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 16: Define practical threshold

Setup: Use the article’s difference-between-means interval example and change one declared input for case 16. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 17: Increase sample size

Setup: Use the article’s difference-between-means interval example and change one declared input for case 17. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 18: Increase variability

Setup: Use the article’s difference-between-means interval example and change one declared input for case 18. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 19: Inspect outliers

Setup: Use the article’s difference-between-means interval example and change one declared input for case 19. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 20: Check independence

Setup: Use the article’s difference-between-means interval example and change one declared input for case 20. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 21: Audit multiple comparisons

Setup: Use the article’s difference-between-means interval example and change one declared input for case 21. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 22: Separate bias and precision

Setup: Use the article’s difference-between-means interval example and change one declared input for case 22. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 23: Preserve outcome units

Setup: Use the article’s difference-between-means interval example and change one declared input for case 23. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.

Practice case 24: Write an interval conclusion

Setup: Use the article’s difference-between-means interval example and change one declared input for case 24. Task: Recalculate from raw values, preserve units and state which mathematical or design condition changed.

Check: Check the relevant invariant, separate the number from its claim, and name the next diagnostic or source of evidence. Rebuild the relevant counts before interpreting the coefficient, preserve the stated design, and write one sentence separating the numerical result from the claim it can support. Then vary one defensible assumption, calculate again, and explain whether the conclusion changes because of new data, a new reference model, or a new decision purpose. Finish by naming the unit, tolerance, and evidence needed for transfer. Record one graph or table that would expose failure hidden by the summary.