All Projects → estebanz01 → Ruby Statistics

estebanz01 / Ruby Statistics

Licence: mit
Ruby gem for some statistical operations without any statistical language dependency

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Ruby Statistics

Stdlib
✨ Standard library for JavaScript and Node.js. ✨
Stars: ✭ 2,749 (+4002.99%)
Mutual labels:  statistics, math, stats
Stats
A well tested and comprehensive Golang statistics library package with no dependencies.
Stars: ✭ 2,196 (+3177.61%)
Mutual labels:  statistics, math, stats
Phishing.database
Phishing Domains, urls websites and threats database. We use the PyFunceble testing tool to validate the status of all known Phishing domains and provide stats to reveal how many unique domains used for Phishing are still active.
Stars: ✭ 296 (+341.79%)
Mutual labels:  statistics, stats
Appstat
Get AppStore apps stats
Stars: ✭ 322 (+380.6%)
Mutual labels:  statistics, stats
Librmath.js
Javascript Pure Implementation of Statistical R "core" numerical libRmath.so
Stars: ✭ 425 (+534.33%)
Mutual labels:  statistics, math
Machine Learning Curriculum
Complete path for a beginner to become a Machine Learning Scientist!
Stars: ✭ 279 (+316.42%)
Mutual labels:  statistics, math
Wallace Cli
Pretty CSS analytics on the CLI
Stars: ✭ 281 (+319.4%)
Mutual labels:  statistics, stats
Tautulli
A Python based monitoring and tracking tool for Plex Media Server.
Stars: ✭ 4,152 (+6097.01%)
Mutual labels:  statistics, stats
Euler
The open-source computational framework for the Swift language
Stars: ✭ 37 (-44.78%)
Mutual labels:  statistics, math
Git Quick Stats
▁▅▆▃▅ Git quick statistics is a simple and efficient way to access various statistics in git repository.
Stars: ✭ 5,139 (+7570.15%)
Mutual labels:  statistics, stats
Gem Release
Release your ruby gems with ease.
Stars: ✭ 448 (+568.66%)
Mutual labels:  ruby-gem, rubygems
Facebook data analyzer
Analyze facebook copy of your data with ruby language. Download zip file from facebook and get info about friends ranking by message, vocabulary, contacts, friends added statistics and more
Stars: ✭ 515 (+668.66%)
Mutual labels:  statistics, ruby-gem
Pluck to hash
Extend ActiveRecord pluck to return array of hashes
Stars: ✭ 275 (+310.45%)
Mutual labels:  ruby-gem, rubygems
Github Stats For Turkey
Github language, repo and developer stats for Turkey.
Stars: ✭ 259 (+286.57%)
Mutual labels:  statistics, stats
Stats
A C++ header-only library of statistical distribution functions.
Stars: ✭ 292 (+335.82%)
Mutual labels:  statistics, stats
stats
📊 Request statistics middleware that stores response times, status code counts, etc
Stars: ✭ 15 (-77.61%)
Mutual labels:  statistics, stats
Csinva.github.io
Slides, paper notes, class notes, blog posts, and research on ML 📉, statistics 📊, and AI 🤖.
Stars: ✭ 342 (+410.45%)
Mutual labels:  statistics, stats
Dominhhai.github.io
My Blog
Stars: ✭ 8 (-88.06%)
Mutual labels:  statistics, math
mathlion
Mathlion is an advanced math plugin for Kibana's Timelion
Stars: ✭ 77 (+14.93%)
Mutual labels:  statistics, math
mongodb-info
MongoDB Info - command line tool to get stats.
Stars: ✭ 13 (-80.6%)
Mutual labels:  statistics, stats

Ruby Statistics

A basic ruby gem that implements some statistical methods, functions and concepts to be used in any ruby environment without depending on any mathematical software like R, Matlab, Octave or similar.

Unit test runs under the following ruby versions:

  • Ruby 2.5.1.
  • Ruby 2.6.0.
  • Ruby 2.6.3.
  • Ruby 2.6.5.
  • Ruby 2.7.

We got the inspiration from the folks at JStat and some interesting lectures about Keystroke dynamics.

Some logic and algorithms are extractions or adaptations from other authors, which are referenced in the comments. This software is released under the MIT License.

Installation

Add this line to your application's Gemfile:

gem 'ruby-statistics'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ruby-statistics

Basic Usage

just require the statistics gem in order to load it. If you don't have defined the Distribution namespace, the gem will assign an alias, reducing the number of namespaces needed to use a class.

Right now you can load:

  • The whole statistics gem. require 'statistics'
  • A namespace. require 'statistics/distribution'
  • A class. require 'statistics/distribution/normal'

Feel free to use the one that is more convenient to you.

Hello-World Example

require 'statistics'

poisson = Distribution::Poisson.new(l) # Using Distribution alias.
normal = Statistics::Distribution::StandardNormal.new # Using all namespaces.

Documentation

You can find a bit more detailed documentation of all available distributions, tests and functions in the Documentation Index

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/estebanz01/ruby-statistics. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Statistics project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

Contact

You can contact me via:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].