Math_Stats
[ class tree: Math_Stats ] [ index: Math_Stats ] [ all elements ]

Procedural File: stats.class.php

Source Location: Program_Root/class/stats.class.php



Classes:

Math_Stats
A class to calculate descriptive statistics from a data set.


Page Details:








STATS_BASIC [line 31]

STATS_BASIC = 1
STATS_BASIC to generate the basic descriptive statistics


[ Top ]



STATS_DATA_CUMMULATIVE [line 50]

STATS_DATA_CUMMULATIVE = 1
STATS_DATA_CUMMULATIVE for an associative array of frequency values,

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)



[ Top ]



STATS_DATA_SIMPLE [line 43]

STATS_DATA_SIMPLE = 0
STATS_DATA_SIMPLE for an array of numeric values e.g.

$data = array(2,3,4,5,1,1,6);



[ Top ]



STATS_FULL [line 35]

STATS_FULL = 2
STATS_FULL to generate also higher moments, mode, median, etc.


[ Top ]



STATS_IGNORE_NULL [line 63]

STATS_IGNORE_NULL = -2
STATS_IGNORE_NULL, ignore null values and prune them FROM the data.

Any non-numeric value is considered a null in this context.



[ Top ]



STATS_REJECT_NULL [line 58]

STATS_REJECT_NULL = -1
STATS_REJECT_NULL, reject data sets with null values.

Any non-numeric value is considered a null in this context.



[ Top ]



STATS_USE_NULL_AS_ZERO [line 68]

STATS_USE_NULL_AS_ZERO = -3
STATS_USE_NULL_AS_ZERO, assign the value of 0 (zero) to null values.

Any non-numeric value is considered a null in this context.



[ Top ]




stats [line 791]

void stats( mixed $data)



[ Top ]



Documentation generated on Tue, 15 Jul 2003 10:19:51 +0200 by phpDocumentor 1.2.1