- 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.