Cox proportional hazards
Model time-to-event outcomes with censoring and estimate covariate-associated hazard ratios.
Data requirements
Use positive numeric survival durations, a binary event-status column and predictors. The model handles right-censored observations.
Upload UTF-8 CSV or TSV with unique column names in the first row. Blank, NA, N/A, NaN and NULL entries are treated as missing. Files support up to 2 MiB, 10,000 rows, 60 columns and 200,000 cells; module-specific limits also apply.
Parameters
Names match the analysis form. Starting values describe a newly loaded form; column selections depend on your uploaded data. Matching example column names may be preselected. Review every selection before running.
“Optional / conditional” fields may be required by a particular mode or method. The explanation states when each field takes effect. Hold Ctrl / Command to select multiple columns.
Confidence level
NumberEnter a proportion strictly between 0 and 1, such as 0.95 for a 95% confidence interval.
Event status
ColumnBinary event-status column. Values matching Event are events; the other status is censored.
Predictors
Multiple columnsSelect up to 15 explanatory variables. Exclude the outcome; Cox models also exclude survival time. Unmarked predictors must be numeric.
Categorical variables
Multiple columnsSelect the categorical subset of the predictors, including numeric category codes. The first alphabetical level is the reference, with at most 12 levels per predictor.
Event value
TextExact observed status identifying the event, commonly 1. It must occur in the analyzed status column.
Time
ColumnPositive survival duration in a consistent unit. Exclude time and the status outcome from predictors.
Example settings
Load the bundled example in the analysis workspace, or upload the example CSV linked above, then use these settings. These are illustrative choices for the synthetic data.
| Parameter | Setting |
|---|---|
| Confidence level | 0.95 |
| Event status | status |
| Predictors | x, z |
| Categorical variables | Blank |
| Event value | 1 |
| Time | time |
Results
The coefficients table includes hazard ratios and intervals. Rank-time Schoenfeld tests support proportional-hazards checks. Model diagnostics export event and censoring counts, fitted terms, apparent concordance, partial log likelihood and partial AIC. Warnings identify low event-to-term ratios and unadjusted PH diagnostic p values below 0.05. Additional downloadable analysis-summary and diagnostics tables describe the analysis scope and method checks. Selected-variable missingness is reported where applicable. Diagnostics do not establish external validity or verify untested assumptions.
Review the reported method, observation count and notes alongside the estimates. Result tables can be downloaded as CSV and the figure as PNG.
Notes & limitations
- Rows missing time, status or predictors are excluded. Ties use Efron's method. Convergence warnings and non-finite coefficient or interval estimates prevent a successful result. Review proportional-hazards assumptions and predictor reference levels.