Skip to content

CSLOGISTIC

Binary or multinomial logistic regression for a complex sample.

CSLOGISTIC dep [(LOW|HIGH|value)] [BY factors] [WITH covariates] /PLAN FILE='file.csaplan' [/MODEL …] [/INTERCEPT …]
[/CRITERIA …] [/TEST …] [/DOMAIN …] [/MISSING …] [/PRINT CLASSTABLE] [/SAVE PREDCAT PREDPROB].
Kind Procedure (reads data, produces output)
Body main /SUBCOMMAND[=] …
Changes data yes, undoable
Subcommands /CRITERIA, /DOMAIN, /INTERCEPT, /MISSING, /MODEL, /PLAN, /PRINT, /SAVE, /STATISTICS, /TEST
Menu Analyze ▸ Complex Samples
Slot: Dependent Variable 1–1 variable(s); levels: nominal, ordinal; types: numeric, string
Slot: Factors 0+ variable(s); levels: nominal, ordinal, scale; types: numeric, string
Slot: Covariates 0+ variable(s); levels: nominal, ordinal, scale; types: numeric
  • PLAN: FILE=‘file.csaplan’, the analysis plan (required)
  • MODEL: effects, e.g. a b a*b x (default: main effects of every factor and covariate)
  • INTERCEPT: INCLUDE=YES (default) or NO
  • CRITERIA: CILEVEL=95, the confidence level
  • TEST: TYPE=F (default), ADJF, CHISQUARE or ADJCHISQUARE for the tests of model effects
  • DOMAIN: VARIABLE=var(value) fits the model to one subpopulation while keeping the full design
  • MISSING: CLASSMISSING=EXCLUDE (default) or INCLUDE for user-missing factor values
  • PRINT: CLASSTABLE, the weighted classification table
  • SAVE: PREDCAT (predicted category) and PREDPROB (one probability per category)
CSLOGISTIC insured (LOW) BY rural WITH age /PLAN FILE='survey.csaplan'.
  • The analysis plan (CSPLAN ANALYSIS or CSSELECT /ANALYSISPLAN) supplies the weight, strata, clusters and finite population correction. Variances are Taylor-series linearization estimates; tests and intervals use the design degrees of freedom (first-stage units − strata). WEIGHT BY is ignored.
  • The reference category is the highest value unless LOW or a value is given; with more than two categories each non-reference category gets its own logit.

CSGLM, CSORDINAL, LOGISTIC REGRESSION, NOMREG


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