STATS_BASIC = 1
STATS_DATA_CUMMULATIVE = 1
where in each array entry, the index is the data point and the value the count (frequency): e.g. $data = array(3=>4, 2.3=>5, 1.25=>6, 0.5=>3)
STATS_DATA_SIMPLE = 0
$data = array(2,3,4,5,1,1,6);
STATS_FULL = 2
STATS_IGNORE_NULL = -2
Any non-numeric value is considered a null in this context.
STATS_REJECT_NULL = -1
STATS_USE_NULL_AS_ZERO = -3
void stats( mixed $data)