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
Related Posts with Query regarding appropriate ROC curve function
How do we test the hypothesis of coefficient stability across sub-groupHello everyone, I would like to know if there is a coefficient stability test between two models, o…
Merging 4 variables into 1 on Stata?Hi there, I tried to use dataex but the following error emerged: "data width (406 chars) exceeds ma…
Table of descriptive data. Possible to switch rows and columns using tabstat?Hello, In my dataset I have 3 groups (1, 2, 3) and 20 continous variables (A, B, C, etc. ) for each …
Add shade in the graphDear all, I want to add shade in my graph when the variable corr_x is negative. Code: * Example ge…
Add shade in the graphDear all, I want to add shade in my graph when the variable corr_x is negative. Code: * Example ge…
Subscribe to:
Post Comments (Atom)
0 Response to Query regarding appropriate ROC curve function
Post a Comment