UCLA Academic Technology Services HomeServicesClassesContactJobs
Search

SAS Textbook Examples
Design and Analysis by Keppel
Chapter 3

Chapter 3: Variance Estimates and the Evaluation of the F Ratio

3. One way Analysis of Variance, Page 59 of Keppel
  Example 3a. SPSS MANOVA
  Example 3b. SPSS GLM (under construction)
  Example 3c. SAS PROC GLM (under construction)

3. One way Analysis of Variance, Page 59 of Keppel

Page 59 of Keppel illustrates a one way Analysis of Variance.  This example compares the number of errors (failures) for 4 different treatment groups who differed in their level of sleep deprivation (indicated by the variable a).   The data for this experiment are shown below.

a=1 a=2 a=3 a=4
37
22
22
25
36
45
47
23
43
75
66
46
76
66
43
62

This can be analyzed using SPSS manova, SPSS glm, or SAS proc glm. All of these examples use the CHAP3 (SPSS, SAS) data file. The following examples illustrate how to perform a one way ANOVA with this data file.

Example 3a. SPSS MANOVA

MANOVA failures BY a(1,4). 

The dependent variable, failures, appears directly after the manova keyword, and the independent variable, a(1,4), follows the by keyword along with the levels of the variable in parentheses.  This yields a one way ANOVA.

Example 3b. SPSS GLM

GLM failures BY a. 

Example 3c. SAS PROC GLM

PROC GLM DATA=chap3;
  CLASS a;
  MODEL failures = a ;
  MEANS a / deponly ;
RUN; 

Summary

Under construction.


How to cite this page

Report an error on this page

UCLA Researchers are invited to our Statistical Consulting Services
We recommend others to our list of Other Resources for Statistical Computing Help
These pages are Copyrighted (c) by UCLA Academic Technology Services


The content of this web site should not be construed as an endorsement of any particular web site, book, or software product by the University of California