Home

Awesome

Statsample

Build Status Code Climate Gem Version

Homepage :: https://github.com/sciruby/statsample

Installation

You should have a recent version of GSL and R (with the irr and Rserve libraries) installed. In Ubuntu:

$ sudo apt-get install libgsl0-dev r-base r-base-dev
$ sudo Rscript -e "install.packages(c('Rserve', 'irr'))"

With these libraries in place, just install from rubygems:

$ [sudo] gem install statsample

On *nix, you should install statsample-optimization to retrieve gems gsl, statistics2 and a C extension to speed some methods.

$ [sudo] gem install statsample-optimization

If you need to work on Structural Equation Modeling, you could see +statsample-sem+. You need R with +sem+ or +OpenMx+ [http://openmx.psyc.virginia.edu/] libraries installed

$ [sudo] gem install statsample-sem

Testing

See CONTRIBUTING for information on testing and contributing to statsample.

Documentation

You can see the latest documentation in rubydoc.info.

Usage

Notebooks

You can see some iruby notebooks here:

Statistics

Visualizations

Working with DataFrame and Vector

Examples

See the /examples directory for some use cases. The notebooks listed above have mostly the same examples, and they look better so you might want to see that first.

Description

A suite for basic and advanced statistics on Ruby. Tested on CRuby 2.0.0, 2.1.1, 2.2 and 2.3.0 See .travis.yml for more information.

Include:

Principles

Features

Resources

License

BSD-3 (See LICENSE.txt)

Could change between version, without previous warning. If you want a specific license, just choose the version that you need.