Two-Sample and Paired t Tests: Design and Calculation
Choosing between a two-sample t test and a paired t test is a design decision before it is a calculation. Independent groups require a two-sample procedure; matched people, repeated measurements, or deliberately paired units require a one-sample t test on the within-pair differences.