MATLAB: Compute the p-value of Kaplan Meier curve

kaplan-meiersurvival analysis

What is the function that I need to use to compute the p-value of KM curve?

Best Answer

See here:
Btw, at some point you probably wanna consider moving to R for statistical analysis (MATLAB is very underdeveloped for such purposes). In that case, see R survfit.