Suppose I have the data below
set.seed(4)
ctt <- runif(50,0,10)
status <- rbinom(50,1,0.7) # 0 control, 1 patient
and subjects with ctt >4.5
are normal (false positive)
and ctt < 4.5
are abnormal (false negative)
. In this case, how could I obtain the ROC curve and auc, specifitiy
and sensitivity
?