27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1604 UNIANOVA<br />

Example<br />

UNIANOVA YIELD BY SEED FERT WITH RAINFALL<br />

/PRINT=DESCRIPTIVE PARAMETER<br />

/DESIGN.<br />

• YIELD is the dependent variable; SEED and FERT are factors; RAINFALL is a covariate.<br />

• The PRINT subcommand requests the descriptive statistics for the dependent variable for<br />

each cell and the parameter estimates, in addition to the default tables Between-Subjects<br />

Factors and Univariate Tests.<br />

• The DESIGN subcommand requests the default design, a full factorial model with a<br />

covariate. This subcommand could have been omitted or could have been specified in full as<br />

/DESIGN = INTERCEPT RAINFALL, SEED, FERT, SEED BY FERT.<br />

UNIANOVA Variable List<br />

The variable list specifies the dependent variable, the factors, and the covariates in the model.<br />

• The dependent variable must be the first specification on UNIANOVA.<br />

• The names of the factors follow the dependent variable. Use the keyword BY to separate<br />

the factors from the dependent variable.<br />

• Enter the covariates, if any, following the factors. Use the keyword WITH to separate<br />

covariates from factors (if any) and the dependent variable.<br />

Example<br />

UNIANOVA DEPENDNT BY FACTOR1 FACTOR2, FACTOR3.<br />

• In this example, three factors are specified.<br />

• A default full factorial model is used for the analysis.<br />

Example<br />

UNIANOVA Y BY A WITH X<br />

/DESIGN.<br />

• In this example, the DESIGN subcommand requests the default design, which includes the<br />

intercept term, the covariate X, and the factor A.<br />

RANDOM Subcommand<br />

RANDOM allows you to specify which effects in your design are random. When the RANDOM<br />

subcommand is used, a table of expected mean squares for all effects in the design is displayed,<br />

and an appropriate error term for testing each effect is calculated and used automatically.<br />

• Random always implies a univariate mixed-model analysis.<br />

• If you specify an effect on RANDOM, higher-order effects containing the specified effect<br />

(excluding any effects containing covariates) are automatically treated as random effects.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!