Compute confusin matrix from pamr survival fit
computes confusion matrix for (survival.time,censoring) outcome based on fit object "fit" and class predictions "yhat" soft response probabilities for (survival.time,censoring) are first estimated using Kaplan-Meier method applied to training data
pamr.confusion.survival(fit, survival.time, censoring.status, yhat)
fit |
The result of a call to pamr.train or pamr.cv |
survival.time |
Survival time |
censoring.status |
censoring status |
yhat |
class predictions |
Trevor Hastie, Robert Tibshirani, Balasubramanian Narasimhan, and Gilbert Chu
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.