title: How to calculate a c-index
body: <p>Is there any Stata code for calculating the <code>c-index</code> (also known as c-statistics and concordance statistics), for fine gray? </p>
  
  <p>I found an R package that does this but I have no idea how to do it in Stata.</p>