Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Combining ROC curves in one graph

From   Kim Peeters <>
To   Statalist <>
Subject   st: Combining ROC curves in one graph
Date   Fri, 19 Aug 2011 00:58:54 -0700 (PDT)

Dear Stata-users,

I have plotted three ROC curves using

roctab x1 y1, graph name(rocgraph1) nodraw
roctab x2 y2, graph name(rocgraph2) nodraw
roctab x3 y3, graph name(rocgraph3) nodraw

How can I combine these three roclines into one graph. || or (...) do not seem to work.

Moreover, I would like to do the same thing after rocfit and rocplot:

rocfit x1 y1
rocplot, confband name(rocfit1) nodraw
rocfit x2 y2
rocplot, confband name(rocfit2) nodraw
rocfit x3 y3
rocplot, confband name(rocfit3) nodraw

Thank you for your advice.

P.S. I don't want to array the separately drawn graphs into one using graph combine. I just need one graph that contains all three ROC lines.

Best regards,
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index