Lesson 11 will consist of the following topics
For lesson 11, read pages 123-129 in Practical Statistics for Educators,
Third Edition by Ruth Ravid (2005, University Press of America)
or read pages 303-309 in Basic Statistics for Behavioral Science Research
2nd ed by Mary B. Harris (1998, Allyn and Bacon)
or
read pages 191-195 in Practical Statistics for
Educators, 2nd Edition by Ruth Ravid (2000, University Press of America)
or read pages 175-184 in Practical Statistics for Educators
by Ruth Ravid (1994, University Press of America).
In our last lesson we looked at inferential statistics to test hypotheses concerned with comparing a single sample with some population parameter. We discussed two statistics to use with single samples.
In this lesson we are going to consider the first of two very important and widely used t-tests to compare the means of two groups or two samples. This is a very common problem to compare the means of, for example, the experimental group and the control group on some independent variable.
The two-sample t-tests we will consider are
In this lesson we will consider the independent t-test, and in the next lesson we will consider the dependent t-test.
The independent t-test, as we have already mentioned is used when we wish to compare the statistical significance of a possible difference between the means of two groups on some independent variable and the two groups are independent of one another.
The formula for the independent t-test is
,
where
is the mean for group 1,
is the mean for group 2,
is the sum of squares for group 1,
is the sum of squares for group 2,
n1 is the number of subjects in group 1, and
n2 is the number of subjects in group 2.
The sum of squares is a new way of looking at variance. It gives us an indication of how spread out the scores in a sample are. The t-value we are finding is the difference between the two means divided by their sum of squares and taking the degrees of freedom into consideration.

and

We can see that each sum of squares is the sum of the squared scores in the sample minus the sum of the scores quantity squared divided by the size of the sample (n).
So to calculate the independent-t value we need to know:
We also need to know the degrees of freedom for the independent t-test which is:
![]()
Let's do a sample problem using the independent t-test.
Research Problem: Job satisfaction as a function of work schedule was investigated in two different factories. In the first factory the employees are on a fixed shift system while in the second factory the workers have a rotating shift system. Under the fixed shift system, a worker always works the same shift, while under the rotating shift system, a worker rotates through the three shifts. Using the scores below determine if there is a significant difference in job satisfaction between the two groups of workers.
| Fixed Shift | Rotating Shift |
|---|---|
| 79 | 63 |
| 83 | 71 |
| 68 | 46 |
| 59 | 57 |
| 81 | 53 |
| 76 | 46 |
| 80 | 57 |
| 74 | 76 |
| 58 | 52 |
| 49 | 68 |
| 68 | 73 |
In this problem we see that we have two samples and the samples are independent of one another. We can see that the inferential statistic we need to use here is the independent t-test.
We can calculate the quantities we need to solve this problem as follows:
| X1 | (X1)2 | X2 | (X2)2 |
|---|---|---|---|
| 79 | 6241 | 63 | 3969 |
| 83 | 6889 | 71 | 5041 |
| 68 | 4624 | 46 | 2116 |
| 59 | 3481 | 57 | 3249 |
| 81 | 6561 | 53 | 2809 |
| 76 | 5776 | 46 | 2116 |
| 80 | 6400 | 57 | 3249 |
| 74 | 5476 | 76 | 5776 |
| 58 | 3364 | 52 | 2704 |
| 49 | 2401 | 68 | 4624 |
| 68 | 4 624 | 73 | 5329 |
| ------ | ------ | ------ | ------ |
| 775 | 55837 | 662 | 40982 |
We can use the totals from this worksheet and the number of subjects in each group to calculate the sum of squares for group 1, the sum of squares for group 2, the mean for group 1, the mean for group 2, and the value for the independent t.








We now have the information we need to complete the six step statistical inference process for our research problem.
Please send electronic mail to the course instructor if you have any questions about this lesson or other concerns.