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
clad model-[variable] not found not foundwhen I use CLAD model, it always saids "[variable] not found post: above message corresponds to expr…
When only one independent variable is non stationary does it make sense to run a cointegration test?Dear Stata users, after checking the stationarity of my panel data regression model: Y = f (X1, X2,…
runmlwin cross-lev interactions and random slope specificationHello, I am fitting a multilevel logit model using runmlwin following the procedure explicated in LE…
Testing if two coefficients are statistical differentDear Stataforum, I am currently investigating the Norwegian electricity market. I am running two r…
Comparing coefficients between two ivregress modelsTo Statalist I used -gmm- to test the equality between two variables (b1, c1) in different models r…
Subscribe to:
Post Comments (Atom)
0 Response to ROC curves in Stata
Post a Comment