Mantel-Haenszel test

Mantel-Haenszel comparison of survival curves
79 download
Aggiornato 15 mar 2017

Visualizza la licenza

this function performs the Mantel-Haenszel test comparing two survival curves and returns the p-value. It takes in the total number of patients, a list of all event times (including censoring and loss) and a binary array the same size specifying which of the events happened due to loss/censoring.
It also plots the survival curves if you have the Statistics and Machine Learning Toolbox (otherwise comment out lines 66-72).
See attached example files for how to use.

Cita come

Peter Ferjancic (2025). Mantel-Haenszel test (https://it.mathworks.com/matlabcentral/fileexchange/62076-mantel-haenszel-test), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2016b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0