I have some hospital data, where I want to see if any prior condition(s) can predict a specific outcome. To be able to determine which condition(s) best predict the outcome, I will calculate the AUC for each combination of conditions.
I have found several pages explaining how to do that:
https://gist.github.com/cjbayesian/6921118
However, I am not sure what my input should be like. In the last link I can see an input like this:
true_Y = c(1,1,1,1,2,1,2,1,2,2)
probs = c(1,0.999,0.999,0.973,0.568,0.421,0.382,0.377,0.146,0.11)
-but what are these numbers? Im guessing it has something to do with T/F positives/negatives?
Thanks