The matched pairs t test involves the following steps:
Calculate the difference between each pair of observations. Compute the mean and standard deviation of these differences. Use these values to calculate the t statistic. Compare the t statistic to the critical value from the t distribution table to determine statistical significance.
The formula for the t statistic in a matched pairs t test is: t = (mean difference) / (standard deviation of differences / sqrt(n)), where n is the number of pairs.