public static double kendall ( int [ ] x , int [ ] y ) { if ( x . length != y . length ) throw new IllegalArgumentException ( String . format ( "Arrays have different length: x[%d], y[%d]" , x . length , y . length ) ) ; return 1 - Math . kendall ( x , y ) ; }
Kendall rank correlation distance between the two arrays of type int .