Skip to content

abscondment/statistics2

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
ext
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 

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:

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published