Displaying 1 result from an estimated 1 matches for "tp3447420p3448377".
2011 Apr 13
1
area under roc curve
Dear all,
I want to measure the goodness of prediction of my linear model. That's why
I was thinking about the area under roc curve.
I'm trying the following, but I don't know how to avoid the error. Any help
would be appreciated.
library(ROCR)
model.lm <- lm(log(outcome)~log(v1)+log(v2)+factor1)
pred<-predict(model.lm)
pred<-prediction(as.numeric(pred),