Multiple Comparisons Survival Curve Calculator

Analyze Kaplan Meier curves and log rank contrasts. Input interval events, censoring, and group labels. Export tables, inspect plots, and report corrected comparisons easily.

Calculator input

Use shared time points for all groups. Enter event counts and censored counts for each interval. Leave unused groups unchecked.

Use increasing values. Every group follows these intervals.
Holm gives strong control with more power than Bonferroni.
Input notes
  • Counts should align with the shared time list.
  • Events plus censoring cannot exceed those at risk.
  • Times may be months, weeks, or any consistent unit.
  • At least two checked groups are required.

Group 1

Group 2

Group 3

Group 4

Example data table

This sample matches the default values loaded in the calculator.

Time Treatment A Events Treatment A Censored Treatment B Events Treatment B Censored Treatment C Events Treatment C Censored
3426332
6638343
9749463
128411574
159510585

Formula used

1) Kaplan Meier survival step

At each time point t, survival updates as:
S(t) = S(previous) × (1 − d / n)
where d is the number of events at that time and n is the number at risk just before that time.

2) Pairwise log-rank comparison

For each pair of groups, expected events in Group A at each shared time are:
E(A) = d × nA / (nA + nB)
The comparison statistic uses the sum of observed minus expected events across all times:
Chi-square = [Σ(OA − EA)]² / ΣV

3) Variance term

The variance at each time is:
V = nA × nB × d × (n − d) / [n² × (n − 1)]
where n = nA + nB and d is total events in the pair at that time.

4) Multiple comparison adjustment

Raw pairwise p-values are adjusted using Holm, Bonferroni, or Šidák correction. This reduces false positives when many pairwise tests are reviewed together.

5) Restricted mean survival time

RMST is the area under the estimated survival curve from time zero to the final listed time. It summarizes average survival time over the observed window.

How to use this calculator

  1. Enter shared follow-up times in increasing order.
  2. Choose an alpha level and correction method.
  3. Check the groups you want to compare.
  4. Add each group label and initial sample size.
  5. Enter event counts for every interval.
  6. Enter censored counts for the same intervals.
  7. Click the calculate button to show results above the form.
  8. Review group metrics, pairwise tests, and the survival plot.
  9. Use the export buttons for CSV and PDF output.

FAQs

1) What does this calculator compare?

It compares survival curves across several groups using reconstructed Kaplan Meier steps and pairwise log-rank style statistics from grouped interval counts.

2) Do all groups need the same time points?

Yes. This version assumes shared interval boundaries for every group so event totals and risk sets line up correctly during pairwise comparisons.

3) Can I use summary data instead of patient records?

Yes. Enter interval event counts, censoring counts, and the starting sample size for each group. Individual subject records are not required here.

4) Which correction method should I choose?

Holm is a strong default. It controls family-wise error and is usually less conservative than Bonferroni while keeping interpretation straightforward.

5) What does “median survival not reached” mean?

It means the estimated survival curve never dropped to 0.50 or below during the listed follow-up window, so a median cannot be read yet.

6) How should I interpret adjusted p-values?

Use adjusted p-values for final decisions when many pairwise tests are run. They account for multiplicity and help reduce false positive findings.

7) Why can one group have higher survival but no significance?

Visible separation does not guarantee statistical significance. Small sample sizes, limited events, heavy censoring, or overlapping risk patterns can weaken evidence.

8) Can I export the results for reports?

Yes. The page provides CSV export for tables and PDF export for the result panel so you can share calculations and charts easily.

Related Calculators

5 probability calculatorx probability calculatorn s probability calculatorsurvivability calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.