abscondment / statistics2

Shin-ichiro Hara's library, updated for Ruby 1.9 & packaged as a gem.

This URL has Read+Write access

commit  6bf9beae36948cfb826f3f5aafc73ff5b8abd0c0
tree    369381102268f8ae5ac56df1d2aaa60bb7103bb7
parent  09d24b5510f32dcce0365b7b37bc7df6d4289e66
README.rdoc

Statistics2: Statistical Distributions for Ruby

Authors: Shin-ichiro HARA(sinara@blade.nagaokaut.ac.jp), Brendan Ribera (brendan.ribera@gmail.com)

REQUIREMENTS:

 * ruby-1.8 or higher

INSTALL:

 * Get the gem from Github!
    $ gem sources -a http://gems.github.com (you only have to do this once)
    $ sudo gem install abscondment-statistics2

USAGE:

  • Example:
      require "statistics2"
      puts Statistics2.normaldist(0.27) #=> 0.60641987319804
    
  • If you don’t want to use the C extension:
      require "statistics2/no_ext"
      puts Statistics2.normaldist(0.27) #=> 0.606419873198039 (delta of 9.99200722162641e-16)
    

LICENSE:

Ruby’s (see www.ruby-lang.org/en/LICENSE.txt)