Can someone recommend a good statistics library for Java - it must include the ability to calculate the correlation of two data sets.
I have been trying to compute the correlation of two ArrayLists - for some reason I am getting an incorrect answer (checked in Excel) despite what seems to be sound logic.
I found one at jfree.org which provides a single class called Statistics which includes what I need for now. But if you know of others, please let me know as I'd rather use the best option from the start, rather than changing the code later.