Project

statistiks

0.0
No commit activity in last 3 years
No release in over 3 years
A suite of statistical tools for Ruby language
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0
~> 3.1.0
 Project Readme

Statistiks

Build Status Gem Version Coverage Status Code Climate

Statistiks is a suite of statistical tools for Ruby language

Installation

Add this line to your application's Gemfile:

gem 'statistiks'

And then execute:

$ bundle

Or install it yourself as:

$ gem install statistiks

Usage

Array methods

Sum

[1,2,3,4,5].sum
=> 15.0

Mean

[1,2,3,4,5].mean
=> 3.0

Variance

[1,2,3,4,5].variance
=> 2.5

Standard deviation

[1,2,3,4,5].sd
=> 1.58114

Median

[1,2,3,4,5,6,7,8,9,10].median
=> 3.0

Quartiles

[1,2,3,4,5,6,7,8,9,10].quartiles
=> [3.0, 5.0, 8.0]

Contributing

  1. Fork it ( https://github.com/jdanielnd/statistiks/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request