Quick Answer
TL;DR
- Paired data is data where each before value has one matched after value, or each subject has two matched measurements.
- The difference score is the within-pair subtraction, such as after minus before.
- The standard deviation of differences is the sample SD of those difference scores.
- Use sd / sqrt(n) as the standard error of the mean difference.
- Use an independent-samples method only when the two samples are not naturally matched.
Author note
When Paired Data Changes the Question
A student or analyst often reaches this problem after collecting two columns: the same people measured before and after training, the same parts measured by two instruments, or matched sites measured under two conditions. The question is not how spread out the before column is or how spread out the after column is. The question is how consistently the paired change behaves.
As a senior statistician would frame it: reduce the dataset to one column of changes, then analyze that column. NIST's paired-observation guidance uses the same core idea: calculate each pair's difference, then calculate the mean and standard deviation of those differences.
| Data situation | Correct spread measure | Why |
|---|---|---|
| Same student before and after a review session | SD of after-minus-before scores | Each student acts as their own baseline |
| Two independent classrooms | Separate SDs or pooled SD, depending on assumptions | No one-to-one matching exists |
| Same specimen measured by two lab instruments | SD of instrument A-minus-B differences | The specimen-level baseline cancels inside each pair |
| Matched case-control design | SD of matched differences, if the outcome is numeric | The matching variable is part of the design |
If you are combining independent variables rather than matched pairs, use Combining Standard Deviations. If you are comparing two independent groups under an equal-variance assumption, use Pooled Standard Deviation for a Two-Sample t-Test or the pooled standard deviation calculator.
Formula for the SD of Differences
For n matched pairs, define each difference as d_i = after_i - before_i. You may reverse the subtraction if your field convention uses before minus after, but keep the direction consistent throughout the report.
Mean paired difference
Sample standard deviation of paired differences
Standard error and paired t statistic
The standard error is the estimated sampling uncertainty of the mean difference. It is not the same as the standard deviation of differences: sd describes person-to-person variation in changes, while SE describes how precisely the sample estimates the average change. For the broader distinction, see Standard Error vs Standard Deviation.
Do not subtract standard deviations
Worked Before-After Example
Here is a concrete dataset from our article QA worksheet. Eight students completed a 20-minute review exercise between two short quizzes. The analyst wants to know whether the typical score changed, so the objective is to compute the standard deviation of after-minus-before differences and use it in a paired t calculation.
| Student | Before | After | Difference: after - before |
|---|---|---|---|
| 1 | 68 | 71 | 3 |
| 2 | 74 | 77 | 3 |
| 3 | 71 | 70 | -1 |
| 4 | 80 | 83 | 3 |
| 5 | 77 | 79 | 2 |
| 6 | 73 | 75 | 2 |
| 7 | 69 | 72 | 3 |
| 8 | 76 | 78 | 2 |
Calculate the differences
Find the mean difference
Calculate the sample SD of differences
Calculate the standard error
Calculate the paired t statistic
For a 95% confidence interval, using t about 2.365 for 7 degrees of freedom gives 2.125 plus or minus 2.365 0.479. The interval is about 0.99 to 3.26 points. This is a useful decision criterion: the interval stays above zero, so the observed improvement is not just a tiny arithmetic artifact in this sample.
You can verify the one-column difference calculation with the descriptive statistics calculator, then use the mean difference, SD of differences, and n in a paired t workflow. If you need a full hypothesis-test interface, use the t-test calculator.
Decision Rules and Common Mistakes
The key result is simple: use paired analysis when the pairing is part of the design and the pair-level difference is meaningful. A paired t-test is essentially a one-sample t-test on the difference column.
| Check | Use paired differences when | Do something else when |
|---|---|---|
| Same unit appears twice? | The same person, specimen, store, or part has both measurements | The two columns come from unrelated units |
| Difference has a clear unit? | After-minus-before points, instrument A-minus-B grams, or similar | The two values are ratios, ranks, or categories that need another method |
| Outliers checked? | One large change is real and should affect the analysis | One difference is a data-entry error or a process exception |
| Approximate normality of differences? | The difference scores are roughly symmetric or n is large enough for t methods to be stable | The differences are severely skewed and n is small |
- Create the difference column before calculating any test statistic.
- Use n as the number of complete pairs, not the number of cells across both columns.
- Drop or investigate incomplete pairs before analysis; do not silently pair the wrong rows.
- Inspect the difference column for outliers because one unusual change can dominate sd.
- Report the subtraction direction so positive and negative changes are interpretable.
- For practical magnitude, pair the result with Cohen's d and Effect Size Calculations.
Concrete substitution for the weakest explanation
How to Report It
A useful report names the design, the subtraction direction, the mean difference, the SD of differences, the standard error, degrees of freedom, and the practical decision.
Report-ready wording
- Pre-publish check 1:Real worked example with numbers: yes, the article calculates paired differences, dbar, sd, SE, t, df, and a 95% interval from explicit before-after scores.
- Pre-publish check 2:Scannable structure: yes, it uses H2 sections, a TL;DR block, formulas, tables, steps, checklist bullets, and report wording.
- Pre-publish check 3:Depth beyond a surface definition: yes, it separates paired and independent designs, explains why separate SDs are not enough, and gives decision rules for incomplete pairs, outliers, and interpretation.
Further Reading
Sources
References and further authoritative reading used in preparing this article.
- NIST/SEMATECH e-Handbook of Statistical Methods: Analysis of Paired Observations — National Institute of Standards and Technology
- Introductory Statistics 2e: Matched or Paired Samples — OpenStax