The Excel spreadsheet program has a tool to calculate the independent t value which simplifies our computational task considerably. Let's use the same research problem we already considered, but use the spreadsheet program to do the calculations.
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 |
The first step in solving this problem is to enter the work satisfaction scores for the two groups into an Excel Worksheet. After we have done this our worksheet should look as follows:
In the Excel Worksheet select Data Analysis under the Tools menu. If Data Analysis is not available you must install the Data Analysis Tools.
If you need to you can install the data analysis tools as follows:
With the Data Analysis Tools installed, select Data Analysis under the Tools menu.
In the Data Analysis window scroll down and select t-Test: Two-Sample Assuming Equal Variances. Complete the t-Test: Two-Sample Assuming Equal VAriances window as follows:
Your spreadsheet should now appear as follows:
The results of the t-test can be seen in the resultant table. The value of t (t Stat)l is 2.210169858, which we can round off to 2.210 which is almost identical to the answer (2.209) we got when we calculated t without using the spreadsheet program. The small difference between the two answers is because of rounding the partial answers off during our calculations.
The probability of this results being due to chance (the alpha level) we can read from the table as 0.038913045 (see t Critical two-tail) which means that this result is significant at the .04 level. We will set our alpha level as .05, so we will say that p < .05 rather than that p = .04
We can also read the critical value or cut-off value for t from the table by looking at t Critical two-tail which is 2.085962478, which is the same value (2.086) we looked up in the table in the textbook when we were calculating t without using the spreadsheet.
We now have all the information we need to complete the six step statistical inference process:
We can see that the Excel spreadsheet program gives us an easy way to calculate the independent t value. It also provides us with the critical values of t for the alpha levels we specify (the default value is an alpha of .05) and the degrees of freedom (df) for the statistic.