I had to code for my needs:<br><br>pearson, spearman (copy-paste from Biocaml this one), mean, median, std_dev<br>+ some significance test for the Pearson score.<br><br>While doing this, I just felt I was wasting my time<br>(especially once I noticed there is a stat module in Haskell with all of this,<br>crafted by people much more versed than me in numerical algorithms, I guess).<br><br>And, the cherry at the top of the cake, having to declare pi ...<br><br>On Tuesday, November 13, 2012 10:00:14 AM UTC+9, Francois Berenger wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Yes, I noticed this also very recently.<br><br>On Tuesday, November 13, 2012 12:54:16 AM UTC+9, Markus wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">True, it surprisingly seems that Spearman hasn't been implemented in GSL yet.
<br>
<br>On Mon, Nov 12, 2012 at 10:39 AM, Ashish Agarwal <<a>agarw...@gmail.com</a>> wrote:
<br>> I found Pearson correlation in GSL [1] but don't see Spearman.
<br>>
<br>> [1] <a href="http://www.gnu.org/software/gsl/manual/html_node/Correlation.html" target="_blank">http://www.gnu.org/software/<wbr>gsl/manual/html_node/<wbr>Correlation.html</a>
<br>>
<br>>
<br>>
<br>> On Mon, Nov 12, 2012 at 10:20 AM, Markus Mottl <<a>markus...@gmail.com</a>>
<br>> wrote:
<br>>>
<br>>> On Mon, Nov 12, 2012 at 10:08 AM, Ashish Agarwal <<a>agarw...@gmail.com</a>>
<br>>> wrote:
<br>>> > We have these in Biocaml.Math, which is not a great place for them. It
<br>>> > would
<br>>> > be nice for OCaml to have some math/statistics libraries. OCaml-R has a
<br>>> > binding to R's math library, but there isn't a stable release.
<br>>>
<br>>> There are two libraries that should mostly address your needs for math
<br>>> and statistics: lacaml and gsl-ocaml:
<br>>>
<br>>> <a href="https://bitbucket.org/mmottl/lacaml" target="_blank">https://bitbucket.org/mmottl/<wbr>lacaml</a>
<br>>> <a href="https://bitbucket.org/mmottl/gsl-ocaml" target="_blank">https://bitbucket.org/mmottl/<wbr>gsl-ocaml</a>
<br>>>
<br>>> The first one interfaces most of BLAS/LAPACK, which are the de-facto
<br>>> standard for heavy-duty linear algebra (vector and matrix operations,
<br>>> factorizations, eigenproblems, solving equations and least-squares
<br>>> problems, etc.).
<br>>>
<br>>> gsl-ocaml interfaces most of the GNU Scientific Library, which is
<br>>> probably the most widely used open source library for that purpose.
<br>>>
<br>>> Regards,
<br>>> Markus
<br>>>
<br>>> --
<br>>> Markus Mottl <a href="http://www.ocaml.info" target="_blank">http://www.ocaml.info</a> <a>markus...@gmail.com</a>
<br>>
<br>>
<br>
<br>
<br>
<br>--
<br>Markus Mottl <a href="http://www.ocaml.info" target="_blank">http://www.ocaml.info</a> <a>markus...@gmail.com</a>
<br></blockquote></blockquote>