Skip to content

Complex Samples General Linear Model

Fits linear regression, ANOVA and ANCOVA models to complex sample data, estimating population coefficients with design-based standard errors.

  • To relate a scale outcome to predictors in weighted, stratified or clustered survey data.
  • To compare group means (factors) while adjusting for covariates in survey data.
  • To fit the model within a subpopulation (domain) while keeping the full design.
  • An analysis plan (CSPLAN ANALYSIS) describes the design.
  • The model is linear in its parameters; the standard errors do not assume constant variance or independent cases within clusters.
  • Enough first-stage units: tests use the design degrees of freedom.
  • Model Summary: the weighted R².
  • Tests of Model Effects: Wald F tests of each effect; the adjusted Wald F is more conservative when the design has few degrees of freedom.
  • Parameter Estimates: coefficients with design-based standard errors, confidence intervals, t tests and design effects. Reference categories are set to zero.

Accounting for the survey design, each additional year of schooling was associated with a 2.1-point higher score, B = 2.10, SE = 0.34, t(58) = 6.18, p < .001.

Syntax: CSGLM score BY sex WITH years /PLAN FILE='survey.csaplan' /TEST TYPE=ADJF /DOMAIN VARIABLE=region(1).


This page comes from OrcStat’s built-in help (the same text as in the app’s Help panel). To suggest a change, open an issue.