Logrank

Comparing survival curves of two groups using the log rank test

5.2K descargas

Actualizado 26 Jun 2018

De GitHub

Ver licencia en GitHub

Comparing survival curves of two groups using the log rank test.
Comparison of two survival curves can be done using a statistical hypothesis test called the log rank test. It is used to test the null hypothesis that there is no difference between the population survival curves (i.e. the probability of an event occurring at any time point is the same for each population). This function uses the Kaplan-Meier procedure to estimate the survival function (KMPLOT), so if it misses, logrank will try to download it from FEX.
Created by Giuseppe Cardillo
giuseppe.cardillo-edta@poste.it

To cite this file, this would be an appropriate format: Cardillo G. (2008). LogRank: Comparing survival curves of two groups using the log rank test http://www.mathworks.com/matlabcentral/fileexchange/22317

Citar como

Giuseppe Cardillo (2023). Logrank (https://github.com/dnafinder/logrank), GitHub. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2014b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Agradecimientos

Inspiración para: MatSurv

Community Treasure Hunt

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

Start Hunting!

No se pueden descargar versiones que utilicen la rama predeterminada de GitHub

Versión Publicado Notas de la versión
2.0.0.0

inputparser; table implementation; github link

1.13.0.0

bug fixed on input data checkpoint section

1.12.0.0

Mantel-Haenszel Hazard ratio was added

1.11.0.0

It is better clarified that this is a 2-tailed test

1.10.0.0

function was adapted to the new kmplot function

1.9.0.0

hazard ratio added

1.7.0.0

correction in p-value computation (thanks to Prof. Brani Vidakovic)

1.6.0.0

Changes in code to solve an incompatibility with Mac (Thanks to Tim the cyclist)

1.5.0.0

Changes in description

1.4.0.0

Correction of a bug that occurs when data are not censored

1.3.0.0

Correction to avoid NaN in Standard error computation

1.2.0.0

correction when the first value is censored

1.1.0.0

changes in help section for correct citation

1.0.0.0

Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.