The Excel spreadsheet program has a tool to calculate the dependent 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: The Beck Depression Scale (pre-test) was administered to ten adolescents undergoing anger management thereapy. After four weeks of therapy the same scale was administered again (post-test). Does the anger management therapy significantly reduce the scores on the depression scale?
In this problem we are comparing pre-test and post-test scores for a group of subjects. This would be an appropriate situation for the dependent t-test.
The pre-test and post-test scores for the ten subjects are in the following table.
| Pre-Test (X1) |
Post-Test (X2) |
|---|---|
| 14 | 0 |
| 6 | 0 |
| 4 | 3 |
| 15 | 20 |
| 3 | 0 |
| 3 | 0 |
| 6 | 1 |
| 5 | 1 |
| 6 | 1 |
| 3 | 0 |
The first step in solving this problem is to enter the pre-test and post-test scores for the subjects 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: Paired Two Sample for Means. Complete the t-Test: Paired Two Sample for Means window as follows:
Your spreadsheet should now appear as follows:
The results of the dependent t-test can be seen in the resultant table. The value of t (t Stat) is -2.6234239, which we can round off to -2.623 which is identical to the answer we got when we calculated t without using the spreadsheet program.
The probability of this result being due to chance can be read from the table as 0.01382762 (see t Critical one-tail) which means that this result is significant at the .01 level. We will set our alpha level as .05, so we will say that p < .05 rather than that p = .01
We can also read the critical value or cut-off value for t from the table by looking at t Critical one-tail which is 1.83311386, which is the same value (1.833) 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 dependent t value. It also provides us with the critical values of t for the alpha level we specified, and the degrees of freedom (df) for the statistic.