Apache Commons-Math seems like an excellent library, but what I don't understand is why we are using 'double' everywhere instead of BigDecimal.
I wrote a simple program to run a Multiple Regression Analysis followed by Rank, and compared my results to those from R stats package and because of lack of precision the 'ranks' are way off. I mean I am assuming that if we had used BigDecimal the ranks would have matched to the ones from R. Is there something I am missing?
