CSORDINAL
Cumulative-link regression of an ordinal outcome for a complex sample.
Syntax
Section titled “Syntax”CSORDINAL dep [BY factors] [WITH covariates] /PLAN FILE='file.csaplan' [/LINK FUNCTION=LOGIT|PROBIT|CLOGLOG|NLOGLOG|CAUCHIT] [/MODEL …] [/CRITERIA …] [/TEST …] [/DOMAIN …] [/MISSING …].Synopsis
Section titled “Synopsis”| Kind | Procedure (reads data, produces output) |
| Body | main /SUBCOMMAND[=] … |
| Changes data | no |
| Subcommands | /CRITERIA, /DOMAIN, /INTERCEPT, /LINK, /MISSING, /MODEL, /PLAN, /PRINT, /SAVE, /STATISTICS, /TEST |
| Menu | Analyze ▸ Complex Samples |
| Slot: Dependent Variable | 1–1 variable(s); levels: ordinal, nominal; 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 |
Specifications
Section titled “Specifications”- 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)
- 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
- LINK: FUNCTION, the cumulative link (LOGIT)
Examples
Section titled “Examples”CSORDINAL health BY sex WITH age /PLAN FILE='survey.csaplan' /LINK FUNCTION=PROBIT.- 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 model is P(Y ≤ j) = F(θⱼ − xβ); the thresholds replace the intercept.
- /PRINT PARALLEL fits the general (separate-slopes) cumulative model and tests equal slopes with a design-based Wald test.
- The parallel-lines test reports the Wald χ², the Wald F and the adjusted F (df = PSUs − strata).
Related
Section titled “Related”Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.