Logrank
by Fan Lin
21 Jun 2008
(Updated 26 Jun 2008)
Compare the survival distributions of two samples by performing Log-rank test
|
Watch this File
|
| File Information |
| Description |
Log-rank test(Approximate)
The logrank test is a hypothesis test to compare the survival distributions of two samples. It is a nonparametric test and appropriate to use when the data are right censored (technically, the censoring must be non-informative).
logrank(x,y,2)
return p value and graph K-M curves |
| Required Products |
Statistics Toolbox
|
| MATLAB release |
MATLAB 7.4 (R2007a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (3) |
| 23 Jun 2008 |
Jos x@y.z
|
|
|
| 24 Jun 2008 |
Fan Lin
|
|
|
| 26 Jun 2008 |
Fan Lin
|
|
|
| Updates |
| 26 Jun 2008 |
fix bugs |
|
Contact us at files@mathworks.com