Zend - The PHP Company




Code Gallery: alains


Stat1  

Type: class
Added by: alains
Entered: 15/03/2000
Last modified: 02/12/2000
Rating: **** (4 votes)
Views: 7669
This is a statistic class that accepts one or two unidimensional arrays of data. It returns a stat array using the getStats() method. If only one array is sent, it will return the min,max, sum, median, average and standard deviation for this array. If two arrays are sent, in addition to these values for both arrays, a linear regression line is computed with its correlation r and 't'test. Median correction applied on 02/26/01.




Search