Please verify you are human to use the calculator.
Record the time from study entry to either the event of interest (event=1) or loss to follow-up / study end (event=0, censored). Optionally assign subjects to groups for comparison.
At each event time, the survival probability is updated by multiplying by (1 − d/n), where d is the number of events and n is the number still at risk. This produces the characteristic step function.
Greenwood's formula provides the variance of S(t) at each time point, yielding 95% confidence bands that widen as fewer subjects remain at risk.
The log-rank test compares observed vs expected events across groups at each event time. A small p-value indicates a statistically significant difference in survival between groups.
Survival analysis is a branch of statistics dealing with time-to-event data, where the event of interest might be death, disease recurrence, equipment failure, or customer churn. The Kaplan-Meier estimator is the most widely used non-parametric method for estimating the survival function, and it handles censored observations naturally — a key advantage over simple methods that would either exclude or miscount incomplete follow-up.
While the Kaplan-Meier curve and log-rank test are powerful descriptive and comparative tools, they do not adjust for covariates. When you need to control for confounding variables such as age, treatment dose, or comorbidities, parametric and semi-parametric models become necessary. Our tutorial on Cox proportional hazards regression demonstrates how to model the effect of covariates on the hazard function. For a fully Bayesian approach that quantifies parameter uncertainty, see our guide on Bayesian survival analysis with PyMC.
Time-to-event models reach patients through a clinical pathway, an audit trail and a governance sign-off, and that route is usually longer than the modelling. Sesen AI is led by an Oxford AI DPhil with a peer-reviewed clinical AI record. Our medical AI consulting covers medtech founders and private clinical groups, and clinical decision support consulting covers models that inform a clinician's decision directly.
Diagnostic test metrics: sensitivity, specificity, PPV, NPV, odds ratio, relative risk, NNT, and likelihood ratios with 95% confidence intervals.
Try itFree calculators for t-tests, chi-square, ANOVA, Mann-Whitney U, confidence intervals, sample size, power analysis, and effect size.
Try itGet notified when new tutorials and deep-dives are published. No spam, unsubscribe anytime.
Common questions about survival curves, censoring, and the log-rank test