Skip to content

Releases: estebanz01/ruby-statistics

Codename Unicorn 4.0.1

13 Aug 14:14
Compare
Choose a tag to compare

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

Full Changelog: 4.0...4.0.1

Happy coding! 🍻

Codename Unicorn 4.0

02 Jul 16:41
Compare
Choose a tag to compare

¡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

New Contributors

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

17 Apr 20:22
1adf73e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.0.1...3.0.2

Happy coding everyone! 🎉

Codename Random 3.0

31 Oct 02:38
eddf5c3
Compare
Choose a tag to compare

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 workaround hack for BigDecimals.
  • #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 version 3.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 the BigDecimal 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

04 Feb 02:22
Compare
Choose a tag to compare

This change fixes #34 by coercing BigDecimals 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

01 Mar 23:08
Compare
Choose a tag to compare

This new release includes a small bugfix described in #32 and solved in #33 🎉 !

2.1.1 Codename Random

08 Jun 18:39
Compare
Choose a tag to compare

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

31 Dec 23:29
87a49b5
Compare
Choose a tag to compare

🎉 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

04 Jul 21:11
4ca57b1
Compare
Choose a tag to compare

🎉 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

18 May 14:13
Compare
Choose a tag to compare

This version fixes #23, so we can now have more accurate p-values for two tailored t-tests.