Hi guys,
I am quite new to the topic. However I constructed the toy-example ROC curve displayed in the figure below. ROC curves determine the sensitivity and the specificity of an estimator when its threshold is varied. Stata provides different commands for them: roctab, roccomp, rocfit, rocgold, rocreg, and rocregplot.
Nonetheless, I have constructed figure below using a simple twoway connected command (because I pre-computed FPR and TPR in Matlab).
Array
Now the problem is that I would like to compute the Area Under the Curve (AUC) of such ROC (i.e. area between diagonal line and the curve). How can I do that?
Thank you
Related Posts with ROC curves in Stata
Difference in Differences ResultHey everyone! My name is Jesita. I am currently writing a paper regarding the impact of education de…
Question on interaction termsHello everyone, I am running two multiple linear regression models where the first one needs to have…
How to convert monthly treasury bill rate into daily rate ?Respected All, Can anyone help me out that how to convert monthly treasury bill rate into daily rate…
Question: how to count occurrence with Regex groupedDear all! I want to count the occourences of a variable based on a regex expression - counted by a …
How do I keep "missing values" missing?Hello everyone, I am currently working with Panel Data (firm, year) for my seminar paper and I am i…
Subscribe to:
Post Comments (Atom)
0 Response to ROC curves in Stata
Post a Comment