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
reshape commandhi, I need to reshape a huge data set wide to long (2557 binary variables and 1.6 million observatio…
Hosmer–Lemeshow test for large data setsHosmer–Lemeshow test for large data sets gives low p value despite perfectly fitting model. Increasi…
Using Multiple Imputations in Propensity Score MatchingHello everyone, I want to see the impact of a treatment, hence, using the propensity score matching…
stata mp 15 computing speedhi, I recently upgraded to stata mp 15 in order to use the multi processor capabilities. however, wh…
firthlogit: initial vector: matrix must be dimension 10Dear Stataforum First, I want to thank all Stataforum contributors for your yeoman service. I have …
Subscribe to:
Post Comments (Atom)
0 Response to ROC curves in Stata
Post a Comment