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.

Example<br />

LOGLINEAR RESPONSE(1,2) BY TIME(1,4)<br />

/CONTRAST(TIME)=SPECIAL(4*1, 7 14 27 51, 8*1)<br />

/PLOT=DEFAULT<br />

/DESIGN=RESPONSE TIME(1) BY RESPONSE<br />

/PLOT=NONE<br />

/DESIGN.<br />

• RESID and NORMPROB plots are displayed for the first design.<br />

• No plots are displayed for the second design.<br />

MISSING Subcommand<br />

LOGLINEAR 827<br />

MISSING controls missing values. By default, LOGLINEAR excludes all cases with system- or<br />

user-missing values on any variable. You can specify INCLUDE to include user-missing<br />

values. If INCLUDE is specified, user-missing values must also be included in the value range<br />

specification.<br />

EXCLUDE Delete cases with user-missing values. This is the default if the subcommand<br />

is omitted. You can also specify the keyword DEFAULT.<br />

INCLUDE Include user-missing values. Only cases with system-missing values are deleted.<br />

Example<br />

MISSING VALUES A(0).<br />

LOGLINEAR A(0,2) B(1,2) /MISSING=INCLUDE<br />

/DESIGN=B.<br />

• Even though 0 was specified as missing, it is treated as a nonmissing category of A in this<br />

analysis.<br />

DESIGN Subcommand<br />

DESIGN specifies the model or models to be fit. If DESIGN is omitted or used with no specifications,<br />

the saturated model is produced. The saturated model fits all main effects and all<br />

interaction effects.<br />

• To specify more than one model, use more than one DESIGN subcommand. Each DESIGN<br />

specifies one model.<br />

• To obtain main-effects models, name all the variables listed on the variables specification.<br />

• To obtain interactions, use the keyword BY to specify each interaction, as in A BY B and<br />

C BY D. To obtain the single-degree-of-freedom partition of a specified contrast, specify<br />

the partition in parentheses following the factor (see the example below).<br />

• To include cell covariates in the model, first identify them on the variable list by naming<br />

them after the keyword WITH, and then specify the variable names on DESIGN.<br />

• To specify an equiprobability model, name a cell covariate that is actually a constant of 1.

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

Saved successfully!

Ooh no, something went wrong!