The Ruby/GSL gem provides a Ruby interface to GSL which provides a great deal of statistical functionality and much more besides. Maybe that would meet your needs?
Issue #10228 has been updated by Robert A. Heiler.
I concur that statistics would be useful.
For bioinformatics I am forced to use R (http://www.r-project.org/) right now.
Hopefully I can one day replace all of why I have to use R with Ruby (I guess the
biggest problem are not the routines/methods or algorithms but actually those
plotting options).
A gem can showcase what can be done with statistics addon.
A require line could then be:
require 'math/statistics'
or just
require 'statistics'
MS Excel / Libreoffice have quite a lot of standard statistic functions.
AVG() or AVEDEV() or AVERAGEA() and so forth.
Just giving a bit feedback, don't take me too seriously. :)
Feature #10228: Statistics module
https://bugs.ruby-lang.org/issues/10228#change-48891
- Author: gogo tanaka
- Status: Feedback
- Priority: Normal
- Assignee:
- Category:
- Target version:
I'm gonna implement some features related with statistics to Math module now.
Like that -> https://bugs.ruby-lang.org/issues/10225
But I am afraid that Math module becomes too complex and suppose such a feature should be apart from Math module's responsibility.
So I'd like to propose Ruby provides Statistics module. (There are plenty of room for discussion.)
As you know, python3.4 has already started to provide Statistics module as Standard Library.
(However these are not enough, I am impressed and think that is awesome trying.)
I want Statistics module which has the features of python's Statistics module and some functions related with numerical analysis.
It should be helpful to make people we couldn't reach so far have interest in Ruby.
And it is important to provide as "core or standard library".
But I know there are so many reasons we should not do that, so I want to hear your opinion.
Thank you.
--
https://bugs.ruby-lang.org/