MatSurv

版本 1.1.03 (1.6 MB) 作者: Anders
Survival analysis in MATLAB
961.0 次下载
更新时间 2022/5/11
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

引用格式

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.

查看更多格式
MATLAB 版本兼容性
创建方式 R2017a
兼容 R2016b 到 R2021b 的版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Industrial Statistics 的更多信息
致谢

参考作品: KMplot, Logrank

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.1.03

Added options to use all four quartile groups, use 'CutPoint', 'QuartileAll'

1.1.02

Fixed bug for Chi2 calculations with more than 4 groups

1.1.01

Fixed description text

1.1

Added JOSS paper and DOI information

1.0.4.3

Additional error checking including minimum number of samples per group and if there is more than one group with zero events. Also added support for multilevel GroupsToUse input in order to merge groups

1.0.4.2

Added an option so the risk table can be placed in the KM-plot (RT_KMplot)

1.0.4.1

Fixed bug in print option

1.0.4

Fixed the HR calculations when there are multiple groups

1.0.3

Small update of functionality

1.0.2

Updated Cite As

1.0.1

Updated stats structure and included Mantel-Haenszel Hazard Ratio

1.0.0.0

Fixed bug where it crashed if there was only 1 group member.
Updated the description
Updated GitHub example figures to match current default settings
Fixed a bug where median survival time was not calculated with the NoPlot option
Updated CutPoint option to include Tertile
Updated LineColor options, median survival time is now calculated and option to print results to the screen
Changed median cut to x < median by default and added an option to change it to x > median. Only affect the results if there is an odd number of samples.
Updated MATLAB version requirement

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库