i*****c 发帖数: 1322 | 1 I need to calculate the 95%CI of the sensitivity and specificity of a
cutpoint. I searched the internet, which said that I can use ROCR to get it.
Now I have the sensitivity and specificity for a serial cutpoint. Then how
to plot the ROC and get the statistics in R? Can anybody help me? Many
thanks. |
g**********t 发帖数: 475 | 2 可以自己用bootstrap来计算某个点的CI。我没有用过ROCR来计算CI,不过我看文档
ROCR假定sensitivity/specificity服从正态分布(我不喜欢这个假定)。你也可以看
看qROC这个R library。里面有函数(ci.thresholds)来计算confidence interval。 |
i*****c 发帖数: 1322 | 3 Is bootsrap a function in R? |
g**********t 发帖数: 475 | 4 你可以先看看qROC中的ci.thresholds,我看描述可以解决你的问题。如果你想自己写R
的代码,可以用sample函数生成伪数据。
【在 i*****c 的大作中提到】 : Is bootsrap a function in R?
|
i*****c 发帖数: 1322 | 5 I didn't find qROC in R. Do you mean pROC? |
i*****c 发帖数: 1322 | 6 I got it. Thank you so much! |