| Time | Event | X1 | X2 |
|---|---|---|---|
| 5 | 1 | 0.7 | 12 |
| 6 | 0 | 1.1 | 9 |
| 7 | 1 | 0.2 | 15 |
| 9 | 1 | 1.5 | 7 |
| 10 | 0 | 0.9 | 11 |
| 11 | 1 | 1.8 | 6 |
| 13 | 1 | 0.4 | 14 |
| 15 | 0 | 1.2 | 8 |
Formula used
The Cox model specifies the hazard at time t for covariates x as h(t|x)=h0(t)·exp(βᵀx), where h0(t) is an unspecified baseline hazard.
Estimates are obtained by maximizing the partial log-likelihood ℓ(β)=∑_{i:δi=1}[βᵀxi − log(∑_{j∈R(ti)} exp(βᵀxj))]. Tied event times can be handled using the Breslow or Efron approximations.
Standard errors come from the inverse observed information matrix. Hazard ratios are HR=exp(β). Baseline survival is estimated from the cumulative baseline hazard S0(t)=exp(−H0(t)).
How to use this calculator
- Choose the number of covariates, ties method, and confidence level.
- Enter covariate names, then select manual entry or CSV upload.
- Provide rows with positive time, event indicator, and covariate values.
- Optionally enable standardization and fill prediction profiles.
- Press Calculate to view results above the form.
- Use the CSV and PDF buttons to export the latest output.