How can I compute the Spearman correlation of two m×n arrays in Java? Right now I'm using Apache Commons Math, and all the examples I can find are for calculating the Spearman correlation of two 1×n arrays.
I know how to do it using Excel, but I need to do it in Java.