One of the first steps in calculating the paired samples or dependent-samples t statistic is creating a difference score for each participant in the sample. Paired-samples t-test (within-groups design) are used when comparing two samples and every participant is in both samples.