PHP Statistics Library

PHP is a high frequently used scripting language and it has a – of course – some statistical functionalities. But the PHP-builtin functions for statistical computation cover not all aspects of statistics. This was the reason to write a little procedural library. This library includes functions to compute:

  • quintile
  • quartile
  • average
  • harmonical, quardratical and geometrical average
  • median
  • modus
  • elements with a radius from a specific value
  • group elements
  • benford’s law

download: latest version (1.0.0)

To see how to use the functions, please have a look into the tests.php file in the download archive.