[R] selecting cut-off in Logistic regression using ROCR package

Tirthadeep sabya231 at gmail.com
Sat Jun 16 07:18:49 CEST 2007



Hi,

I am using logistic regression to classify a binary psychometric data. using
glm() and then predict.glm() i got the predicted odds ratio of the testing
data. Next i am going to plot ROC curve for the analysis of my study.

Now what i will do:

1. first select a cut-off (say 0.4) and classify the output of predict.glm()
into {0,1} segment and then use it to draw ROC curve using ROCR package 

OR

2. just use the predicted odds ratio in ROCR package to get "error rate" and
use the minimum error rate (as new cut-off) to draw new ROC curve.

waiting for reply.

with regards and thanks.

Tirtha.
-- 
View this message in context: http://www.nabble.com/selecting-cut-off-in-Logistic-regression-using-ROCR-package-tf3931603.html#a11151210
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list