 Goodman and Kruskal's gamma

In statistics, Goodman and Kruskal's gamma is a measure of rank correlation, i.e., the similarity of the orderings of the data when ranked by each of the quantities.It measures the strength of association of the cross tabulated data when both variables are measured at the ordinal level.