Hand and Laptop: The following problems are available on our books website. (Statistics for the Behavioral Sciences, Thorne & Giesen, ISBN 0-07-283251-7, McGraw Hill Publishers). I have copied them here for convenience. On the student center section you can find extra-problems for each chapter, including SPSS practice problems.

USING SPSS-EXAMPLES AND EXERCISES

SPSS has several techniques for performing analysis of variance (ANOVA). The ONEWAY procedure is one such method, and it will perform a variety of post hoc tests. For the repeated measures ANOVA, we will need to use the SPSS GLM (General Linear Model)-Repeated Measures procedure to obtain the analysis. The SPSS GLM procedures will perform analyses for many different types of ANOVA designs. Unfortunately-given our desire to keep this as simple as possible-the SPSS GLM procedures are some of the "fancier" SPSS techniques and provide extensive output that is well beyond the level of the textbook.

Sixteen elementary school students are randomly assigned to one of four groups. Each group solves a different kind of arithmetic problem: addition, subtraction, multiplication, or division. Each child solves 10 problems, and the average latency in seconds is recorded. Perform an overall test of significance. If significant, use the LSD and HSD tests to do all pairwise comparisons.

 

Addition   Subtraction   Multiplication   Division

2                  5                      5                       5

2                  6                      5                       8

4                  7                      8                      10

4                  6                      6                       9


Example-Independent Groups ANOVA: As an example of an independent groups ANOVA, we will work the problem above using SPSS. We will illustrate how to perform the ANOVA, how to do the LSD and HSD post hoc tests, how to graph the means, and how to provide an Error Bar chart of the groups. The steps are as follows:

  1. Start SPSS and enter the data. The data entry is an extension of the set-up we used for the two-sample independent-groups test. Name the two variables group and latency. The group variable will have a 1 entered for each latency score from Group 1, a 2 for each latency score from Group 2, and so on.
  2. Select Analyze > Compare Means > One-Way ANOVA.
  3. Move latency to the Dependent List box because it is the dependent variable. Move group to the Factor box.
  4. Select the Post Hoc box and choose LSD and Tukey (HSD) in the Post Hoc Multiple Comparisons box. Then select Continue.
  5. Select the Options box; click Descriptive and Means plot (this will give you a line graph of the group means), then Continue > OK. The results should appear in the output Viewer window.
  6. As an extra illustration for this exercise, we will create an Error Bar chart for the groups, which shows a plot of the confidence intervals for each group. This type of graph is helpful in understanding and emphasizing that there is within-group variability that is not shown in graphs of group means as point estimates.
  7. Select Graphs>Legacy Dialogs> Error Bar>Simple > Summaries for groups of cases > Define 
  8. Move latency into the Variable box and move group into the Category Axis box. Other settings in this dialog box should indicate a 95% confidence interval for means. Next click OK,and the graph should appear in the output Viewer window.

Notes on Reading the Output

  1. The ANOVA output box gives the source table. The "Sig." after the value is the exact probability value for the obtained ratio. For example, = .000 means that is 0 when rounded to three decimal places. Because is never exactly 0, it is better to express this probability as < .001.
  2. The Multiple Comparisons box is highly redundant. It does not give a test statistic value for each comparison or a minimum difference required for significance between two groups. Instead the box indicates the significant comparisons by an asterisk beside the Mean Difference and the exact value given in the Sig. column. For example, the Tukey HSD results indicate that Group 1 versus Group 4 and Group 2 versus Group 3 are the only comparisons that are not statistically different. The more powerful LSD test indicates that only Groups 1 and 4 are not statistically different.
  3. The Means Plots and the Graph showing confidence intervals provide pictures of the results. Because their confidence intervals overlap considerably, we would expect Groups 1 and 4 and Groups 2 and 3 not to be statistically different. Of course, this is what we found with the HSD test.


Example-Repeated Measures ANOVA: Our example of the repeated measures ANOVA will use the SPSS GLM-Repeated Measures procedure. This technique will perform the analysis for the one-way repeated measures exercises in the text and in this study guide in addition to analyzing more extensive designs. The procedure does not do post hoc tests for this completely within-subjects design, so we will not be concerned with this part of our computer solution. The supplemental text on using SPSS suggested in Appendix 4 explains how to do such tests. (In short, the post hoc tests are performed by computing sequential pairwise dependent t tests and testing for significance by using the α level obtained by dividing .05 by the number of tests performed.) Alternatively, you can compute the post hoc tests by hand, using information from the output and the procedures described in the text. We will solve the problem below as an example. 

