CSCOXREG
Cox proportional hazards regression for a complex sample.
Syntax
Section titled “Syntax”CSCOXREG time [BY factors] [WITH covariates] /VARIABLES STATUS=var(values) [BASELINESTRATA=var] /PLAN FILE='file.csaplan' [/MODEL …] [/CRITERIA CILEVEL=95 TIES=BRESLOW] [/TEST …] [/DOMAIN …] [/MISSING …].Synopsis
Section titled “Synopsis”| Kind | Procedure (reads data, produces output) |
| Body | main /SUBCOMMAND[=] … |
| Changes data | no |
| Subcommands | /CRITERIA, /DOMAIN, /INTERCEPT, /MISSING, /MODEL, /PLAN, /PRINT, /SAVE, /STATISTICS, /TEST, /VARIABLES |
| Menu | Analyze ▸ Complex Samples |
| Slot: Time | 1–1 variable(s); levels: scale; types: numeric |
| Slot: Status | 1–1 variable(s); levels: nominal, ordinal, scale; types: numeric |
| 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”- VARIABLES: STATUS=var(event values); BASELINESTRATA=var gives each stratum its own baseline hazard
- 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
Examples
Section titled “Examples”CSCOXREG months BY treatment WITH risk /VARIABLES STATUS=relapse(1) /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.
- Ties use Breslow’s method; start (entry) times are not supported.
- A start time before the end time gives counting-process (start, stop] risk sets: CSCOXREG start end WITH …. /CRITERIA TIES=EFRON.
Related
Section titled “Related”Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.