ANOVA/ MANOVA Syntax - Overview

The ANOVA/MANOVA syntax consists of command lines, which are terminated by semicolons. The complete command syntax for ANOVA/MANOVA is shown below. Note that terms in curly brackets ({}) denote alternate specifications (e.g., LACKOFFIT = NO or LACKOFFIT = YES); optional keywords are enclosed in brackets ([]); all keywords are shown in upper case letters (even thought the syntax interpreter is not case sensitive). To learn more about each keyword, click on it.

[MAN;]

DEPENDENT

[=]

{ Variable List };

[GROUPS

[=]

{ NONE };

 

 

{ Variable [(Value List)

 

 

.......

 

 

Variable [(Value List)] };]

[DESIGN

[=]

{ NONE };

 

 

{ Effects };]

[INTERCEPT

[=]

{ INCLUDE }

 

 

{ EXCLUDE };]

[LACKOFFIT

[=]

{ NO }

 

 

{ YES };]

[PARAM

[=]

{ SIGMA }

 

 

{ OVERP };]

[SSTYPE

[=]

{ 1 }

 

 

{ 2 }

 

 

{ 3 }

 

 

{ 4 }

 

 

{ 5 }

 

 

{ 6 }

 

 

{ BALANCED };]

[ESTIMATE

[=]

{ NONE };

 

 

{ Value list }]

 

 

.......

[ESTIMATE

[=]

{ Value list };]

[SDELTA

[=]

{ Value };]

[IDELTA

[=]

{ Value };]

[REPEATED

[=]

{ NONE }

 

 

{ FactorName Levels

 

 

.......

 

 

FactorName Levels };]

[WDESIGN

[=]

{ NONE }

 

 

{ Repeated Measures Effect };]

[SAMPLE

[=]

{ NONE }

 

 

{ Variable (Value) };]

[OUTPUT

[=]

{ NONE }

 

 

{ List of options (integers) };]

Example. Shown below is an example specification for a simple 4-way full factorial between group design with one repeated measures factor (use example data file Exp.sta to run this example).

MAN;

DEPENDENT

=

CORRECT1 CORRECT2 CORRECT3;

GROUPS

=

GROUP GENDER TIME PAID;

DESIGN

=

GROUP | GENDER | TIME | PAID;

REPEATED

=

R1 3;

WDESIGN

=

R1;

For more examples, see ANOVA/MANOVA Syntax Examples.

Upper case and lower case letters. The syntax editor is not case sensitive; i.e., DEPENDENT and dependent or Dependent are all valid specifications of the same keyword.

Order of keywords. The order of keywords should follow that implied in the complete listing of all keywords shown above. Note that, while most of the options can be specified in any order, the Design statement must follow the Dependent and Groups specifications; likewise, the Wdesign keyword must follow the Repeated specifications, which itself must follow the Dependent variable list specifications. In general, when a keyword references a variable or effect previously defined, then that specification must occur before the respective keyword reference.

Comments. You can insert comments into the syntax by placing them in curly brackets (e.g., { This is a comment }), or a pound sign (e.g., ... # This is a comment; all text starting at the pound sign to the end of the respective line will be treated as a comment). You can place comments in between any keywords of the syntax, and you can include several comment lines. Comments will be ignored when the syntax is parsed.