GLZ Syntax Examples
Listed below are a few examples of GLZ syntax specifications for various common designs; refer to the GLZ Syntax - Overview for details concerning the GLZ syntax. For additional examples, also refer to GLZ Examples.
In practically all cases, the most efficient way to write GLZ syntax is to use the Quick-specs dialog boxes. Specifically, from the Startup Panel, select the desired design in the Type of analysis box, and Quick-specs dialog as the Specification method; then click OK to display the respective Quick-specs dialog box. Note that when selecting a Type of analysis, it is not necessary that your design matches exactly the chosen type of design. For example, if you want to exclude certain effects from a factorial ANOVA design, choose Factorial ANOVA from the Startup Panel, specify the full factorial design, click the More button, and then select Syntax editor. The syntax for the full factorial design (as specified in the Quick-specs dialog box) will be written out to the syntax editor, and you can now modify the Design statement to customize the design (e.g., to drop effects).
Generalized Linear/Nonlinear Models Syntax Examples
General Linear Models (GLM) Syntax Examples
Many of the General Linear Models (GLM) Syntax Examples can be run with minor modifications in GLZ as well. However, remember that the following GLM features and options are not available in GLZ:
- No choice of methods for partitioning the sums of squares is available;
- No within-subject (repeated measures) designs are available;
- No mixed-model ANOVA (with random effects) is available;
- Only univariate designs can be specified, i.e., with a single dependent or response variable; also, instead of the GLM keyword DEPENDENT, use the GLZ keyword RESPONSE.