Paste survival data with censoring and get product-limit survival curves, median survival, censoring marks, and a log-rank test between two groups. Download a publication-ready SVG.
18 subjects · columns: time, event (1/0), group (optional)
Survival analysis exists to handle a problem ordinary averages cannot: at the end of a study, many subjects have not yet had the event, so their true event time is unknown. The Kaplan-Meier estimator, introduced by Kaplan and Meier (1958), solves this with the product-limit method, multiplying together the conditional probabilities of surviving each successive event time. Subjects with unobserved event times are censored, counted as at risk until they leave, so their partial information is used rather than discarded.
The resulting step curve reads directly: its height at any time is the estimated probability of surviving beyond that time, it drops only at event times, and small ticks mark censored subjects. The most common summary drawn from it is the median survival, the time the curve first crosses 0.5. When most subjects remain event-free at the end of follow-up the curve never reaches 0.5, and the honest report is that median survival was not reached.
Comparing two groups needs a formal test, because two curves can cross or separate by chance. The log-rank test accumulates, at every event time, the difference between observed and expected events under the null hypothesis of identical survival, producing a chi-square statistic and a p-value. This tool computes it automatically for two-group data, so a treatment-versus-control comparison returns both the curves and the significance in one step.
Kaplan-Meier and the log-rank test are the standard unadjusted analysis; they describe survival and compare groups but cannot adjust for other variables. That is the role of Cox proportional-hazards regression, the multivariable follow-up. If your curves come from a published figure rather than raw data, digitize them first with the survival curve digitizer, and for a full time-to-event analysis with adjusted hazard ratios, the biostatistics consulting service runs the Cox models and reporting.
One row per subject with the follow-up time, event indicator (1 event, 0 censored), and an optional group.
A product-limit curve per group, with ticks for censored subjects and the median survival reported.
With two groups, the log-rank test reports whether the survival curves differ significantly.
Download the survival plot as a publication-ready SVG.
Next step
Cox proportional-hazards models, hazard ratios, and publication-ready figures with a reproducible methods section, handled by a PhD statistician.
Our promise: Free re-run and re-write if reviewers question the analysis or reporting.
Timeline
Most projects deliver in under 2 weeks. We confirm an exact date in your quote.
If reviewers push back
If reviewers question the analysis, assumptions, or reporting, we re-run and re-write free.
Confidentiality
NDA available on request before any project discussion. Your data, study design, and manuscript stay private either way.
Want a PhD methodologist to handle the whole project?
Get a complete survival analysis with Cox models, hazard ratios, and publication-ready figures by a PhD statistician. Free re-run and re-write if reviewers question the analysis or reporting. Pay only after you approve your quote.
A Kaplan-Meier curve is a step function that estimates the probability of surviving past each point in time from data where some subjects have not yet had the event. It uses the product-limit estimator: at each time an event occurs, the survival probability is multiplied by one minus the fraction of at-risk subjects who had the event. The curve starts at one and steps downward at each event time, giving a picture of survival over the whole follow-up rather than a single summary number.
The height of the curve at any time is the estimated probability of surviving beyond that time. A curve that stays high indicates good survival, and a steep drop marks a period of high event risk. When two curves are plotted, the one that stays higher has better survival, and the gap between them shows the size of the difference. Small vertical ticks mark censored subjects, those who left the study or had not had the event at last contact.
Censoring occurs when a subject's event time is not fully observed, most often because the study ended or the subject was lost to follow-up before the event happened. These subjects still contribute information, because they were known to be event-free up to their censoring time, and the Kaplan-Meier estimator uses that by keeping them in the at-risk count until they are censored. Ignoring censoring, or treating censored subjects as events, would bias the survival estimate.
The log-rank test compares the survival experience of two or more groups by accumulating, at each event time, the difference between the observed number of events in a group and the number expected if the groups had identical survival. The summed differences form a chi-square statistic; a small p-value indicates the survival curves differ more than chance would allow. This tool runs the log-rank test automatically when the data contain exactly two groups.
Median survival is the time at which the survival curve first drops to 0.5, meaning half the subjects have had the event and half have not. It is the most common single-number summary of a survival curve because it does not require the curve to reach zero. When more than half the subjects are still event-free at the end of follow-up, the curve never reaches 0.5 and the median survival is reported as not reached.
Kaplan-Meier is a non-parametric description of survival in one or a few groups and answers what the survival looks like, but it cannot adjust for other variables. Cox proportional-hazards regression models the hazard as a function of covariates, giving adjusted hazard ratios and handling continuous predictors. Kaplan-Meier curves and the log-rank test are the standard unadjusted analysis; Cox regression is the multivariable follow-up.
To recover survival data from a published figure, the survival curve digitizer extracts the coordinates. For sample-size planning of a survival study, the sample size calculator handles time-to-event outcomes, and to convert a test statistic to a p-value the p-value calculator covers the chi-square distribution. For a full survival analysis with adjusted hazard ratios, the biostatistics consulting service runs the Cox models.
Reviewed by
Dr. Sarah Mitchell holds a PhD in Biostatistics from Johns Hopkins Bloomberg School of Public Health and has over 15 years of experience in systematic review methodology and meta-analysis. She has authored or co-authored 40+ peer-reviewed publications in journals including the Journal of Clinical Epidemiology, BMC Medical Research Methodology, and Research Synthesis Methods. A former Cochrane Review Group statistician and current editorial board member of Systematic Reviews, Dr. Mitchell has supervised 200+ evidence synthesis projects across clinical medicine, public health, and social sciences. She reviews all Research Gold tools to ensure statistical accuracy and compliance with Cochrane Handbook and PRISMA 2020 standards.
Our PhD statisticians run the complete pipeline: differential expression with multiple-testing correction, survival modelling, dimensionality reduction, and publication-ready figures with a reproducible methods section. Constant pricing, most projects delivered in under two weeks.
Our promise: Free pipeline re-run and figure revisions if reviewers push back.
Your project is led by a named PhD methodologist with real credentials and published work.
4.9 / 5 across 1,194+ delivered projects