Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • ROC-AUC curve with confidence intervals and p-value

    I'm trying to create a ROC-AUC curve where the graph includes AUC-values including confidence intervals and p-values.


    Dataexample:

    Code:
    * Example generated by -dataex-. For more info, type help dataex
    clear
    input byte(id truth ref group1 group2 group3 comb_group)
     1 0 0 0 0 0 0
     2 1 1 1 1 1 1
     3 0 1 0 1 0 1
     4 0 0 0 0 0 0
     5 1 0 1 1 0 0
     6 1 1 1 1 1 0
     7 0 1 0 0 1 1
     8 0 0 0 0 0 0
     9 0 0 0 1 0 0
    10 1 0 0 1 0 0
    end

    I have tried something like the following:

    Code:
    roccomp truth ref group1 group2 group3 comb_group, graph
    However, besides the AUC-values, I need the AUC-values to include the confidence intervals. Further, I want p-values with "ref" as reference, and for group1, group2, group3, and comb_group to test whether their AUC is statistically significant different from the "ref"-group.
    Also, I would like True positive rate on the y-axis and False positive rate on the x-axis.


    I hope you can help,

    Thank you for your time.
Working...
X