Paired Data: Two measurements on the same subject or matched subjects
Differences (di): di = xi - yi for each pair
Mean Difference (d̄): Average of all paired differences
Standard Deviation of Differences (sd): Variability of paired differences
Matched Pairs Design: Experimental design where subjects are paired based on characteristics
Dependent Samples: Samples where observations are related/correlated
- Calculate differences: di = xi - yi for each pair
- Compute summary statistics: d̄ and sd
- State hypotheses: About mean difference μd
- Calculate test statistic: t = d̄/(sd/√n)
- Make decision: Compare to critical value or p-value
Before: 180, 175, 190, 165, 185, 170, 195, 160, 178, 182
After: 175, 170, 185, 162, 180, 168, 190, 158, 175, 179
Matched pairs t-test: Before - After (positive difference = weight loss)
d = [5, 5, 5, 3, 5, 2, 5, 2, 3, 3]
d̄ = (5+5+5+3+5+2+5+2+3+3)/10 = 38/10 = 3.8 lbs
Deviations: [1.2, 1.2, 1.2, -0.8, 1.2, -1.8, 1.2, -1.8, -0.8, -0.8]
Sum of squared deviations: 1.44 + 1.44 + 1.44 + 0.64 + 1.44 + 3.24 + 1.44 + 3.24 + 0.64 + 0.64 = 15.6
sd = √[15.6/(10-1)] = √1.733 = 1.317
H₀: μd = 0 (no weight loss)
H₁: μd > 0 (weight loss occurred)
t = d̄/(sd/√n) = 3.8/(1.317/√10) = 3.8/0.417 = 9.12
df = n-1 = 9, α = 0.05, right-tailed: t₀.₀₅ = 1.833
Since t = 9.12 > 1.833, reject H₀
There is significant evidence that the weight loss program is effective.
t = 9.12, df = 9, p-value < 0.001
Reject H₀: Program is effective (average weight loss = 3.8 lbs)
• Paired Analysis: Convert to one-sample t-test on differences
• Right-tailed Test: Testing for positive effect (weight loss)
• High t-statistic: Strong evidence against H₀
Before: 70, 75, 80, 65, 85, 72, 78, 68
After: 75, 80, 85, 70, 88, 78, 82, 72
d = [5, 5, 5, 5, 3, 6, 4, 4]
d̄ = (5+5+5+5+3+6+4+4)/8 = 37/8 = 4.625
Deviations: [0.375, 0.375, 0.375, 0.375, -1.625, 1.375, -0.625, -0.625]
Sum of squared deviations: 0.141 + 0.141 + 0.141 + 0.141 + 2.641 + 1.891 + 0.391 + 0.391 = 5.878
sd = √[5.878/7] = √0.8397 = 0.916
H₀: μd ≤ 0 (training doesn't improve scores)
H₁: μd > 0 (training improves scores)
t = 4.625/(0.916/√8) = 4.625/0.324 = 14.28
df = 7, α = 0.01, right-tailed: t₀.₀₁ = 2.998
Since t = 14.28 > 2.998, reject H₀
At α = 0.01, there is significant evidence that training improves memory scores.
t = 14.28, df = 7, p-value < 0.001
Reject H₀: Training significantly improves scores (avg improvement = 4.63 points)
• Small Sample: Use t-distribution
• Conservative Alpha: α = 0.01 requires stronger evidence
• High Power: Large t-statistic indicates strong effect
Before: 140, 145, 150, 135, 142, 148
After: 135, 140, 145, 130, 138, 142
d = [5, 5, 5, 5, 4, 6]
d̄ = (5+5+5+5+4+6)/6 = 30/6 = 5.0 mmHg
Deviations: [0, 0, 0, 0, -1, 1]
Sum of squared deviations: 0 + 0 + 0 + 0 + 1 + 1 = 2
sd = √[2/5] = √0.4 = 0.632
H₀: μd = 0 (no BP change)
H₁: μd > 0 (BP reduction)
t = 5.0/(0.632/√6) = 5.0/0.258 = 19.38
df = 5, α = 0.05, right-tailed: t₀.₀₅ = 2.015
Since t = 19.38 > 2.015, reject H₀
There is significant evidence that medication reduces blood pressure.
t = 19.38, df = 5, p-value < 0.001
Reject H₀: Medication significantly reduces BP (avg reduction = 5.0 mmHg)
• Very Small Sample: df = 5, t-distribution
• Large Effect Size: High t-statistic despite small n
• Medical Context: Significant BP reduction is clinically important
Old Software: 12, 15, 10, 18, 14, 16, 13
New Software: 10, 12, 9, 15, 12, 14, 11
d = [2, 3, 1, 3, 2, 2, 2] (Old - New = time saved)
d̄ = (2+3+1+3+2+2+2)/7 = 15/7 = 2.14 seconds
Deviations: [-0.14, 0.86, -1.14, 0.86, -0.14, -0.14, -0.14]
Sum of squared deviations: 0.02 + 0.74 + 1.30 + 0.74 + 0.02 + 0.02 + 0.02 = 2.86
sd = √[2.86/6] = √0.477 = 0.691
H₀: μd ≤ 0 (new software not faster)
H₁: μd > 0 (new software is faster)
t = 2.14/(0.691/√7) = 2.14/0.261 = 8.20
df = 6, α = 0.05, right-tailed: t₀.₀₅ = 1.943
Since t = 8.20 > 1.943, reject H₀
There is significant evidence that the new software is faster.
t = 8.20, df = 6, p-value < 0.001
Reject H₀: New software is significantly faster (avg improvement = 2.14 seconds)
• Technology Testing: Matched pairs for same programs
• Performance Metrics: Time reduction is beneficial
• Consistent Direction: All differences positive (faster)
Pre-test: 72, 68, 75, 70, 65, 78, 73, 69, 71
Post-test: 78, 72, 79, 75, 70, 82, 77, 74, 75
d = [6, 4, 4, 5, 5, 4, 4, 5, 4] (Post - Pre = improvement)
d̄ = (6+4+4+5+5+4+4+5+4)/9 = 41/9 = 4.56
Deviations: [1.44, -0.56, -0.56, 0.44, 0.44, -0.56, -0.56, 0.44, -0.56]
Sum of squared deviations: 2.07 + 0.31 + 0.31 + 0.19 + 0.19 + 0.31 + 0.31 + 0.19 + 0.31 = 4.22
sd = √[4.22/8] = √0.528 = 0.727
H₀: μd = 0 (no change)
H₁: μd ≠ 0 (change occurred)
t = 4.56/(0.727/√9) = 4.56/0.242 = 18.84
df = 8, α = 0.05, two-tailed: t₀.₀₂₅ = ±2.306
Since |t| = 18.84 > 2.306, reject H₀
There is significant evidence of a change in test scores.
t = 18.84, df = 8, p-value < 0.001
Reject H₀: Significant improvement in scores (avg gain = 4.56 points)
• Two-tailed Test: Testing for any change (increase or decrease)
• All Positive Differences: Consistent improvement pattern
• Highly Significant: Very strong evidence against H₀