Skip to content

GENLOG

General loglinear (Poisson or multinomial) and logit loglinear models with cell structures and cell covariates.

GENLOG factors [BY factors] [WITH covariates] [/CSTRUCTURE=var] [/MODEL=POISSON|MULTINOMIAL] [/CRITERIA=CONVERGE(.001) ITERATE(20) DELTA(.5) CIN(95)] [/PRINT=FREQ RESID ADJRESID ZRESID DEV ESTIM DEFAULT ALL NONE] [/DESIGN=terms].
Kind Procedure (reads data, produces output)
Body main /SUBCOMMAND[=] …
Changes data no
Subcommands /CRITERIA, /CSTRUCTURE, /DESIGN, /GLOR, /GRESID, /MISSING, /MODEL, /PLOT, /PRINT, /SAVE
Menu Analyze ▸ Loglinear
Slot: Factor(s) / Dependent(s) 1+ variable(s); levels: nominal, ordinal; types: numeric, string
Slot: Independent factor(s) (logit) 0+ variable(s); levels: nominal, ordinal; types: numeric, string
Slot: Cell covariate(s) 0+ variable(s); levels: scale; types: numeric
Slot: Cell structure 0–1 variable(s); levels: nominal, ordinal, scale; types: numeric
GENLOG smoking bp /MODEL=POISSON /PRINT=FREQ RESID ADJRESID ESTIM /DESIGN=smoking bp.
GENLOG choice BY agegroup region /DESIGN=choice choice*agegroup choice*region.
  • With BY the model is a logit model: the variables before BY are dependents, the independents’ table is fixed and every design term must involve a dependent; dispersion (entropy, concentration) measures are added.
  • Indicator coding with the last category as reference; redundant parameters are set to zero. DELTA is kept in the cells of saturated models only.
  • /GLOR prints generalized log odds ratios, /GRESID adjusted generalized residuals for given cell contrasts, /SAVE writes predicted values and residuals, /PLOT draws residual charts.

HILOGLINEAR, LOGISTIC REGRESSION


Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.