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<br />

Overview<br />

GENLOG is available in the Advanced Models option.<br />

GENLOG varlist[BY] varlist [WITH covariate varlist]<br />

[/CSTRUCTURE=varname]<br />

[/GRESID=varlist]<br />

[/GLOR=varlist]<br />

[/MODEL={POISSON** }]<br />

{MULTINOMIAL}<br />

[/CRITERIA=[CONVERGE({0.001**})][ITERATE({20**})][DELTA({0.5**})]<br />

{n } {n } {n }<br />

[CIN({95**})] [EPS({1E-8**})]<br />

{n } {n }<br />

[DEFAULT]<br />

[/PRINT=[FREQ**][RESID**][ADJRESID**][DEV**]<br />

[ZRESID][ITERATE][COV][DESIGN][ESTIM][COR]<br />

[ALL] [NONE]<br />

[DEFAULT]]<br />

[/PLOT={DEFAULT** }]<br />

{RESID([ADJRESID][DEV]) }<br />

{NORMPROB([ADJRESID][DEV]) }<br />

{NONE }<br />

[/SAVE=tempvar (newvar)[tempvar (newvar)...]]<br />

[/MISSING=[{EXCLUDE**}]]<br />

{INCLUDE }<br />

[/DESIGN=effect[(n)] effect[(n)]... effect {BY} effect...]<br />

{* }<br />

**Default if subcommand or keyword is omitted.<br />

GENLOG is a general procedure for model fitting, hypothesis testing, and parameter estimation<br />

for any model that has categorical variables as its major components. As such, GENLOG<br />

subsumes a variety of related techniques, including general models of multiway contingency<br />

tables, logit models, logistic regression on categorical variables, and quasi-independence<br />

models.<br />

GENLOG, following the regression approach, uses dummy coding to construct a design<br />

matrix for estimation and produces maximum likelihood estimates of parameters by means<br />

of the Newton-Raphson algorithm. Since the regression approach uses the original parameter<br />

spaces, the parameter estimates correspond to the original levels of the categories and are<br />

therefore easier to interpret.<br />

HILOGLINEAR, which uses an iterative proportional-fitting algorithm, is more efficient<br />

for hierarchical models and useful in model building, but it cannot produce parameter esti-<br />

606

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

Saved successfully!

Ooh no, something went wrong!