PHP Classes

meansdev: Calculate the mean, variance and deviation

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Ratings Unique User Downloads Download Rankings
StarStarStar 46%Total: 345 All time: 7,039 This week: 455Up
Version License PHP version Categories
meansdev 1.0.0Public Domain5.3PHP 5, Statistics


This class can calculate the mean, variance and deviation of a set of values.

It takes a set of values and perform several types of statistic calculations on them like: mean, sample variance, population variance, sample standard deviation and population standard deviation.

The class can process arrays, objects with the Traversable interface and single values.

As result it can return individual values, associative arrays, of a formatted string in a configurable format.

Picture of CPK Smithies
  Performance   Level  
Name: CPK Smithies <contact>
Classes: 7 packages by
Country: United Kingdom
Age: 70
All time rank: 151869 in United Kingdom
Week rank: 351 Up12 in United Kingdom Up
Innovation award
Innovation award
Nominee: 4x


This package includes the following files: meansdev.php - the class source meansdev_test.php - example script doc/manual.html - notes on using the class I recommend installing the DocBlox PEAR package and generating the documentation that way. From the command line: $ sudo pear install DocBlox # see the documentation for dependencies $ cd path/to/meansdev $ docblox run -f meansdev.php -t doc This software is contributed to the public domain.

  Files folder image Files  
File Role Description
Files folder imagedoc (1 file)
Plain text file meansdev.php Class Class source
Accessible without login Plain text file meansdev_test.php Example Demonstrate class functionality
Accessible without login Plain text file README Doc. Package introduction

  Files folder image Files  /  doc  
File Role Description
  Accessible without login HTML file manual.html Doc. Guidance on use

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,039
This week:455Up
 User Ratings  
 All time