Statistics calculations in Ruby

T

thiagobrandam

Hi all,
I have to do some statistics calculations (normal distribution, etc)
in Ruby and I don't seem to find much of it in the language itself.
Would be the R statistics package the best solution so far?

Thanks in advance.
 
G

George George

thiagobrandam said:
Hi all,
I have to do some statistics calculations (normal distribution, etc)
in Ruby and I don't seem to find much of it in the language itself.

Ruby 'describes' itself as a dynamic scripting/programming language. R
'describes' itself as a statistical programming environment.

The ruby community also offers you RSruby which is a bridge between Ruby
and the R interpreted language see here
http://rubyforge.org/projects/rsruby/. There could be others too.
Would be the R statistics package the best solution so far?
There many statistical programs and packages. It might depend with your
knowledge and tasks to choose which one to use. Most statistical
algorithms and theories are available in public domain. You can
implement them in your programming language of choice or stick with a
known package that implements them to avoid reinventing the wheel.
 
R

Ralf Mueller

thiagobrandam said:
Hi all,
I have to do some statistics calculations (normal distribution, etc)
in Ruby and I don't seem to find much of it in the language itself.
Would be the R statistics package the best solution so far?

Thanks in advance.
Hi,
apart from a large statistic system like R, the GSL-bindings
(http://rb-gsl.rubyforge.org) for Ruby provide an interface for rather
simple statistical analysis, histograms, gaussian fits and plots. Have a
look at:

http://rb-gsl.rubyforge.org/stats.html
http://rb-gsl.rubyforge.org/hist.html#8.3
http://rb-gsl.rubyforge.org/vector.html


regards
ralf
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top