I performed ROC curve analysis on a diagnostic test. While my results displayed the AUC, 95% CI, and standard error, they did not show the p-value. Can you advise me on this?
-
Login or Register
- Log in with
version 18.0
clear *
quietly sysuse auto
*
* Begin here
*
roctab foreign price
display in smcl as text "{it:P} = " ///
as result %04.2f 2 * normal(-abs(r(area) - 0.5) / r(se))
// or (quick 'n' dirty)
ranksum price, by(foreign)
exit
Comment