LOGLINEAR
LOGLINEAR is available in Custom Tables and Advanced Statistics.
LOGLINEAR
is a general procedure for model fitting, hypothesis testing, and
parameter estimation for any model that has categorical variables as its major components.
The syntax for LOGLINEAR
is available only in
a syntax window, not from the dialog box interface. See GENLOG for information
on loglinear models available from the dialog box interface.
LOGLINEAR varlist(min,max)...[BY] varlist(min,max)
[WITH covariate varlist]
[/CWEIGHT={varname }] [/CWEIGHT=(matrix)...]
{(matrix)}
[/GRESID={varlist }] [/GRESID=(matrix)...]
{(matrix)}
[/CONTRAST (varname)={DEVIATION [(refcat)] } [/CONTRAST...]]
{DIFFERENCE }
{HELMERT }
{SIMPLE [(refcat)] }
{REPEATED }
{POLYNOMIAL [({1,2,3,...})]}
{ {metric } }
{[BASIS] SPECIAL(matrix) }
[/CRITERIA=[CONVERGE({0.001**})] [ITERATE({20**})] [DELTA({0.5**})]
{n } {n } {n }
[DEFAULT]]
[/PRINT={[FREQ**][RESID**][DESIGN][ESTIM][COR]}]
{DEFAULT }
{ALL }
{NONE }
[/PLOT={NONE** }]
{DEFAULT }
{RESID }
{NORMPROB}
[/MISSING=[{EXCLUDE**}]]
{INCLUDE }
[/DESIGN=effect[(n)] effect[(n)]... effect BY effect...] [/DESIGN...]
**Default if the subcommand or keyword is omitted.
This command reads the active dataset and causes execution of any pending commands. See the topic Command Order for more information.
Example
LOGLINEAR JOBSAT (1,2) ZODIAC (1,12) /DESIGN=JOBSAT.