title: SAS. How to make two ROC-curve (of two comparison groups) ON THE SAME plot?
body: <p>SAS (9.4) dataset (d) includes 3 variables:
  Y,
  marker (=0 and 1) and 
  group (=1 and 2).
  How to make two ROC-curve ON THE SAME plot? I watched a lot to the internet, but, unfortunately, did't understand the explanation. I would be very grateful for the help! So, how to put a group variable here? (P.S. And also get AUC with confidence intervals.) </p>
  
  <p>ods graphics on;</p>
  
  <p>proc logistic data=d plots=EFFECT plots=ROC;</p>
  
  <p>model marker (event='1') = Y;</p>
  
  <p>run;</p>
  
  <p>ods graphics off;</p>
  
  <p>P.S. Now I'll add a sample.</p>
  
  <p>Y – it's person's weight</p>
  
  <p>group (=1 and 2) where 1 is male, 2 – female</p>
  
  <p>marker (=0 and 1) where 1 means that weight is surplus and 0 means that weight is normal.</p>
  
  <p>I need to get two ROC-curves (for men and women) on the same plot for comparison their.</p>