1. The question that trips people up
Imagine six different fictional test objects with six different initial measuring times. The SAME object is checked twice, once at the first checkpoint and again at the second. Each pair uses the same unit, seconds. We want to know whether the population MEAN within-object change is different from zero. This is a pretend introductory dataset, NOT measured student performance, real industrial quality, a medical trial or an observed intervention.
Two groups of numbers can contain the same average before and after, yet the pair-to-pair changes might be consistent or wildly different. A student who ignores WHICH after value belongs to WHICH before value can erase the evidence or manufacture nonexistent pairs.
The before time for object IDs A–F is [10,20,30,40,50,60] seconds. In one alternate card the after readings are [10,21,32,42,53,64]. In another they are [8,20,32,42,54,66]. These are TWO invented possible datasets; neither represents actual repeated observations magically transforming after collection. Their mean within-pair change is 2 seconds in both. First ask what could differ before computing the test.
2. Very short prerequisite repair
A pair means we can connect an object's first measurement to that SAME object's second measurement using a legitimate matching ID. If before=A:10 seconds and after=A:12 seconds, then that object's change is d_A = 12−10 = +2 seconds. If after=A:8 seconds, then d_A=8−10=−2 seconds. Positive means increased time under our declared AFTER minus BEFORE rule; negative means decreased time. Do not silently reverse the subtraction for selected rows.
A mean is the sum divided by the number of values. With three differences [1,2,3] seconds, the mean change is (1+2+3)/3 =2 seconds. The individual changes, not two independent sets of times, are the data to summarize for a paired test.
Sample standard deviation s_d of the differences measures how far the individual changes spread around their mean. Compute each (d_i−dbar), square it (a negative square is positive), add all squared deviations, divide by n−1 for the usual sample variance, then square root. For small introductory samples, the differences should be reasonably compatible with a normal population distribution and without severe outliers; neither five nor six records proves those conditions by itself.
Square roots and sample size: sqrt(4)=2 because 2×2=4; sqrt(9)=3. sqrt(5)≈2.236, sqrt(6)≈2.449. For a paired t test the number n counts pairs / distinct independent objects, NOT the total number of recorded time values. Six objects with two readings each have n=6 paired differences, not n=12 independent individuals.
The standard error of the MEAN difference, SE_d=s_d/sqrt(n), is in seconds. The standardized t ratio is dbar/SE_d for null mean change zero; t has no time unit. The df is n−1. Distinguish "individual changes vary by s_d seconds" from "an average across n independently sampled pairs has uncertainty scale SE_d seconds."
If differences are all exactly zero, both their mean and standard deviation are zero: a t statistic cannot be obtained by dividing 0/0. If differences have zero sample spread but a NONZERO constant mean, the same t formula also has zero denominator. The current Aha and transfers deliberately exclude zero-s_d cases. In a real dataset, flag zero-spread and seek an appropriate method or more data rather than invent an infinite valid t or automatic rejection.
3. Method selection is a DATA DESIGN question, not a menu preference
Use a paired-samples mean t procedure only when ALL of these conditions are defensibly met:
- One real BEFORE-to-AFTER link per distinct sampled object (or otherwise legitimate matched units), with a consistent difference direction.
- Pairs are sampled independently of other pairs, or the dependence structure is otherwise modelled appropriately; repeated multiple measurements from the same unit may violate this.
- The outcome is quantitative and differences are meaningfully measured in the same units; at small n, a plausible approximately normal difference population, without destructive outliers, is assumed.
- A nonzero, credible s_d is estimable from the actual matched differences; missing pairing IDs cannot be repaired by sorting or arbitrary matching.
- The hypotheses, direction and alpha were set before looking at the outcomes. Here H0: population mean difference μ_d=0; H1: μ_d≠0, two-sided; alpha=0.05.
A simple pairing example: six objects before and after yield SIX change values. They are NOT independent samples of six different before objects and six unrelated after objects. Do not use a Welch two-independent-means formula on these same-object measurements. Conversely, if before and after contain different independent objects, do not invent pairing just because row counts are equal.
A t rejection means the population mean paired difference is statistically inconsistent with zero under these model assumptions at the chosen threshold; it is NOT proof that a real process, lesson, intervention or person caused any change. Failure to reject means insufficient evidence to reject H0; it does NOT prove exact equality. The sample mean change in seconds is not a p-value or a declaration that the change matters practically.
4. Fully worked six-object example, from IDs to one t ratio
Use BEFORE [10,20,30,40,50,60] seconds, and one fictional AFTER sample [10,21,32,42,53,64] seconds. Match by IDs A, B, C, D, E, F, not by relative height:
| Object ID | Before (s) | After (s) | After minus before d_i (s) |
|---|---|---|---|
| A | 10 | 10 | 0 |
| B | 20 | 21 | +1 |
| C | 30 | 32 | +2 |
| D | 40 | 42 | +2 |
| E | 50 | 53 | +3 |
| F | 60 | 64 | +4 |
Step 1: mean difference. Sum the six d entries: 0+1+2+2+3+4=12 seconds; divide by n=6, so dbar=2 seconds per object on average. This is the observed sample average change, not proof of a population change.
Step 2: spread of differences. Subtract mean2 from each d: [−2,−1,0,0,1,2] seconds. Square: [4,1,0,0,1,4] seconds²; sum=10 seconds². Sample variance s_d²=10/(6−1)=2 seconds². Hence s_d=sqrt(2)≈1.414214 seconds.
Step 3: uncertainty of the mean difference. SE_d=sqrt(2)/sqrt(6)=sqrt(1/3)≈0.577350 seconds. Both square roots are positive; SE is an uncertainty scale, NOT a second time measurement.
Step 4: statistic and df. t=(dbar−0)/SE_d=2/sqrt(1/3)=2sqrt(3)≈3.464102, with df=6−1=5. The seconds cancel, leaving a dimensionless statistic.
Step 5: neutral reference and decision. This two-sided alpha=0.05 Student t test uses the positive df5 critical value ≈2.570582, a supplied reference, NOT an answer students must memorise. |t|≈3.464102 is larger, so REJECT H0 in the fictional model. Do not infer guaranteed practical importance, proven causality or a real-world machine result.
Step 6: one sentence in context. Under the stated independent-pairs and approximate-normal-differences assumptions, this synthetic six-pair sample provides evidence that its hypothetical population mean AFTER-minus-BEFORE change is not zero seconds. The sample points toward an increase, but the chosen two-sided test alone does not establish a cause or an operational recommendation.
One neutral two-sided t reference table, permanently visible during teaching AND independent transfer:
| Paired sample count n | Degrees of freedom df=n−1 | Positive t critical for two-sided alpha0.05, approximate |
|---|---|---|
| 5 | 4 | 2.776445 |
| 6 | 5 | 2.570582 |
Use the row corresponding to the number of matched objects, not total readings. These are Student t 97.5th-percentile reference values. They are not the computed statistic, the truth of H0, or worked answers for any particular unseen study. If a statistic is close to a rounded cutoff, use a vetted high-precision quantile calculation; never invent a decision by premature rounding.
5. What if the average is identical but changes are much less consistent?
Keep BEFORE [10,20,30,40,50,60] and set the AFTER time to [8,20,32,42,54,66] for the same labelled objects, as a SECOND possible synthetic dataset. The paired differences are [−2,0,2,2,4,6] seconds.
Mean difference: (−2+0+2+2+4+6)/6=12/6=2 seconds again. One object became faster; others got slower or stayed the same, but the average is still +2.
Spread: deviations from mean2 are [−4,−2,0,0,2,4]; squares [16,4,0,0,4,16]; sum40; s_d²=40/5=8 seconds², so s_d=sqrt8≈2.828427 seconds. Standard error=sqrt8/sqrt6=sqrt(4/3)≈1.154701 seconds.
t: 2/1.154701≈1.732051, with df5 and the SAME neutral 2.570582 reference. Now |t| is smaller than the cutoff, so we FAIL TO REJECT H0 under this synthetic model.
The insight: Both cards have the SAME average paired change of +2 seconds and SAME six distinct objects, but the variability of the changes is different. A change shared consistently across individual pairs can give more precise evidence than the same sample mean arising from changes that vary widely. These are alternate hypothetical samples, not a real study where software can make inconvenient observations disappear. Neither card alone establishes a causal intervention effect.
6. Guided try for learners who need another worked route
Use a new fictional matched set with BEFORE [5,10,15,20,25,30] seconds and changes [1,2,3,1,2,3] seconds, meaning AFTER [6,12,18,21,27,33] seconds. The following is GUIDED practice, not a held-out diagnosis.
G1. Verify every pair; sum differences=1+2+3+1+2+3=12 seconds, so dbar=2 seconds. Hint: do not average all 12 original readings as though they were 12 independent units.
G2. Deviations from2 are [−1,0,1,−1,0,1]; squares total4; s_d²=4/5=0.8 seconds²; s_d≈0.894427 seconds. If negative deviations seem alarming, show (-1)×(-1)=+1.
G3. SE_d=sqrt(.8)/sqrt6≈0.365148 seconds. t=2/SE_d≈5.477226, df5. Use the free table's df5 critical2.570582: reject at the stated level under the assumptions. The number of objects is still 6 even though there are 12 time readings.
G4. If the same after readings are given without trustworthy matching IDs, stop: a legitimate paired calculation is not available from a guessed ordering. The total mean AFTER-minus-BEFORE can be compared as an arithmetic difference of marginal means, but the sample standard deviation of matched changes is unknown without the links.
Targeted recovery: Missing positive/negative sign -> "Which time was first? Write AFTER minus BEFORE for every row"; used 12 for n -> "Count distinct object IDs"; divided squared deviations by n -> "For ordinary sample s_d², denominator is n−1"; treated sd as SE -> "An average's scale divides sd by sqrt(number of independent pairs)"; t without known pairing -> "Data design is missing, not a calculation error"; read t critical as p-value -> "A cutoff and a probability are different things"; assumed fail-to-reject proves zero -> "It establishes no exact equality"; claimed causation -> "Where is the actual controlled design?".
The spread of paired differences changes the evidence
Think first: If two invented before/after datasets have the same average improvement but different spread, should their evidence against zero change be equally strong?
Worked comparison: For six matched fictional objects with mean paired change 2 seconds, the k=1 spread scenario gives t about 3.464, while k=2 gives t about 1.732. Under a two-sided 5% t reference with five degrees of freedom, their conclusions differ.
Why it works: Pair each after result with the same object's before result. A paired t test operates on within-pair differences; identical mean difference need not imply identical uncertainty.
Try in your notes: Write why six matching IDs make a paired analysis rather than treating the 12 measurements as independent.
8. NEW independent transfer: five pairs, a new spread, and a missing-link case
Independent exercise - work on paper or in your notes.
This final task uses new n=5, new before/after data, and pairs that are NOT part of the n6 Aha; the learner must build the actual differences and draw a separate method decision. Both small fictional paired samples explicitly assume independent object pairs and a reasonably normal distribution of individual differences as a hypothetical modelling premise, not as a conclusion established by the five measurements. No clinical, education-outcome, engineering safety or causal inference.
Study A, five MATCHED distinct fictional devices, all seconds:
| Device ID | Before (s) | After (s) |
|---|---|---|
| J | 11 | 14 |
| K | 20 | 24 |
| L | 14 | 16 |
| M | 24 | 26 |
| N | 18 | 22 |
Study B, a DIFFERENT five-device paired fictional sample, all seconds:
| Device ID | Before (s) | After (s) |
|---|---|---|
| R | 8 | 10 |
| S | 12 | 12 |
| T | 16 | 22 |
| U | 20 | 20 |
| V | 24 | 28 |
Study C, proposed method: A reviewer provides BEFORE measurements for objects W1..W5: [10,20,30,40,50] seconds. The AFTER measurements are [12,22,28,41,51] seconds, but their object identifiers were not recorded. The reviewer proposes sorting the two lists separately, matching entries by their sorted positions, and then computing a paired t statistic. Evaluate this proposal in part E.
A. Write in words or symbols the two-sided H0 and H1 for the population mean matched AFTER-minus-BEFORE difference in Studies A/B; explain why there are n=5 pairs rather than n=10 independent units. State the essential design/normal-differences assumptions. B. For Study A, calculate each labelled d, dbar, sum of squared deviations, s_d and SE_d with sensible units. Do not skip the sign convention. C. Calculate Study A t, df and compare its magnitude to the freely visible df4 t reference for two-sided alpha0.05. Write REJECT or FAIL TO REJECT, with a qualified fictional-population conclusion. D. Do the same for Study B: labelled differences, dbar, s_d, SE_d, t, df and conclusion. Explain why looking only at mean differences would miss important uncertainty. E. For Study C, identify the numerical summaries that can be calculated from the supplied lists. Evaluate whether sorting the measurements separately establishes the matched differences needed for the reviewer's proposed paired analysis. Explain your conclusion and identify what additional information, if any, would allow the method to be assessed. F. In UNSCORED original words, explain why (i) paired data do not justify treating two measurements from each person/object as independent groups, (ii) a failed two-sided test does not prove zero change, and (iii) a fictional significant difference would still not establish a cause or an actionable real-world benefit.