Home > biosig > t490 > auc.m

auc

PURPOSE ^

AUC calculates Area-under-ROC curve

SYNOPSIS ^

function [AREA,d,SEN,SPEC,ACC] = auc(d,c,color);

DESCRIPTION ^

 AUC calculates Area-under-ROC curve

 function [AREA,TH,SEN,SPEC,ACC] = auc(d,c,color);
 d     DATA
 c     CLASS, vector with 0 and 1 
 color optional, plots ROC curve
 
 function [AREA,TH,SEN,SPEC,ACC]=auc(d1,d0,color);
 d1    DATA of class 1 
 d2    DATA of class 0
 color optional, plots ROC curve
 
 OUTPUT:
 AREA    area under ROC curve
 TH      Threshold
 SEN     sensitivity
 SPEC    specificity
 ACC     accuracy

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003