Chapter Contents |
Previous |
Next |
The NESTED Procedure |
For example, to specify a four-factor completely nested design in the GLM procedure, you use the form
class a b c d; model y=a b(a) c(a b) d(a b c);However, to specify the same design in PROC NESTED, you simply use the form
class a b c d; var y;
In addition, other procedures require TEST statements to perform appropriate tests, whereas the NESTED procedure produces the appropriate tests automatically. However,
PROC NESTED makes one assumption about the input data that the other procedures do not: PROC NESTED assumes that the input data set is sorted by the classification (CLASS) variables defining the effects. If you use PROC NESTED on data that is not sorted by the CLASS variables, then the results may not be valid.
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.