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.

LOGLINEAR<br />

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

The syntax for LOGLINEAR is available only in a syntax window, not from the dialog box<br />

interface. See GENLOG for information on the LOGLINEAR command available from the<br />

dialog box interface.<br />

Overview<br />

LOGLINEAR varlist(min,max)...[BY] varlist(min,max)<br />

[WITH covariate varlist]<br />

[/CWEIGHT={varname }] [/CWEIGHT=(matrix)...]<br />

{(matrix)}<br />

[/GRESID={varlist }]<br />

{(matrix)}<br />

[/GRESID=(matrix)...]<br />

[/CONTRAST (varname)={DEVIATION [(refcat)] } [/CONTRAST...]]<br />

{DIFFERENCE }<br />

{HELMERT }<br />

{SIMPLE [(refcat)] }<br />

{REPEATED }<br />

{POLYNOMIAL [({1,2,3,...})]}<br />

{ {metric } }<br />

{[BASIS] SPECIAL(matrix) }<br />

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

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

[DEFAULT]]<br />

[/PRINT={[FREQ**][RESID**][DESIGN][ESTIM][COR]}]<br />

{DEFAULT }<br />

{ALL }<br />

{NONE }<br />

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

{DEFAULT }<br />

{RESID }<br />

{NORMPROB}<br />

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

{INCLUDE }<br />

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

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

Example<br />

LOGLINEAR JOBSAT (1,2) ZODIAC (1,12) /DESIGN=JOBSAT.<br />

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

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

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

816

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

Saved successfully!

Ooh no, something went wrong!