Releases: estebanz01/ruby-statistics
2.0.4 Codename Random
This version fixes #23, so we can now have more accurate p-values for two tailored t-tests.
2.0.3 Codename Random
PR #22. Made by @htwroclau.
Fixes some calculation issues with some two sample T-tests and exposes the t_score
to the T-test response.
2.0.2 Codename Random
Fixes: #20
This change allow us to know when it's necessary to revisit the specified samples when we have an standard devation of zero, which in practice seems to be an edge case. We are implementing this approach following the answer made to this question where it's important to reconsider samples with std of zero.
2.0.1 Codename Random
This release contains a fix for #13 ! Now the p_values
are well calculated, which is nice 😁.
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
Basic
1.0 version of ruby statistics! 🎉
This release includes:
- F-Test exposed as
FTest.anova_f_score
. - One way anova test exposed as
FTest.one_way_anova
. - A basic one/two samples T-Test for one/two tailored test exposed as
TTest.perform
.
Basic
1.0.0 version of ruby statistics! 🎉
This release includes:
- F-Test exposed as
FTest.anova_f_score
. - One way anova test exposed as
FTest.one_way_anova
. - A basic one/two samples T-Test for one/two tailored test exposed as
TTest.perform
.
First release.
First official release of the gem. This includes:
Discrete functions
- Binomial.
- Poisson.
Continuous functions
- Beta.
- Normal.
- Standard Uniform.
- Chi-squared.
- F.
- T-Student.
- Uniform.
- Weibull.