GLM Syntax - Example 1: 4-Way Between Group Design

This example illustrates the specification for a 4-way between-group full factorial MANOVA design. STATISTICA will use the overparameterized model, and construct Type III hypotheses to test the effects in the design. You can run this example with the example data file Exp.sta. Note that brief descriptive comments are enclosed in curly brackets.

GLM;

{ Dependent variable list: }

   DEPENDENT = CORRECT1 CORRECT2 CORRECT3;

{ Specification of grouping variables (factors); note that

   no codes (values) are specified, so the program will by default

   take all grouping codes (e.g., 'Male', 'Female') found in the

   data file. }

   GROUPS = GROUP

            GENDER

            TIME

            PAID;

{ Here the bar operator is used to construct the full factorial

  design; the bar operator will evaluate to all main effects and

  interactions (up to 4-way) between the grouping variables. }

   DESIGN =  GROUP | GENDER | TIME | PAID;

{ The overparameterized model is requested. }

   PARAM = OVERP;

{ Type III sums of squares decomposition is requested. }

   SSTYPE = 3;

For more examples, see GLM Syntax Examples.