Re: [R] help on ROC analysis

2008-01-01 Thread zhijie zhang
Thanks. library(ROCR) was used finally. It also automatically generate a plot beside the value of AUC. On Dec 31, 2007 11:38 PM, Frank E Harrell Jr <[EMAIL PROTECTED]> wrote: > zhijie zhang wrote: > > Dear all, > > Some functions like 'ROC(Epi)' can be used to perform ROC analyssi, > but it > >

Re: [R] help on ROC analysis

2007-12-31 Thread Frank E Harrell Jr
zhijie zhang wrote: > Dear all, > Some functions like 'ROC(Epi)' can be used to perform ROC analyssi, but it > needs us to specify the fitting model in the argument. Now i have got the > predicted p-values (0,1) for the 0/1 response variable using some other > approach, see the following example

Re: [R] help on ROC analysis

2007-12-31 Thread Wensui Liu
Hi, ZJ, In verification package, there is a function that takes observed response and predicted probability and then calculate the ROC. I am not sure if it is what you are after. On Dec 31, 2007 10:27 AM, zhijie zhang <[EMAIL PROTECTED]> wrote: > Dear all, > Some functions like 'ROC(Epi)' can be

[R] help on ROC analysis

2007-12-31 Thread zhijie zhang
Dear all, Some functions like 'ROC(Epi)' can be used to perform ROC analyssi, but it needs us to specify the fitting model in the argument. Now i have got the predicted p-values (0,1) for the 0/1 response variable using some other approach, see the following example dataset: id mark predict.p