Skip to content

GLM

General linear model: univariate for one dependent variable (as UNIANOVA), multivariate (MANOVA/MANCOVA) for several, and repeated measures with within-subjects factors.

GLM dep [dep …] [BY factors] [WITH covariates]
[/WSFACTOR=name k [POLYNOMIAL[(metric)]|SIMPLE[(ref)]|DEVIATION[(ref)]|DIFFERENCE|HELMERT|REPEATED] [name k …]]
[/WSDESIGN=f1 f2 f1*f2] [/MEASURE=name]
[/METHOD=SSTYPE(1|2|3|4)] [/INTERCEPT=INCLUDE|EXCLUDE] [/PRINT=DESCRIPTIVE ETASQ PARAMETER HOMOGENEITY]
[/EMMEANS=TABLES(OVERALL|f|f1*f2) [COMPARE ADJ(LSD|BONFERRONI|SIDAK)]] [/PLOT=PROFILE(f|f1*f2)]
[/POSTHOC=f(TUKEY …)] [/SAVE=PRED RESID ZRESID] [/CRITERIA=ALPHA(.05)] [/DESIGN=…].
Kind Procedure (reads data, produces output)
Body main /SUBCOMMAND[=] …
Changes data yes, undoable
Subcommands /CRITERIA, /DESIGN, /EMMEANS, /INTERCEPT, /MEASURE, /METHOD, /MISSING, /PADJUST, /PLOT, /POSTHOC, /PRINT, /RANDOM, /REGWGT, /ROBUST, /SAVE, /WSDESIGN, /WSFACTOR
Menu Analyze ▸ General Linear Model
Slot: Dependent Variable(s) 1+ variable(s); levels: scale; types: numeric
Slot: Fixed Factor(s) 0+ variable(s); levels: nominal, ordinal; types: numeric, string
Slot: Covariate(s) 0+ variable(s); levels: scale; types: numeric
  • WSFACTOR: names each within-subjects factor with its number of levels and contrast; the dependent variables are the cells, with the last factor changing fastest
  • WSDESIGN: within-subjects effects to test (default: full factorial of the within-subjects factors)
  • PRINT=HOMOGENEITY: Box’s M test of equal covariance matrices and Levene’s test for each dependent variable
GLM reading writing maths BY method /PRINT=ETASQ HOMOGENEITY.
GLM anx1 anx2 anx3 BY group /WSFACTOR=session 3 POLYNOMIAL /EMMEANS=TABLES(session) COMPARE ADJ(BONFERRONI) /WSDESIGN=session /DESIGN=group.
  • Multivariate tests: Pillai’s trace, Wilks’ lambda (Rao’s F), Hotelling’s trace and Roy’s largest root (upper-bound F); all four are exact when the effect has one degree of freedom.
  • Repeated measures: Mauchly’s test of sphericity with Greenhouse-Geisser, Huynh-Feldt (Lecoutre correction) and lower-bound epsilons, corrected univariate tests, multivariate tests and within-subjects contrasts.
  • Doubly multivariate designs (several /MEASURE names) and /RANDOM with several dependent variables are not supported.
  • Doubly multivariate repeated measures: several /MEASURE names, each measured at every level of the within-subjects factors. /POSTHOC and /SAVE (PRED, RESID, ZRESID per dependent) work with repeated measures.

UNIANOVA, VARCOMP


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