How do you perform a paired t-test by hand?

A paired t-test is a statistical analysis method used to determine the significance of the difference between two related groups of data. It is typically performed by hand using a series of steps. First, the data for each group is organized and the mean and standard deviation are calculated. Next, the difference between each pair of data values is calculated and a new column is created to represent these differences. The mean, standard deviation, and sample size for the differences are then calculated. Using these values, the t-statistic is computed using the formula (mean of differences / (standard deviation of differences / square root of sample size)). This t-statistic is then compared to the critical t-value for the chosen level of significance, typically 0.05. If the t-statistic is greater than the critical t-value, the difference between the two groups is considered to be significant. Finally, the results are interpreted and conclusions are drawn regarding the significance of the difference between the two groups.

Perform a Paired t-Test by Hand


A is used to compare the means of two samples when each in one sample can be paired with an observation in the other sample.

The following step-by-step example shows how to perform a paired samples t-test to determine if the population means are equal between the following two groups:

Step 1: Calculate the Test Statistic

The test statistic of a paired t-test is calculated as:

t = xdiff / (sdiff/√n)

where:

  • xdiffsample mean of the differences
  • s: sample standard deviation of the differences
  • n: sample size (i.e. number of pairs)

We will calculate the mean of the differences between the two groups and the standard deviation of the differences between the two groups:

Thus, our test statistic can be calculated as:

  • t = xdiff / (sdiff/√n)
  • t = 1.75 / (1.422/√12)
  • t = 4.26

Step 2: Calculate the Critical Value

Next, we need to find the critical value to compare our test statistic to.

For this example, we’ll use a two-tailed test with α = .05 and df = n-1 degrees of freedom.

According to the , the critical value that corresponds to these values is 2.201:

Step 3: Reject or Fail to Reject the Null Hypothesis

Our paired samples t-test uses the following null and alternative hypothesis:

  • H0: μ1 = μ2 (the two population means are equal)
  • HA: μ1 ≠ μ2 (the two population means are not equal)

Since the absolute value of our test statistic (4.26) is greater than the critical value found in the t-table (2.201), we reject the null hypothesis.

This means we have sufficient evidence to say that the mean between the two groups is not equal.

Bonus: Feel free to use the to confirm your results.

x