I have a diagnostic reference standard (reference), a test with probabilities of a disease (uip) and then about 90 doctors binary diagnosis of has disease (=1) and has not disease (=0)
In my example above I have only included up to bin_uip_u4, but they go up to bin_uip_u90
I want to display the a ROC curve for uip, and then show the curves for all the binary variables on the same graph like this.
The difficulty is that it seems to be impossible for more than 42 variables (I am using Stata/IC 14.2 for Mac). Also, I can't seem to automatically remove the lines for the binary variables - I really just want the uip curve, and then the single points for the binary variables. Many thanks in advance for your help.
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input float uip byte(reference bin_uip_u1 bin_uip_u2 bin_uip_u3 bin_uip_u4) 1.00e-06 0 0 0 0 0 .999836 1 1 1 1 1 .319859 1 1 1 0 0 .002651 0 0 1 0 0 .992511 1 1 1 1 1 .000206 0 0 0 0 0 .009615 0 0 0 0 0 .001493 0 0 0 0 0 8.00e-06 0 0 0 0 0 .001381 0 0 0 0 0
I want to display the a ROC curve for uip, and then show the curves for all the binary variables on the same graph like this.
The difficulty is that it seems to be impossible for more than 42 variables (I am using Stata/IC 14.2 for Mac). Also, I can't seem to automatically remove the lines for the binary variables - I really just want the uip curve, and then the single points for the binary variables. Many thanks in advance for your help.
Comment