由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - roc curve in R
相关主题
[R] ROC curve怎么指定cutoffs?How to calculate the area under a curve if just know values of x and y?
How to do ROC curve in R?How to compute the area between my curve and diagonal line
ROCR package in R - how to set cutting point?对比曲线的形状有什么方法吗?
R-square of logistic regressionHow to calculate Area Under the Effect Curve(AUEC)?
ROC curve可以用来比较变量吗高维问题
请教SAS IML调用DATA step数据的问题Does anybody have experience on ROC curve?
123love@新手请教一个问题
老板总问:C很好 为啥gain chart的夹区面积那么小请教,ROC曲线可以应用于那些研究?
相关话题的讨论汇总
话题: roc话题: curve话题: sas话题: logistic话题: rocr
进入Statistics版参与讨论
1 (共1页)
z**********i
发帖数: 88
1
My boss asked me to get the roc curve in r, I never used R before, so all is
new. All I remember is that he mentioned rpart. I know is SAS I need to
perform logistic regression outcome y(normal=0, abnormal=1) on x(a
continuous variable).Then get the roc curve. But have no idea what to do in
R. Anybody can help? Please and thanks!
data is like this:
y x
1 1
0 2
0 3
0 4
1 5
1 8
0 6
a********s
发帖数: 188
2
I just checked that an R package "Epi" has a function called ROC which can
be used to draw roc curve for logistic regression.
GL!
d*******o
发帖数: 493
3
library(ROCR)
z**********i
发帖数: 88
4
library(ROCR), YES. I don't know how to interprete the result.
~~~~~~~~~
Thanks, everybody
R****n
发帖数: 708
D******n
发帖数: 2836
6
还是自己写个AUC的function吧,就几行。
我用那个rocr的居然会报错,不够内存,不知道那些人怎么写的。

【在 R****n 的大作中提到】
: read this ppt. It is quite good!
: http://www.modelia.org/html/081118_ModellingCoursePoland/pdf/11

R******d
发帖数: 1436
7
一列TPR一列FPR,很容易就算出来了

all is
in

【在 z**********i 的大作中提到】
: My boss asked me to get the roc curve in r, I never used R before, so all is
: new. All I remember is that he mentioned rpart. I know is SAS I need to
: perform logistic regression outcome y(normal=0, abnormal=1) on x(a
: continuous variable).Then get the roc curve. But have no idea what to do in
: R. Anybody can help? Please and thanks!
: data is like this:
: y x
: 1 1
: 0 2
: 0 3

h******y
发帖数: 3501
8
搭车问一下,什么TEST能检测2个或N个ROC CURVE是否SIGNIFICANT DIFFERENT?
多谢。
s*******2
发帖数: 499
9
There are at least three packages in R about roc curve area. But I think the
calculation is more accurate in SAS.

is
in

【在 z**********i 的大作中提到】
: My boss asked me to get the roc curve in r, I never used R before, so all is
: new. All I remember is that he mentioned rpart. I know is SAS I need to
: perform logistic regression outcome y(normal=0, abnormal=1) on x(a
: continuous variable).Then get the roc curve. But have no idea what to do in
: R. Anybody can help? Please and thanks!
: data is like this:
: y x
: 1 1
: 0 2
: 0 3

q********i
发帖数: 795
10
DeLong, E. R., DeLong, D. M., and Clarke-Pearson, D. L. (1988), “Comparing
the Areas under Two or More
Correlated Receiver Operating Characteristic Curves: A Nonparametric
Approach,” Biometrics, 44, 837–845.

【在 h******y 的大作中提到】
: 搭车问一下,什么TEST能检测2个或N个ROC CURVE是否SIGNIFICANT DIFFERENT?
: 多谢。

1 (共1页)
进入Statistics版参与讨论
相关主题
请教,ROC曲线可以应用于那些研究?ROC curve可以用来比较变量吗
Anyone knows how to draw several ROC curves in one figure请教SAS IML调用DATA step数据的问题
AUROC和PR-RC curve123love@
请教ROC curve作图老板总问:C很好 为啥gain chart的夹区面积那么小
[R] ROC curve怎么指定cutoffs?How to calculate the area under a curve if just know values of x and y?
How to do ROC curve in R?How to compute the area between my curve and diagonal line
ROCR package in R - how to set cutting point?对比曲线的形状有什么方法吗?
R-square of logistic regressionHow to calculate Area Under the Effect Curve(AUEC)?
相关话题的讨论汇总
话题: roc话题: curve话题: sas话题: logistic话题: rocr