Dear all

I am calculating the ability of a diagnostic angle measurement that can differentiate between two different diseases. I am trying to draw the ROC and work out the AUC but not sure what ROC function or code is best.

My reference variable is "disease" and my classifier variable is "angle" (this is a continuous measurement, this is normally distributed parametric data).

My code is this:

rocfit Disease Angle, continuous (3)

rocplot

or is this the correct code:

rocfit Disease Angle, continuous(3) generate (v1)

rocplot

Or is this the correct code:

rocreg Disease Angle, probit

rocregplot, classvars(Angle)

I am also a bit confused about the difference between using just probit and ml(maximum likelihood).




Many many thanks in advance