Hello all,
I have a query about area under the curve (lroc command) and C statistic (calculated using hl user written-program https://www.sealedenvelope.com/stata/hl/ )
I have created a logistic model (picture 1).
Using the 'lroc' command I get an area under the curve value of 0.6869 (picture 2) .
Using the hl user-written program ( https://www.sealedenvelope.com/stata/hl/ ) I get (what I believe) is a C statistic of 0.5697 (picture 3).
From what I have been reading, I believe that for logistic models both these values should be equal?
#1. Am I correct with this belief?
#2. And if so, could anyone please advise me why my two values are different.
Thank you for you help
PICTURE 1

PICTURE 2

PICTURE 3
I have a query about area under the curve (lroc command) and C statistic (calculated using hl user written-program https://www.sealedenvelope.com/stata/hl/ )
I have created a logistic model (picture 1).
Using the 'lroc' command I get an area under the curve value of 0.6869 (picture 2) .
Using the hl user-written program ( https://www.sealedenvelope.com/stata/hl/ ) I get (what I believe) is a C statistic of 0.5697 (picture 3).
From what I have been reading, I believe that for logistic models both these values should be equal?
#1. Am I correct with this belief?
#2. And if so, could anyone please advise me why my two values are different.
Thank you for you help
PICTURE 1
PICTURE 2
PICTURE 3
Comment