I'm having an issue with ROC curves when using ODS graphics and proc logistic: namely, the ROC graphs that are automatically generated appear very jagged and improper - see attached for an example. When I produce the ROC curve using proc gplot and the ROC output data generated by proc logistic, everything is fine - the ROC curves are all convex, and the graph doesn't "turn back on itself". Does anyone know why I'm getting these results? Thanks for the help! Code producing Jagged Curves: ods graphics on ; proc logistic data=test_roc plots(only)=(roc(id=obs) effect) descending; model disease(event='1') = test ; run; ods graphics off; Code producing "nice" curves: proc logistic data=test_roc descending; model disease(event='1') = test / outroc=roc_data; run; proc gplot data=o1; plot _sensit_*_1mspec_ / ctext=black caxis=black vaxis=0 to 1 by .1 haxis= 0 to 1 by .1; run; quit;
... View more