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.

818 LOGLINEAR<br />

Options<br />

Partition effect<br />

• In GENLOG, the term partition effect refers to the category of a factor.<br />

• In LOGLINEAR, the term partition effect refers to a particular contrast.<br />

Model Specification. You can specify the model or models to be fit using the DESIGN subcommand.<br />

Cell Weights. You can specify cell weights, such as structural zeros, for the model with the<br />

CWEIGHT subcommand.<br />

Output Display. You can control the output display with the PRINT subcommand.<br />

Optional Plots. You can produce plots of adjusted residuals against observed and expected<br />

counts, normal plots, and detrended normal plots with the PLOT subcommand.<br />

Linear Combinations. You can calculate linear combinations of observed cell frequencies,<br />

expected cell frequencies, and adjusted residuals using the GRESID subcommand.<br />

Contrasts. You can indicate the type of contrast desired for a factor using the CONTRAST<br />

subcommand.<br />

Criteria for Algorithm. You can control the values of algorithm-tuning parameters with the<br />

CRITERIA subcommand.<br />

Basic Specification<br />

The basic specification is two or more variables that define the crosstabulation. The minimum<br />

and maximum values for each variable must be specified in parentheses after the<br />

variable name.<br />

By default, LOGLINEAR estimates the saturated model for a multidimensional table.<br />

Output includes the factors or effects, their levels, and any labels; observed and expected<br />

frequencies and percentages for each factor and code; residuals, standardized residuals,<br />

and adjusted residuals; two goodness-of-fit statistics (the likelihood-ratio chi-square and<br />

Pearson’s chi-square); and estimates of the parameters with accompanying z values and<br />

95% confidence intervals.<br />

Limitations<br />

• Maximum 10 independent (factor) variables.<br />

• Maximum 200 covariates.<br />

Subcommand Order<br />

• The variables specification must come first.<br />

• The subcommands that affect a specific model must be placed before the DESIGN subcommand<br />

specifying the model.

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

Saved successfully!

Ooh no, something went wrong!