Re: non-incanter statistical tests?

2015-06-02 Thread Mikera
I intended the core.matrix.stats to be used as a lightweight library as for statistical functions of this nature, while remaining compatible with Incanter and core.matrix. I agree something more lightweight than the whole of Incanter is often required.

Re: non-incanter statistical tests?

2015-06-02 Thread Lee Spector
Thanks Mike, This looks very much like what I want, in principle, although in practice I'm interested in functions like t-test and chisq-test, which haven't yet made it into core.matrix.stats as far as I can see. FWIW I'd be wary about just copying those things from Incanter, at least

Re: non-incanter statistical tests?

2015-06-02 Thread Andy Fingerhut
It may require conversion to/from Java arrays to use them, but there are Apache Commons Math implementations of the computations you mention, and many others: http://commons.apache.org/proper/commons-math/apidocs/org/apache/commons/math3/stat/inference/ChiSquareTest.html

non-incanter statistical tests?

2015-06-01 Thread Lee Spector
Does anyone know of a simple/minimal Clojure library, or just a chunk of Clojure source code that I could cut/paste, that implements basic statistical tests like t-tests and chi-squared tests? I don't want to use incanter but I'd also rather not write this stuff from scratch. Thanks, -Lee

Re: non-incanter statistical tests?

2015-06-01 Thread Mars0i
One option would be to call R from Clojure. I haven't tried this, and I don't know how well it would fit your needs. Rincanter http://joelboehland.com/posts/all-your-datasets-r-belong-to-us.html is supposed to allow this. Presumably it would bypass the Incanter functions that you don't

Re: non-incanter statistical tests?

2015-06-01 Thread Lee Spector
Thanks so much Marshall. Adding -Djava.awt.headless=true to my :jvm-opts does indeed fix the additional java process problem, so that's helpful if I don't find an alternative to incanter. The R options are interesting but probably not a good solution in my case; I'll be calling these tests