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)    
Last Updated Ratings Unique User Downloads Download Rankings
2011-08-15 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 324 This week: 2All time: 6,804 This week: 607Up
Version License PHP version Categories
meansdev 1.0.0Public Domain5.3PHP 5, Statistics
Description Author

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 United Kingdom
Age: 62
All time rank: 155066 in United Kingdom United Kingdom
Week rank: 425 Up12 in United Kingdom 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:2
All time:6,804
This week:607Up