How to compare two unpaired ROC curves

September 2, 2009 by Giuseppe Cardillo · Leave a Comment
Filed under: Statistics 
VN:F [1.8.8_1072]
Rating: 0 (from 0 votes)
VN:F [1.8.8_1072]
Rating: 8.0/10 (1 vote cast)

How to compare to unpaired ROC curves

This function was written to compare two unpaired ROC curves. What this means? This means that you have used the same classificator (i.e. a clinical test) on two different subsets of subjects. This function recalls another function of mine, ROC, to perform all the required computations.

The inputs are, as in ROC, two Nx2 matrix: in the first column you must insert the test value and in the second you must insert 1 if the subject is a patient or 0 if he is healty (or, more general, use 1 and 0 to discriminate the subsets of subjects).

I.E. load uroccompdata

and then call uroccomp(x,y)

The output is a plot:

This is an example ot uroccomp output plot

This is an example ot uroccomp.m output plot

Then the function outputs the statistics computation:

ROC CURVES COMPARE

——————————————————————————–
………..ROC1      ROC2
——————————————————————————–
AUC       0.8994    0.9709
S.E.      0.0308    0.0166
——————————————————————————–
z       2-tails p-value
2.0445  0.040907           The areas are statistically different

where AUC is Area under the curve and S.E. is Standard Error.

If any problems occurs in execution, or if you found a bug, have a suggestion or question just contact me at:

giuseppe dot cardillo-edta at poste dot it

You can visit my homepage http://home.tele2.it/cardillo

My profile on XING http://www.xing.com/go/invita/13675097

My profile on LinkedIN http://it.linkedin.com/in/giuseppecardillo

Download Now

VN:F [1.8.8_1072]
Rating: 8.0/10 (1 vote cast)
VN:F [1.8.8_1072]
Rating: 0 (from 0 votes)

Popularity: 3% [?]

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • Live
  • PDF
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Add to favorites
  • email
  • MySpace
  • RSS