Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abscondment/statistics2

Shin-ichiro Hara's library, updated for Ruby 1.9 & packaged as a gem.
https://github.com/abscondment/statistics2

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

= Statistics2: Statistical Distributions for Ruby

Authors: Shin-ichiro HARA([email protected]), Brendan Ribera ([email protected])

== REQUIREMENTS:

* ruby-1.8 or higher

== INSTALL:

$ gem install 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 http://www.ruby-lang.org/en/LICENSE.txt)