← Back to Blog
🇬🇧 English

Log-Rank Test in GraphPad Prism: Comparing Survival Curves

Log-Rank Test in GraphPad Prism: Comparing Survival Curves
GraphPad Prism 10 File Edit View Insert Format Analyze Graph Help Survival analysis ▶ ▶ Log-rank test Menü: Analyze → Survival analysis → Log-rank test

📸 Log-Rank test in GraphPad Prism: Survival analysis menu

What Is the Log-Rank Test?

The log-rank test (Mantel-Cox test) compares two or more Kaplan-Meier survival curves to determine whether the groups have statistically different survival distributions. It is non-parametric and considers the entire follow-up period, weighting all time points equally.

Use log-rank when you want to test for an overall group difference. Use Cox regression when you need to adjust for covariates or estimate hazard ratios.

Running Log-Rank in GraphPad

Step 1: Enter data in survival table format: Column A = Time, additional columns = number at risk/events per group.
Step 2: Analyze → Survival analysis → Log-rank test (Mantel-Cox).
Step 3: Select the grouping columns → OK. GraphPad plots KM curves and reports the log-rank p-value, chi-square, and median survival times automatically.
SPSS Statistics Output Viewer Log-Rank Test (GraphPad) Test Chi-square df p value Log-rank (Mantel-Cox) 8.421 1 .004* Gehan-Breslow-Wilcoxon 7.312 1 .007* * p < .05 anlamlı sonuç gösterir

📸 Log-rank test results — significant difference between survival curves

APA Reporting

A log-rank test indicated that survival curves differed significantly between treatment groups, χ²(1)=8.42, p=.004. Median survival was 18.4 months (95% CI [15.2, 21.6]) for Treatment A vs. 11.2 months (95% CI [8.4, 14.0]) for Treatment B.

Professional Statistical Analysis Consulting

Let's run your analyses together with SPSS, GraphPad, and R.

WhatsApp Contact →