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
Reporting duplicates on two variables that are not duplicates on a third variableHi all, I am trying to identify cases that are duplicates on two variables "agencyname" and "statef…
Sum duplicate observationsHello, I am willing to get ride of duplicate observations from my dataset. I have identified the du…
Effect of variation in correlation and the in number of repeated measurements on power analysis with the "power repeated" commandDear Statalisters, I'm using Stata 17.0. By looking at this paper: https://www.jstor.org/stable/pd…
looping through data filesHi, I'm using Stata 14 on Windows. Currently I use this syntax for each country SEPARATELY (here on…
Interpreting results of a model for nonnegative, skewed dependent variablesHi there, I am I am working with data where the outcome is continuous and we have several predictor …
Subscribe to:
Post Comments (Atom)
0 Response to Query regarding appropriate ROC curve function
Post a Comment