StatCalculators.com
Stop by and crunch stats
  • Homepage
  • Blog
  • Simple Calculator
  • About StatCalculators
  • Contact
  • Homepage
  • Blog
  • Simple Calculator
  • About StatCalculators
  • Contact
  • Home
  • /
  • Blog
  • /
  • T Test

Paired T Test Example

The truth is that doing a paired t test is not as difficult as it may seem when you first look at it. Nevertheless, a paired t test example is always a good way to learn exactly what you need to do.

One of the things that you need to have in mind os that a paired t test is used to compare the means of two populations.

Use the top stats calculators.

The paired t test is very used in many different areas. You can use it to compare different health treatments, to analyze the results of a diagnostic test before and after a specific module, among so many others.

paired-t-test-example

Before we actually show you the paired t test example, let’s see how you need to proceed.

Let’s say that you have a sample of n students. They had to do a diagnostic test before module A and another one after completing it. Our goal is to determine the importance of teaching in the student’ skills and knowledge, evaluated with their scores.

Let’s also consider that:

x – represents the diagnostic test score before Module A

y – represents the diagnostic test score after Module A

In order to start testing the null hypothesis, which is the mean difference is zero, here are the steps you need to take:

Step #1: Calculate the difference between the two observations, before and after the diagnostic test, on each pair:

d = y – x

Learn more about the unpaired t test.

Step #2: Determine the mean difference

Step #3: Determine the standard deviation of the differences. Then, you will need to use this value to calculate the standard error of the mean difference:

standard-error-of-the-mean-difference-formula

Step #4: Determine the t-statistic, by using the following formula:

t-statistic-formula

Please remember that you are testing the null hypothesis. Therefore you need to use the t-distribution with n-1 degrees of freedom.

Step #5: Compare your T value with the tn-1 value that you can check on the t-distribution tables.

What is a 2 sample t test? 

Now, let’s check a practical paired t test example:

Let’s say that we are assuming that we want to measure the results of teaching on students as well and that we already know their scores before and after the Module A was taught. Let’s also consider that we are considering a sample of 20 students. So, n = 20.

Here are the scores that the students had:

StudentPre-Module ScorePost-Module ScoreDifference
11822+4
22125+4
31617+1
42224+2
51916-3
62429+5
71720+3
82123+2
92319-4
101820+2
111415+1
121615-1
131618+2
141926+7
1518180
162024+4
171218+6
182225+3
191519+4
201716-1

In the last column, you can already see the calculations of the differences of the scores for each student. So, all you need to do know is to determine the mean difference, using the formula we provided above.

We can then say that the mean difference is 2.05.

So, by using the values and replacing them in the standard deviation of the differences formula also provided above, you will get:

Sd = 2.837

Now, it’s time to determine the standard error of the mean:

SE(d) = Sd / √n = 2.837 / √20 = 0.634

Discover the top intro statistics books. 

Finally, you will need to perform the t-statistic:

t = 2.05 / 1.634 = 3.231

Please notice that this is the t-statistic calculated for 19 degrees of freedom.

So, by looking at the tables, you can see that you will get a p = 0.004.

With this result, we can say that module A does lead to improvement in the students’ knowledge and skills. In fact, there is even a strong evidence of that.

Posted on November 15, 2018 by James Coll. This entry was posted in Blog, T Test. Bookmark the permalink.
Understand Unpaired T Test For Two Samples
How To Conduct A T Test In Excel

    Tags

    binomial probability calculator Chi-Square Chi-Square Value Calculator Confidence Interval Confidence Interval Calculator Confidence Interval Calculator for the Population Mean Correlation coefficient Correlation Coefficient (from a Covariance) Calculator Correlation from covariance calculator Covariance calculator Covariance Calculator (from a Correlation Coefficient) Critical Chi-Square Value Calculator Critical F-value Calculator Critical F calulcator Descriptive statistics calculator Effect Size (Cohen's d) for a Student t-Test Calculator F distribution calculator Mann Whitney U-test Calculator Mean Mean calculator Median Median calculator Mode Mode calculator Non-parametric Mann Whitney U critical value normal distribution p-Value Calculator p-Value Calculator for a Student t-Test Pearson’s correlation calculator Population Standard Deviation Calculator Population Variance Calculator Range Calculator R correlation from covariance calculator Standard Deviation Calculator Student t-Value Calculator T distribution p value calculator T score calculator T student distribution calculator T table calculator Two-Tailed Area Under the Standard Normal Distribution Calculator U critical value Variance Calculator z score z score calculator z score probability calculator
Powered by