This program is a SCOPE sub-routine extends Matlab 2-sample Kolmogorov-Smirnov test to test "censored" survival data stored in an excel file.
This version does not use normalization hence it takes into account the
failures at the zero time.
This program expects to have at least three excel columns 1. follow up time and 2. failure indicator (1=failure has occured and 0=no failure has occurred and 3. predictor (1=present, 0=absent).
A randomly generated excel data file example was included for testing with an earlier version.
Type this at the command line to run: [h,p,k]= xlsSeerComputeSurvivalFuntionKSTest2ver2('survivalPreditorsTestData.xls')
Rex Cheung (2021). xlsSeerComputeSurvivalFuntionKSTest2ver2 (https://www.mathworks.com/matlabcentral/fileexchange/42407-xlsseercomputesurvivalfuntionkstest2ver2), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!