Skip to content

Complex Samples Cox Regression

Fits a Cox proportional hazards model to time-to-event data from a complex sample, estimating population hazard ratios with design-based standard errors.

  • For survival or time-to-event outcomes (time to relapse, to leaving school) collected in a survey with weights, strata or clusters.
  • When some cases are censored (the event had not happened by the end of follow-up).
  • An analysis plan (CSPLAN ANALYSIS) describes the design.
  • Proportional hazards: each predictor multiplies the hazard by a constant factor over time; use baseline strata for a variable that violates it.
  • Ties are handled by Breslow’s method; start (entry) times are not supported.
  • Event and Censoring Summary: unweighted and estimated population numbers of events and censored cases.
  • Tests of Model Effects: Wald tests of each predictor.
  • Parameter Estimates: coefficients with design-based standard errors; Exp(B) is the hazard ratio.

Each additional risk factor increased the hazard of relapse by 34%, HR = 1.34, 95% CI [1.15, 1.56], t(58) = 3.80, p < .001.

Syntax: CSCOXREG months BY treatment WITH risk /VARIABLES STATUS=relapse(1) /PLAN FILE='survey.csaplan'.


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.