### Possible Answer

In statistics, a concordant pair is a pair of observations, each on two variables, { X 1, Y 1 } and { X 2, Y 2 }, having the property that where "sgn" refers to ... - read more

IF _n_= 1 THEN DO; concordant=0; discordant=0; tied=0; END; DO k=1 TO &eventcnt; IF pred_m&i < eventsp[k] THEN concordant= concordant + (wghts[k] * wghtv); - read more

Please vote if the answer you were given helped you or not, thats the best way to improve our algorithm. You can also submit an answer or search documents about how to calculate concordant and discordant pairs.