We hypothesize that the experience of taking a statistics course will reduce mathematics anxiety. To test this hypothesis, we select nine statistics students and assess their mathematics anxiety on four occasions: on the first day of class, after 3 weeks of class, after 6 weeks of class, and after 9 weeks of class. Perform the appropriate overall test of significance.

StudentFirst Day3 Weeks6 Weeks9 Weeks

A141298
B8753
C6742
D91087
E1512109
F121089
G9876
H7653
I10977

Here are the steps to follow:

  1. Start SPSS and name the variables day1wk3wk6, and wk9. Enter the data for each of these variables. Note that this data entry arrangement is an extension of the arrangement used for the pairedsamples test. Each participant's data are given on one row.
  2. Select Analyze > General Linear Model > GLM-Repeated Measures.
  3. In the dialog box, enter the number of levels (4 for the four times of measurement), and click Add. The Define Factor(s) dialog box should appear as follows. Then select Define.

  4. In the GLM-Repeated Measures dialog box, highlight each of the variables and move them into the Within-Subjects Variables box in order-that is, day1 is first and wk9 is fourth. The dialog box should appear as follows:

  5. Although it is not required for the analysis, we will also get a plot of the means by selecting the Plots box, highlighting "factor 1" and moving it to the Horizontal Axis box, then clicking Add > Continue.
  6. We want descriptive statistics for our groups, so select Options, then click on Descriptive Statistics in the Options dialog box, which should appear as follows. **To get the LSD output for the repeated measurement move the factor into the "Display Means for" box and select the Compare Main Effects box below it. LSD is the default test. Then lick on Continue.

  7. You should now be back to the GLM-Repeated Measures dialog box. Click OK, and the results should appear in the output Viewer window.
Notes on Reading the Output

  1. As you learn to use statistical software, one skill that you will need to develop is the ability to ignore parts of the output that are superfluous for what you are trying to do. You will also need to learn to focus on the important and necessary parts of the output for your particular problem. In fact, both of these skills are necessary for you to extract the information from the output that you need for solving the present exercise.
  2. In the following output, we have included only the portions that are needed for the present exercise. Your task is to ignore other parts of the output that are produced by the process we have described.
  3. The Descriptive Statistics box gives exactly that information.
  4. Locate the box labeled Tests of Within-Subjects Effects. Also locate the box labeled Tests of Between-Subjects Effects. The following figure shows the information needed from these two boxes to construct the source table needed for this exercise.








exercises:

Work the problem below using SPSS. Obtain LSD post hoc test results and an Error Bar graph of the 95% confidence intervals for each group. Write a complete conclusion for the ANOVA and LSD test.

A study was done to see whether the source of dietary fat affects visual discrimination. Rats were placed on one of four diets for 2 months: Diet 1 had 5% corn oil; Diet 2 was the same as Diet 1 with the addition of 20% safflower oil; Diet 3 was Diet 1 with 20% added coconut oil; Diet 4 was Diet 1 with 20% added olive oil. All the rats were trained on a simple visual discrimination task, and their errors before achieving a certain criterion were recorded. 
At the end of the study described in the problem above, blood samples from each 
animal were analyzed for total cholesterol and HDL (high-density lipoprotein) cholesterol. The results 
are reported below in total cholesterol/HDL ratios; lower ratios are better, according to current health 
guidelines. Compute the F ratio and test it for significance. 

Diet1 Diet2 Diet3 Diet4 
2.7     1.5     2.5     2.2 
2.2     1.8     2.4     2.3 
2.1     1.7     2.2     1.6 
2.0     2.0     1.6     2.6 
1.6     1.9     1.7     2.2 
2.2     1.5     2.2     2.8 
2.8     1.6     2.3     2.7 
2.0     1.7     2.0  
2.6     1.7     2.2 
2.6     1.8 



Work the problem below using SPSS with the GLM-Repeated Measures procedure. Obtain a plot of the means and use the output to construct the desired source table.

A manufacturing company is concerned about the effect of fatigue on the speed with which its workers can assemble pocket calculators. For 10 workers, the average time (in seconds) it takes to assemble a pocket calculator is measured at the beginning, in the middle, and at the end of the shift. Does performance change across periods of the workers' shift?

WorkerBeginningMiddleEnd

A202123
B283031
C222324
D191922
E242628
F262729
G191819
H242527
I202122
J192122