image thumbnail

MatSurv

version 1.1.02 (1.5 MB) by Anders
Survival analysis in MATLAB

662 Downloads

Updated 01 Jul 2020

From GitHub

View license on GitHub

MatSurv is a simple survival analysis function for MATLAB (version 2016b and later) that creates a KM-plot with risk table. Survival statistics, such as log rank p-value and Hazard Ration (HR) is also calculated. The log rank test has been tested to give the same results as SAS and R. The style of the KM-plot is easily changed with input parameters. No additional toolboxes are needed. MatSurv was inspired by the survminer R-package (https://github.com/kassambara/survminer).
More examples can be found at: https://github.com/aebergl/MatSurv

Cite As

Creed, Jordan, et al. “MatSurv: Survival Analysis and Visualization in MATLAB.” Journal of Open Source Software, vol. 5, no. 46, The Open Journal, Feb. 2020, p. 1830, doi:10.21105/joss.01830.

View more styles
MATLAB Release Compatibility
Created with R2017a
Compatible with R2016b to R2019b
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: KMplot, Logrank

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.