Displaying 1 result from an estimated 1 matches for "sentivity".
2012 Oct 25
2
How to extract auc, specificity and sensitivity
...ocpreds,"spec")@y.values
specs<-slot(fp2,"y.values")[[1]]
specs<-specs[2]
specs
output<-c(int,slope,.5,accuracy,auc,sentiv,specs)
names(output)<-c("Intercept","Slope","CutPoint","Accuracy","AUC","Sentivity",Specificity")
return(output)
}
y<-fitglm(.05,1)
y
The code runs without the sentiv and specs but when I remove the loop i can
get the sensitivity and spec. values ???
[[alternative HTML version deleted]]