Basic set of methods to calculate descriptive statistics in PHP. Stuff that PHP should rather deliver. This was created in the context of a code kata. Don't use it for calculating statistics in real life. Instead, use R.
Calculation methods:
- mean
- median
- variance
- standard derivation
https://github.com/stmllr/DescriptiveStatistics
Via Git
$ git clone https://github.com/stmllr/DescriptiveStatistics.git
Via Composer
$ composer require stmllr/descriptive-statistics
// @todo add usage examples
phpunit
Send pull requests via https://github.com/stmllr/DescriptiveStatistics
GNU GENERAL PUBLIC LICENSE Version 3 or any later version (GPLv3+). Please see License File.