The t Test for Two Dependent Samples
Data Set The same group of people rated both brands of coffee. Half of the subjects tasted brand A first. Half of the subjects tasted brand B first. The order of tasting the two brands of coffee was completely counterbalanced.
Is there a difference in the mean ratings between the two the two brands of coffee?
The observed mean difference is 7 - 6.3 = .7.
The null hypothesis states that there is no difference in the mean
ratings between the two brands of coffee. The difference between means
equals zero.
Use a .05 significant level.
Definitional Formula
|
| Source of Variance | Standard Variance |
| Columns | .122 / 1.227 = .1 |
| Rows | .852 / 1.227 = .694 |
| Residual | .253 / 1.227 = .206 |
| Total | 1.227 / 1.227 = 1 |
There are ten pairs in the experiment. The degrees of freedom are 10-1 =9
Note that a repeated measures design reduces the error term by removing the variance due to individual differences (1 - .1 - .694 = .206).
t = 2.09
Input
Output
![]()
The larger the positive correlation coefficient, the greater the benefit of pairing. For our example, the correlation between the two repeated measures was .545. However, the relationship was not statistically significant (p > .05).
The observed significance level is larger than .05. What do you conclude?
Using the Traditional Formula to Compute the Paired-Samples t Test
![]()
r = .545
The larger the positive correlation coefficient, the greater the benefit of pairing.
![]()
The unbiased standard deviation is 1.059. You may also compute the above value by using the following formula
![]()
S(A-B) = 1.059
Notice that the same person rated both brands of coffee, the two ratings are correlated.
![]()
We know that the sample mean difference is .7. The standard error of the difference between two dependent means is .335. Thus, t = mean difference / standard error of the difference.
![]()
t = .7 / .335 = 2.09
The observed significance level is larger than .05. What do you conclude?