Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: Combining ROC curves in one graph


From   Kim Peeters <kimpeeters84@yahoo.com>
To   Statalist <statalist@hsphsun2.harvard.edu>
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,
Kim
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index