Mantel-Haenszel test

Mantel-Haenszel comparison of survival curves
79 téléchargements
Mise à jour 15 mars 2017

Afficher la licence

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.

Citation pour cette source

Peter Ferjancic (2026). Mantel-Haenszel test (https://fr.mathworks.com/matlabcentral/fileexchange/62076-mantel-haenszel-test), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2016b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Industrial Statistics dans Help Center et MATLAB Answers
Version Publié le Notes de version
1.0.0.0