I sent this out about a week ago but received no replies so I thought I
would try one more time. Does anyone know a way of creating a single ROC curve plot using separate cases for each curve? I know that you can plot multiple curves on the same plot if you use the same casees for each curve but different test variables. What I need to do is put two or more different groups of cases on the same plot using the same test variable for all of them. Any help on this question would be appreicated. -- Michael Kruger "A True Prince" Statistical Analyst C.S. Mott Center Dept. of OB/GYN Wayne State University School of Medicine (313)-577-1794 |
Michael, I think the only way to do this would be to run your separate
analyses, save the sensitivity and 1-specificity values from each, and then plot the multiple paired values on a single joint line graph. Greg | -----Original Message----- | From: SPSSX(r) Discussion [mailto:[hidden email]] | On Behalf Of Michael Kruger | Sent: Wednesday, January 17, 2007 2:41 PM | To: [hidden email] | Subject: Overlapping of ROC Graphs | | I sent this out about a week ago but received no replies so I | thought I | would try one more time. | | | Does anyone know a way of creating a single ROC curve plot using | separate cases for each curve? I know that you can plot | multiple curves | on the same plot if you use the same casees for each curve | but different | test variables. What I need to do is put two or more | different groups of | cases on the same plot using the same test variable for all | of them. Any | help on this question would be appreicated. | | -- | Michael Kruger | "A True Prince" | Statistical Analyst | C.S. Mott Center | Dept. of OB/GYN | Wayne State University School of Medicine | (313)-577-1794 | |
In reply to this post by Michael Kruger
I don't know of a way to do this other than "doing it yourself" as below:
data list free/sens spec. begin data. paste coordinates copied from output for group 1 here end data. compute group = 1. SAVE OUTFILE='C:\...\tmp1.sav' /COMPRESSED. data list free/sens spec. begin data. paste coordinates copied from output for group 2 here end data. compute group = 2. ADD FILES /FILE=* /FILE='C:\...\tmp1.sav'. EXECUTE. GRAPH/LINE(MULTIPLE)MEAN(sens) BY spec BY group . Anita van der Kooij Data Theory Group Leiden University ________________________________ From: SPSSX(r) Discussion on behalf of Michael Kruger Sent: Wed 17/01/2007 20:40 To: [hidden email] Subject: Overlapping of ROC Graphs I sent this out about a week ago but received no replies so I thought I would try one more time. Does anyone know a way of creating a single ROC curve plot using separate cases for each curve? I know that you can plot multiple curves on the same plot if you use the same casees for each curve but different test variables. What I need to do is put two or more different groups of cases on the same plot using the same test variable for all of them. Any help on this question would be appreicated. -- Michael Kruger "A True Prince" Statistical Analyst C.S. Mott Center Dept. of OB/GYN Wayne State University School of Medicine (313)-577-1794 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** |
Free forum by Nabble | Edit this page |