Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我有以下数据
set.seed(4) ctt <- runif(50,0,10) status <- rbinom(50,1,0.7) # 0 control, 1 patient
以及带有ctt >4.5arenormal (false positive)和ctt < 4.5are 的主题abnormal (false negative)。在这种情况下,我怎样才能获得 ROC 曲线auc, specifitiy和sensitivity?
ctt >4.5
normal (false positive)
ctt < 4.5
abnormal (false negative)
auc, specifitiy
sensitivity