Home » Math » Math_Stats
Classes to calculate statistical parameters
This package is unmaintained.
Download latest release 0.9.1 (archived versions might be outdated)
License: PHP
Description
Package to calculate statistical parameters of numerical arrays
of data. The data can be in a simple numerical array, or in a
cummulative numerical array. A cummulative array, has the value
as the index and the number of repeats as the value for the
array item, e.g. $data = array(3=>4, 2.3=>5, 1.25=>6, 0.5=>3).
Nulls can be rejected, ignored or handled as zero values.
Maintainers
- Jesus M. Castagnetto (jmcastagnetto) — lead, active
Dependencies
Required
- PHP (>= 4.2)
- PEAR Installer (>= 1.4.0b1)
Releases
- 0.9.1 (beta, 2010-10-04)
Release notes
License: PHP
QA release
Bug #17924 frequency and test suite broken - 0.9.0 (beta, 2010-10-02)
- 0.9.0beta3 (beta, 2003-06-12)
- 0.9.0beta2 (beta, 2003-06-04)
Release notes
License: PHP
This is a bug fix release. Fixes (finally) an old bug in calculation of the
median. Users of any previous version are recommended to upgrade.When I fixed a previous bug in the calculation of the median, I forgot to apply
the full fix, so it was calculating an erroneous value for data sets with an
odd number of entries.Thanks to Diego Puga for pointing this out. It is good to get bug reports
when one is getting old and forgetful. ;-) - 0.9.0beta1 (beta, 2003-06-03)
Release notes
License: PHP
This is a beta release that containes new not thoroughly tested methods and
algorithms.Many changes in the existing methods, and a number of new ones:
- Added better error handling.
- Refactored existing methods to delegate calculations better
- Added value caching for invariant statistical parameters
- Added optional parameters to some existing methods to enhance their
processing or output. Preserve the original behaviour as default so
as not breack backwards compatibility
- Added new methods:
- center()
- studentize()
- range()
- geometricMean()
- harmonicMean()
- product()
- productN()
- percentile()
- quartiles()
- interquartileMean()
- interquartileRange()
- quartileDeviation()
- quartileVariationCoefficient()
- quartileSkewnessCoefficient()
- Added a unit test class based on PEAR::PHPUnit - 0.8.5 (stable, 2003-05-27)
Release notes
License: PHP
Added methods sampleCentralMoment() and sampleRawMoment() to
calculate the corresponding nth moments of the data set.
Explicit casting of parameters passed to pow() to
circumvent the warnings/errors given by some versions
of the PHP interpreter. Thanks to Stephen Evans for
pointing this problem out. - 0.8.4 (stable, 2003-05-16)
Release notes
License: PHP
Fixed problem in element selection for the calculation
of the median. Thanks to Jeff Hoover for finding this bug. - 0.8.3 (beta, 2002-05-24)
Release notes
License: PHP
Another bug fix release. Version 0.8.2 was not released due
to wrong tags and bugs. - 0.8.1 (beta, 2002-05-24)
Release notes
License: PHP
Bug fix in __sumdiff() and in __sumabsdev(), which made
the variance, standard deviation, etc. be calculated incorrectly. - 0.8.0 (beta, 2002-05-16)
Release notes
License: PHP
Initial release
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #2322 | Bogus | Bug | 2004-09-13 | There's an error in function median() in current _stable_ release | |
| #3315 | Closed | Bug | 2005-01-27 | frequency() generates notices | |
| #6252 | Closed | Req | 2005-12-15 | Calculus of frequency give a E_NOTICE | |
| #12465 | Closed | Bug | 0.9.0beta3 | 2007-11-17 | Median Formula is Incorrect |
| #16790 | Bogus | Req | Unknown | 2009-11-15 | functions generating random numbers need array output as well |
| #17924 | Closed | Bug | 0.9.0 | 2010-10-03 | frequency and test suite broken |