|
|
| File Information |
| Description |
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 use the Kaplan-Meier procedure to estimate the survival function, so it is mandatory to download
KMPLOT (http://www.mathworks.com/matlabcentral/fileexchange/22293).
My profile on LinkedIN http://it.linkedin.com/in/giuseppecardillo |
| Required Products |
Statistics Toolbox
|
| MATLAB release |
MATLAB 7.6 (R2008a)
|
| Other requirements |
KMPLOT (http://www.mathworks.com/matlabcentral/fileexchange/22293). |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 05 Dec 2008 |
changes in help section for correct citation |
| 08 Jun 2009 |
correction when the first value is censored |
| 28 Jul 2009 |
Correction to avoid NaN in Standard error computation |
| 09 Sep 2009 |
Correction of a bug that occurs when data are not censored |
| 23 Dec 2009 |
Changes in description |
| 25 Feb 2010 |
Changes in code to solve an incompatibility with Mac (Thanks to Tim the cyclist) |
| 09 Dec 2010 |
correction in p-value computation (thanks to Prof. Brani Vidakovic) |
| 22 Sep 2011 |
hazard ratio added |
| 06 Apr 2012 |
function was adapted to the new kmplot function |
| 10 May 2012 |
It is better clarified that this is a 2-tailed test |
| 18 Jul 2012 |
Mantel-Haenszel Hazard ratio was added |
|
Contact us