- Fix deprecations for PHP 8.4
- Welcome PHP 8.4
- Upgrading to Rector 1
- Fixed
median()
function to handle unsorted data by @keatis - Rector refactor
- PHPstan level 8
- Support for PHP 8.1 and above
- Add support for PHP 8.2 by @AmooAti
- Update to PestPHP v2 by @AmooAti
- Improving documentation (readme, contributing, code of conduct, security policies) by @AbhineshJha, @Arcturus22, @tvermaashutosh, @Abhishekgupta204, @Aryan4884
- Rector v0.18.5 by @sukuasoft
- Introducing Pint by @sukuasoft
- GitHub Actions: Updating actions/checkout v4
- Linear regression
- Raise Exception instead of returning null if there is no valid input. By Artem Trokhymchuk @trokhymchuk thanks for the PR #15;
- PHPStan, level 9
- Code refactoring by @trokhymchuk
- Clean phpdoc blocks by @trokhymchuk
- Stat::correlation()
- PHPStan, level 8
- Stat::covariance()
- frequencyTable()
- frequencyTableBySize()
- code refactoring and documenting some functions by Artem Trokhymchuk @trokhymchuk thanks for the PR #2
- add tests for Math class
- quantiles()
- firstQuartile()
- thirdQuartile()
- geometricMean(): geometric mean
- harmonicMean(): harmonic mean and weighted harmonic mean
- pstdev(): Population standard deviation
- stdev(): Sample standard deviation
- pvariance(): variance for a population
- variance(): variance for a sample
- Create Freq class with static method for managing frequencies table
- Create Stat class with static methods for basci statistic functions like: mean, mode, median, multimode...
- Refactor Statistics class in order to use logic provided by Freq and Stat class
- Create ArrUtil with some helpers/functions to manage arrays
- Add CICD test for PHP 8.1
Initial release with:
- getMean()
- count()
- median()
- firstQuartile()
- thirdQuartile()
- mode()
- frequencies(): a frequency is the number of times a value of the data occurs;
- relativeFrequencies(): a relative frequency is the ratio (fraction or proportion) of the number of times a value of the data occurs in the set of all outcomes to the total number of outcomes;
- cumulativeFrequencies(): is the accumulation of the previous relative frequencies.;
- cumulativeRelativeFrequencies(): is the accumulation of the previous relative ratio.
Initial release with:
- getMean()
- count()
- median()
- firstQuartile()
- thirdQuartile()
- mode()
- frequencies(): a frequency is the number of times a value of the data occurs;
- relativeFrequencies(): a relative frequency is the ratio (fraction or proportion) of the number of times a value of the data occurs in the set of all outcomes to the total number of outcomes;
- cumulativeFrequencies(): is the accumulation of the previous relative frequencies.;
- cumulativeRelativeFrequencies(): is the accumulation of the previous relative ratio.