2.0.0 Codename Random
Version 2.0.0 is here! 🎉
I'm happy to release this version, which includes the following features:
Statistical test
Distributions
Generate random samples from the following distributions:
- Weibull distribution (random sample).
- Normal/StandardNormal distribution (random sample).
This is the main purpose of this release, so that's why I used Random
as codename.
Fixed bugs, issues, etc.
- In the simpson rule method (5f21d29), I made a little change to ensure that the chunks to be used is an integer number.
- Fixed an edge case in the Beta distribution where the code didn't check that the scale and shape cannot be zero when calculating the mean (7c1578d).
Known issues
- Some p-values are off by a couple of decimal units. This is caused by the way ruby handles the decimal points (#13).
- Added a pretty alpha version of a random method to generate numbers from a T-student distribution. It's not truly a Student's T sample (https://github.com/estebanz01/ruby-statistics/blob/master/lib/statistics/distribution/t_student.rb#L51).
It's not easy to code statistics, but I try my best to do it 😃 If you find any bug or you have any question/suggestion, don't hesitate to open an issue.
Even better, you can fork it and propose changes!
Enjoy!
@estebanz01