I've carried out a survival analysis. I have a dataset of live singleton deliveries over a few year period (~203, 000 deliveries, 1, 512 events). I'd like to be able to calculate the C-statistic/C-index for my proc phreg model. I have found various macros online to do this, and have them up and running. However, I am concerned that even though I take care of the clustering of children within mothers (mothers could have more than 1 live singleton birth in this three year period) using the covsandwich (aggregate) option, I'm not sure that the macros calculating C-index take clustering into account. I can see that they calculate the usable pairs, concordant and discordant pairs that go into the C-index calculation, but it's not clear they account for clustering. What would you have to do to account for clustering in the C-index calculations or is it sufficient that I used the predicated survival values from a cluster adjusted proc phreg to then calculate the C-index? I should note that the amount of clustering in my data is probably not significant - there are slightly less than 10% of deliveries are a second or third delivery for the mother.

More Catherine M Herzog's questions See All
Similar questions and discussions