Releases: Hi-Folks/statistics
Releases · Hi-Folks/statistics
v1.0.1
What's Changed
- welcome PHP 8.4 by @roberto-butti in #70
- Upgrading to Rector 1 by @roberto-butti in #71
- Bump dependabot/fetch-metadata from 1.6.0 to 2.1.0 by @dependabot in #68
- Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in #69
Full Changelog: v1.0.0...v1.0.1
v1.0.0
What's Changed
- Fixed median() to handle unsorted data. Minor text changes for consistency by @keatis in #66
- Supporting PHP 8.2 and PHP 8.3 (updating also GitHub Actions workflows)
- Dropping the support for PHP 8.0
- Adding RectorPHP and updating to 0.18.5 by @sukuasoft in #38
- Update to PestPHP v2 by @AmooAti in #36
- Replacing php-cs-fixer with pint and running pint by @sukuasoft in #39
- including Pint in all-check script by @roberto-butti in #40
- uses: actions/checkout@v4 by @roberto-butti in #41
- Update phpstan.neon - level 8 by @roberto-butti in #56
- Update Rector configuration UP_TO_PHP_81 by @roberto-butti in #57
- refactoring with Rector by @roberto-butti in #58
- Update on README, Contribution guidelines, Code of Conduct, Security policies
New Contributors
- @AmooAti made their first contribution in #36
- @AbhineshJha made their first contribution in #37
- @sukuasoft made their first contribution in #38
- @Arcturus22 made their first contribution in #42
- @tvermaashutosh made their first contribution in #43
- @Abhishekgupta204 made their first contribution in #44
- @Aryan4884 made their first contribution in #50
- @HimanshuMahto made their first contribution in #64
- @shraddha761 made their first contribution in #63
- @keatis made their first contribution in #66
Full Changelog: v0.2.1...v1.0.0
Linear regression
- Linear regression
Raise Exception for wrong input
- Raise Exception instead of returning null if there is no valid input. By Artem Trokhymchuk @trokhymchuk thanks for the PR #15;
- PHPStan, level 9
Correlation
- Code refactoring by @trokhymchuk
- Clean phpdoc blocks by @trokhymchuk
- Stat::correlation()
Covariance
- New method for calculating covariance: Stat::covariance()
Frequency Table
- frequencyTable()
- frequencyTableBySize()
- code refactoring and documenting some functions by Artem Trokhymchuk @trokhymchuk thanks for the PR #2
- add tests for Math class
Quantiles
- quantiles()
- firstQuartile()
- thirdQuartile()
Geometric and Harmonic Mean
- geometricMean(): geometric mean
- harmonicMean(): harmonic mean and weighted harmonic mean
Standard Deviation and Variance
- pstdev(): Population standard deviation
- stdev(): Sample standard deviation
- pvariance(): variance for a population
- variance(): variance for a sample