Comments on: Java package for statistical analysis?
http://ask.metafilter.com/31355/Java-package-for-statistical-analysis/
Comments on Ask MetaFilter post Java package for statistical analysis?Mon, 23 Jan 2006 19:46:56 -0800Mon, 23 Jan 2006 19:46:56 -0800en-ushttp://blogs.law.harvard.edu/tech/rss60Question: Java package for statistical analysis?
http://ask.metafilter.com/31355/Java-package-for-statistical-analysis
Know of a good, free Java package for basic statistical analysis? <br /><br /> I'm working on a product that needs to do some basic statistical analysis of data. At the moment the specific task at hand is linear regression, but I wouldn't mind having one place to go for simple standard deviation and stuff like that, too. I could spend a bunch of time writing stuff myself, but I figure, why reinvent the wheel?<br>
<br>
The product I work on is free and open source, and that's what I'm looking for in a stats API, too. Or at least free! Also I want something as targeted as possible -- I don't want to pull in gigabytes of code just so I can use a couple classes. <br>
<br>
I've been poking around looking for stuff, but surprisingly I've found little so far (<a href="http://www.webcabcomponents.com/Java/api/pss/index.shtml">this</a>, for instance, is not free). Can anyone help me out?post:ask.metafilter.com,2006:site.31355Mon, 23 Jan 2006 16:22:21 -0800gurplejavastatisticssoftwareBy: Rothko
http://ask.metafilter.com/31355/Java-package-for-statistical-analysis#491663
<a href="http://stats.math.uni-augsburg.de/JRI/">JRI</a> will let you run <a href="http://www.r-project.org/">R</a> from inside Java calls. Both are open source and free.comment:ask.metafilter.com,2006:site.31355-491663Mon, 23 Jan 2006 19:46:56 -0800RothkoBy: mulkey
http://ask.metafilter.com/31355/Java-package-for-statistical-analysis#491679
It's not Java and it's not open source, but you can download a student version of SPSS that's fully functional for free on their website. I think it expires after 30 days or so, but it does work. And SPSS is relatively user friendly.comment:ask.metafilter.com,2006:site.31355-491679Mon, 23 Jan 2006 20:02:34 -0800mulkeyBy: dhruva
http://ask.metafilter.com/31355/Java-package-for-statistical-analysis#491762
Here's a site with a list of <a href="http://members.aol.com/johnp71/javasta2.html">free stats software.</a> Look around this website, it has tons of links, and <a href="http://members.aol.com/johnp71/javastat.html#Package">this one</a> might interest you.comment:ask.metafilter.com,2006:site.31355-491762Mon, 23 Jan 2006 23:05:31 -0800dhruvaBy: sanitycheck
http://ask.metafilter.com/31355/Java-package-for-statistical-analysis#491800
Perhaps I am misunderstanding the question, but I think gurple is looking for a stats API he can use *within* his Java program. This rules out actual stats software, even web-based.<br>
<br>
I searched around a bit and all I came up with was the same link referenced in the original post. If it were me I would probably just write the stuff I needed from scratch, or shell out the dough for the WebCab stuff.comment:ask.metafilter.com,2006:site.31355-491800Tue, 24 Jan 2006 01:09:35 -0800sanitycheckBy: Rothko
http://ask.metafilter.com/31355/Java-package-for-statistical-analysis#491923
JRI will let you run R, a popular and free open source stat pack, using Java methods. JRI provides an "API", roughly speaking.comment:ask.metafilter.com,2006:site.31355-491923Tue, 24 Jan 2006 07:10:03 -0800RothkoBy: gurple
http://ask.metafilter.com/31355/Java-package-for-statistical-analysis#492208
Hmm, yep, it's not looking good so far. I use R heavily, and in fact my current workaround will be to call out to R, but that's cumbersome and not very efficient. I might end up just writing some linear regression code. It seems unbelievable that someone hasn't done this already and made it public!<br>
<br>
Thanks for all the help so far!comment:ask.metafilter.com,2006:site.31355-492208Tue, 24 Jan 2006 10:56:37 -0800gurpleBy: sanitycheck
http://ask.metafilter.com/31355/Java-package-for-statistical-analysis#492209
Whoops, didn't mean to include your answer in my generalization, Rothko. But would a programmer be able to package R with their open source product? I'm not up on the rules of redistributing OSS.comment:ask.metafilter.com,2006:site.31355-492209Tue, 24 Jan 2006 10:56:50 -0800sanitycheckBy: gurple
http://ask.metafilter.com/31355/Java-package-for-statistical-analysis#492216
In fact, some of the people involved in developing R suggested the same thing to me -- package up a minimal R installation with our product. So I _think_ there are no legal issues. But still, it's a lot of dependency for a little functionality.comment:ask.metafilter.com,2006:site.31355-492216Tue, 24 Jan 2006 11:05:05 -0800gurple