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.

GENLOG 611<br />

• For each effect, GENLOG displays the observed and expected counts as well as the simple,<br />

standardized, and adjusted residuals.<br />

GLOR Subcommand<br />

GLOR (Generalized Log-Odds Ratio) specifies the population contrast variable(s). For each<br />

variable specified, GENLOG tests the null hypothesis that the generalized log-odds ratio<br />

equals 0 and displays the Wald statistic and the confidence interval. You can specify the level<br />

of the confidence interval using the CIN significance level keyword on CRITERIA. By default,<br />

the confidence level is 95%.<br />

• The variable sum is 0 for the loglinear model and for each combined level of independent<br />

variables for the logit model.<br />

• Variables specified as dependent or independent variables in the variable list cannot be<br />

specified on GLOR.<br />

• The coefficient is not applied on a case-by-case basis. The weighted mean for a cell is<br />

applied to that cell.<br />

• If multiple GLOR subcommands are specified, the last specification takes effect.<br />

Example<br />

GENLOG A B<br />

/GLOR=COEFF<br />

/DESIGN=A B.<br />

• Variable COEFF contains the coefficients of two dichotomous factors A and B.<br />

• If the weighted cell mean for COEFF is 1 when A equals B and –1 otherwise, this example<br />

tests whether the log-odds ratio equals 0, or in this case, whether variables A and B are<br />

independent.<br />

MODEL Subcommand<br />

MODEL specifies the assumed distribution of your data.<br />

• You can specify only one keyword on MODEL. The default is POISSON.<br />

• If more than one MODEL subcommand is specified, the last specification takes effect.<br />

POISSON The Poisson distribution. This is the default.<br />

MULTINOMIAL The multinomial distribution. For the logit model, you must specify<br />

MULTINOMIAL.<br />

CRITERIA Subcommand<br />

CRITERIA specifies the values used in tuning the parameters for the Newton-Raphson<br />

algorithm.<br />

• If multiple CRITERIA subcommands are specified, the last specification takes effect.

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

Saved successfully!

Ooh no, something went wrong!