I have a confusion about ROC curve and hopefully you can help me!
To plot ROC, i was naively using a simple command as plot(False_alarm_rate,Hit_rate,'-'). But, it is not exactly the same as perfcurve plot. To use this function, i wrote the following script
Labels=; Labels = ones(size(Q,1),1);
Labels(end/2+1:end) = 0;
PosClass = 1;
[X Y T,AUC] = perfcurve(Labels,Q,PosClass);
could you please tell me , what i am missing here?
- BTW, can we calculate d-prime from output of perfcurve?
thanks in advance, Karlo