Today May 12, 2023.......... 1.1K unique readers ...... 12K requests.......... official Cloudflare stats ..........

Paired sample t-test -formula and practice example

The paired t-test is used to analyze data from experiments in which there is only one groups of subjects and each subject was given two treatments.It is c;ear that each subject gives two scores, which are are correlated, they are not independent (they do not come from different subjects..

Paired sample t-test formula


The formula for the paired samples t-test is:
$${t_{paired}}= {\bar{X}_D \over \sqrt {s^2 \over {n}}}$$
We read this: t paired equals mean of the differences minus mean over standard deviation divided by the square root of sample size n.


Paired t-test-practice example


An experimenter wanted to find the effect a new drug, Y13, on hand steadiness. He randomly selected seven subjects and tested their accuracy of hitting a target. He measured how many centimeters the shot deviated from the center of the target, He then gave each subject the drug, waited for one hour and repeated the shooting test. He recorded again the distance that the shot deviated from the center of the target. He now had two scores for each subject, one before the drug, and one after the drug. Here are the scores in a table,


Subjects Pre Drug Post Drug D (Post--Pre) D-Mean (D-Mean) squared
Subject 1
Subject 2
Subject 3
Subject 4
Subject 5
Subject 6
Subject 7
4
2
6
4
2
3
6
5
3
8
5
5
6
8
1
1
2
1
3
3
2
-0.86
-0.86
0.14
-0.86
1.14
1.14
0.14
\0.73
0.73
0.02
0.73
1.31
1.31
0.02
Mean= 1.86 SUM= 4.86

$${t_{paired}}= {\bar{X}_D \over \sqrt {s^2 \over {n}}}$$ $${t_{paired}}= {1.86 \over {0.33}}$$
t=1.86/0.33=5.6

The last step is to go to t- table and enter with degrees of freedom df=12 at the 0.05 .........Next
Rate it: 
Average: 5 (36 votes)

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.