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.

UNIANOVA 1621<br />

• To include the intercept term in the design, use the keyword INTERCEPT on the DESIGN<br />

subcommand. If INTERCEPT is specified on the DESIGN subcommand, the subcommand<br />

INTERCEPT=EXCLUDE is overridden.<br />

• To include a term for an interaction between factors, use the keyword BY or the asterisk<br />

(*) to join the factors involved in the interaction. For example, A*B means a two-way<br />

interaction effect of A and B, where A and B are factors. A*A is not allowed because factors<br />

inside an interaction effect must be distinct.<br />

• To include a term for nesting one effect within another, use the keyword WITHIN or a pair<br />

of parentheses on the DESIGN subcommand. For example, A(B) means that A is nested<br />

within B. The expression A(B) is equivalent to the expression A WITHIN B. When more than<br />

one pair of parentheses is present, each pair of parentheses must be enclosed or nested<br />

within another pair of parentheses. Thus, A(B)(C) is not valid.<br />

• Multiple nesting is allowed. For example, A(B(C)) means that B is nested within C, and A<br />

is nested within B(C).<br />

• Interactions between nested effects are not valid. For example, neither A(C)*B(C) nor<br />

A(C)*B(D) is valid.<br />

• To include a covariate term in the design, enter the name of the covariate on the DESIGN<br />

subcommand.<br />

• Covariates can be connected, but not nested, through the * operator to form another covariate<br />

effect. Therefore, interactions among covariates such as X1*X1 and X1*X2 are valid,<br />

but not X1(X2). Using covariate effects such as X1*X1, X1*X1*X1, X1*X2, and X1*X1*X2*X2<br />

makes fitting a polynomial regression model easy in UNIANOVA.<br />

• Factor and covariate effects can be connected only by the * operator. Suppose A and B are<br />

factors, and X1 and X2 are covariates. Examples of valid factor-by-covariate interaction<br />

effects are A*X1, A*B*X1, X1*A(B), A*X1*X1, and B*X1*X2.<br />

• If more than one DESIGN subcommand is specified, only the last one is in effect.<br />

Example<br />

UNIANOVA Y BY A B C WITH X<br />

/DESIGN A B(A) X*A.<br />

• In this example, the design consists of a main effect A, a nested effect B within A, and an<br />

interaction effect of a covariate X with a factor A.

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

Saved successfully!

Ooh no, something went wrong!