I am trying to understand the procedure for making a multivariate analysis using simplicial depth. Now what I don't understand is how to get the values for the rank which are in the column r(X)(Table 1). The explanation of the equation used to get r(X)(Equation 6) and the basic procedure followed to get to that value is in the attached images. I tried many possibilities but I don't seem to get the same values. Please any help is appreciated. Thank you.