Releases: estebanz01/ruby-statistics
Codename Unicorn 4.0.1
A small but important patch version released! 🦄
Thanks to @kevin-j-m now the feature to include the gem by doing require 'ruby-statistics'
is fixed. I thought it was a fluke on my local environment due to the many changes I have to test lots of stuff 😅 .
https://estebanz.co/posts/ruby-statistics-4-0-1/
Feel free to check the change here:
- Name lib/ top-level file to match expected require by @kevin-j-m in #144
Dependabot changes
- build(deps): bump ruby/setup-ruby from 1.183.0 to 1.185.0 by @dependabot in #141
- build(deps): bump ruby/setup-ruby from 1.185.0 to 1.187.0 by @dependabot in #142
- build(deps): bump ruby/setup-ruby from 1.187.0 to 1.190.0 by @dependabot in #143
New Contributors
- @kevin-j-m made their first contribution in #144
Full Changelog: 4.0...4.0.1
Happy coding! 🍻
Codename Unicorn 4.0
¡Hola! 👋
I'm happy to announce a new version for Ruby Statistics! 🥳 🎉
I decided to codename it Unicorn, because it is a legendary creature that has multiple meanings depending on the context you are, making a perfect candidate to represent the variety in contributions that has shaped this release.
Now, this release has a breaking change: Now the namespace is RubyStatistics
instead of Statistics
, solving a long issue that was raised when I asked for feedback on the ruby community on reddit (I'm not using reddit anymore) #10. Thanks @jasoncaryallen !
For this breaking change, I decided to create a 3.x
branch that you can use without problems if you're not ready yet to migrate to 4.0
. Keep in mind that this branch is going to have some support, but no additional features will be added to it, so don't hesitate to bump your ref!
Finally, happy pride month! 🎉 I'm a firm believer that a thriving community is one where differences are accepted and embraced. 🌈 🏳️🌈
¡Chau!
What's Changed
- Define a Ruby 3.1 workflow, so we can test on all supported rubies. by @estebanz01 in #110
- Replace Ruby 2.7 with Ruby 3.3. by @estebanz01 in #119
- Updates on Chi squared and Lower incomplete gamma function by @estebanz01 in #122
- Allow PRs to run the workflow as well. by @estebanz01 in #124
- added chi square independence test for contingency tables by @oliver-czulo in #115
- Revert "added chi square independence test for contingency tables " by @estebanz01 in #127
- Feature: Namespace refactor to
RubyStatistics
by @jasoncaryallen in #120
New Contributors
- @oliver-czulo made their first contribution in #115
- @jasoncaryallen made their first contribution in #120
Full Changelog: 3.0.2...4.0
Dependabot changes
- build(deps): bump ruby/setup-ruby from 1.146.0 to 1.148.0 by @dependabot in #100
- build(deps): bump ruby/setup-ruby from 1.148.0 to 1.149.0 by @dependabot in #101
- build(deps): bump ruby/setup-ruby from 1.149.0 to 1.150.0 by @dependabot in #102
- build(deps): bump ruby/setup-ruby from 1.150.0 to 1.152.0 by @dependabot in #104
- build(deps): bump actions/checkout from 3 to 4 by @dependabot in #105
- build(deps): bump ruby/setup-ruby from 1.152.0 to 1.153.0 by @dependabot in #106
- build(deps): bump ruby/setup-ruby from 1.153.0 to 1.154.0 by @dependabot in #107
- build(deps): bump ruby/setup-ruby from 1.154.0 to 1.155.0 by @dependabot in #108
- build(deps): bump ruby/setup-ruby from 1.155.0 to 1.156.0 by @dependabot in #109
- build(deps): bump ruby/setup-ruby from 1.156.0 to 1.157.0 by @dependabot in #111
- build(deps): bump ruby/setup-ruby from 1.157.0 to 1.159.0 by @dependabot in #112
- build(deps): bump ruby/setup-ruby from 1.159.0 to 1.160.0 by @dependabot in #114
- build(deps): bump ruby/setup-ruby from 1.160.0 to 1.161.0 by @dependabot in #116
- build(deps): bump ruby/setup-ruby from 1.161.0 to 1.165.1 by @dependabot in #118
- build(deps): bump ruby/setup-ruby from 1.165.1 to 1.168.0 by @dependabot in #121
- build(deps): bump ruby/setup-ruby from 1.168.0 to 1.170.0 by @dependabot in #123
- build(deps): bump ruby/setup-ruby from 1.170.0 to 1.171.0 by @dependabot in #125
- build(deps): bump ruby/setup-ruby from 1.171.0 to 1.172.0 by @dependabot in #126
- build(deps): bump ruby/setup-ruby from 1.172.0 to 1.173.0 by @dependabot in #129
- build(deps): bump ruby/setup-ruby from 1.173.0 to 1.174.0 by @dependabot in #131
- build(deps): bump ruby/setup-ruby from 1.174.0 to 1.175.1 by @dependabot in #132
- build(deps): bump ruby/setup-ruby from 1.175.1 to 1.176.0 by @dependabot in #133
- build(deps): bump ruby/setup-ruby from 1.176.0 to 1.177.1 by @dependabot in #135
- build(deps): bump ruby/setup-ruby from 1.177.1 to 1.180.1 by @dependabot in #139
- build(deps): bump ruby/setup-ruby from 1.180.1 to 1.183.0 by @dependabot in #140
Codename Random 3.0.2
What's Changed
- Fix p value in paired T-test by @ylansegal in #99
New Contributors
- @ylansegal made their first contribution in #99
Full Changelog: 3.0.1...3.0.2
Happy coding everyone! 🎉
Codename Random 3.0
This change releases a couple of fixes:
- #78 (fixed on #79) which was caused by a liberal usage of
round
when performing integrals and it was introduced when implemented the workaroundhackforBigDecimal
s. - #81 fixes an issue that appeared when running builds for Ruby 3.1, which was caused by a bug in
BigDecimal
. The bug was fixed in version3.1.2
(which is not included in Ruby 3.1.2), so this gem coerces to rational when calculating the inverse beta function instead of forcing theBigDecimal
version as it might cause incompatibilities with previous supported versions.
Additional to that, on #81 we limit again the number of supported ruby versions to be the same as the stable versions published by ruby core: 3.1.2, 3.0.4 and 2.7.6.
Happy coding everyone! 🎉 🎉
2.1.3 Codename Random
This change fixes #34 by coercing BigDecimal
s to Rational
, improving the speed while performing calculations with this class and adding a small improvement in accuracy. 🎉
In theory, this change shouldn't affect in any negative way any dependant code, so feel free to create an issue if something comes up!
2.1.2 Codename Random
2.1.1 Codename Random
In this release we have added the quantile function for the Standard Normal as the Inverse Standard Normal distribution! Thanks @dsounded 🎉 !
You just need to instantiate the InverseStandardNormal
class and use the cumulative_function
method.
Happy stats!
2.1.0 Codename Random
🎉 Happy new year! 🎉
Finally, we closed #17 and now we have available:
Statistical tests
- Spearman's rank coefficient.
- Kolmogorov-smirnov goodness of fit test, also known as two sample ks-test.
Distributions
- Empirical distribution (ECDF).
Soon I'll be updating the documentation with details about how to use it.
Happy statistics to everyone !
2.0.5 Codename Random
🎉 Habemus more discrete distributions! 🎉.
This change address #4 adding the following discrete distributions:
It also introduces a minor fix to the mean of the beta distribution 😁. There is a case where alpha and beta can be zero, which is not defined for the calculation.
Happy Stats!
Esteban.
2.0.4 Codename Random
This version fixes #23, so we can now have more accurate p-values for two tailored t-tests.