What is the Difference between Independent and Paired Sample t-test

This tutorial explains what t-test is, and the difference between independent sample t-test and paired sample t-test. It also explains what two-sample and one-sample t-test are.

What is independent sample t-test?

Indepdent sample t-test examines whether the means from 2 separate groups of people or objects are statistically significantly different. That is, we calculate two means from two groups of , and we can see that these two means are statistically different.

For instance, we want to compare the height of two groups of people. We can calculate the average height of both groups and get two mean numbers, such as 6 feet vs. 5 feet 6 inch. So, yes, we can see that these two means are different. However, without further tests, we do not know whether such a difference is statistically significant. In this case, a t-test can tell us whether these two means are really statistically different or just from some random errors.

NameHeight
Jack6 feet
John6 feet 6 inch
Tommy6 feet 6 inch
Amy5 feet
Eddie7 feet
Mean of Group 16 feet
Group 1
NameHeight
Andy6 feet
Luke6 feet
Anderson5 feet
Kim5 feet
Cindy5 feet 6 inch
Mean of Group 25 feet 6 inch
Group 2

What is paried sample t-test?

Paired sample t-test is used for the situation where X1 and X2 are about the same group of human respondents or non-human objects (e.g., cities, products). Typically, X1 and X2 are from two different time points. The following is the illustraction, which shows the heights of the same group people, but at two different time points. Then, paired sample t-test is going to tell us whether the means of these two time points are significantly different from one another.

NameHeight of Time 1Height of Time 2
Jack5 feet 6 inch6 feet
John5 feet 6 inch 6 feet 6 inch
Tommy6 feet 6 feet 6 inch
Amy5 feet5 feet
Eddie5 feet 6 inch6 feet
Mean5 feet 6 inch6 feet
Time 1 vs. Time 2 for the same group of people

Difference between Independent and Paired Sample t-test

In particular, independent sample t-test is used for a situation where X1 and X2 are from two independent, different groups of respondents. For instance, if you want to understand whether women and men differ in their attitudes toward drinking coffee, in this case, women (X1) and men (X2) are the two levels of X, and attitudes toward drinking coffee are the dependent measure (Y).

In contrast, paired sample t-test is used for the situation where X1 and X2 are about the same group of respondents. For instance, you want to compare Exam 1 (X1) and Exam 2 (X2) in terms of students’ grade performance. In this case, the students are the same group of people for both X1 and X2, but just measured at two different time points. Thus, that is why some people also call paried sample t-test as one-sample t-test.


Two-Sample t-test vs. One Sample t-test

Two-sample t-test

Independent sample t-test is also called two-sample t-test, because Independent sample t-test involves two separate, independent samples. That is, independent sample t-test and two-sample t-test are the same thing.

Independent sample t-test = Two-sample t-test

One-sample t-test

One-sample t-test is different from independent sample t-test or paired-sample t-test. In particular, one-sample t-test is to determine whether an unknown population mean is different from a specific value. For instance, you measure the height of a group of 100 students and want to infer all the 3000 students’ height in the same school. Then, you get the mean of these 100 students is 6 ft, and then you want to compare whether the mean if 6 ft is different from 6 ft 1 in. In this case, it is a one-sample t-test.

The following table summarizes all these different t-tests, with alternative names as well as examples.

Other namesExamples
Independent sample t-testTwo-sample t-test,
Unpaired samples t-test
Test how men (Mean1) and women (Mean2) differ in their attitudes towards drinking coffee
Paired sample t-testMatched sample t-testCompare Exam 1 (Mean1) and Exam 2 (Mean2) for the same group of students
One-sample t-testSingle sample t-testCompare a group of student’s average height (Mean) to a fixed, constant number (A Number)

Further Reading