Rsquared
A full featured Ruby statistics library with assumption verification to make using statistics easy, even with no background.
Installation
Add this line to your application's Gemfile:
gem 'Rsquared'
And then execute:
$ bundle
Or install it yourself as:
$ gem install Rsquared
Usage
You can run a statistical test, with assumption checking by supplying an array of numerical data points:
>> ttest = Rsquared::TTest.new(data)
>> ttest.statistic #=> Float
>> ttest.significant? #=> Boolean
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request