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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Model 2: Fixed-effects ANOVA and MANOVA<br />

GLM Y1 Y2 by B.<br />

Model 3: ANCOVA and multivariate ANCOVA (MANCOVA)<br />

GLM Y1 Y2 BY B WITH X1 X2 X3.<br />

Model 4: Random-effects ANOVA and ANCOVA<br />

GLM Y1 BY C WITH X1 X2<br />

/RANDOM = C.<br />

Model 5: Mixed-model ANOVA and ANCOVA<br />

GLM Y1 BY B, C WITH X1 X2<br />

/RANDOM = C.<br />

GLM: Overview 647<br />

Model 6: Repeated measures analysis using a split-plot design<br />

(Univariate mixed models approach with subject as a random effect)<br />

If drug is a between-subjects factor and time is a within-subjects factor,<br />

GLM Y BY DRUG SUBJECT TIME<br />

/RANDOM = SUBJECT<br />

/DESIGN = DRUG SUBJECT*DRUG TIME DRUG*TIME.<br />

Model 7: Repeated measures using the WSFACTOR subcommand<br />

Use this model only when there is no random between-subjects effect in the model. For example,<br />

if Y1, Y2, Y3, and Y4 are the dependent variables measured at times 1 to 4,<br />

GLM Y1 Y2 Y3 Y4 BY DRUG<br />

/WSFACTOR = TIME 4<br />

/DESIGN.<br />

Model 8: Repeated measures doubly multivariate model<br />

Repeated measures fixed-effects MANOVA is also called a doubly multivariate model. Varying<br />

or time-dependent covariates are not available. This model can be used only when there<br />

is no random between-subjects effect in the model.<br />

GLM X11 X12 X13 X21 X22 X23<br />

Y11 Y12 Y13 Y21 Y22 Y23 BY C D<br />

/MEASURE = X Y<br />

/WSFACTOR = A 2 B 3<br />

/WSDESIGN = A B A*B<br />

/DESIGN = C D.<br />

Model 9: Means model for ANOVA and MANOVA<br />

This model takes only fixed-effect factors (no random effects and covariates) and always<br />

assumes the highest order of the interactions among the factors. For example, B, D, and E are<br />

fixed factors, and Y1 and Y2 are two dependent variables. You can specify a means model by

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

Saved successfully!

Ooh no, something went wrong!