ILIAS
Release_4_0_x_branch Revision 61816
|
Go to the source code of this file.
Data Structures | |
class | Base |
Namespaces | |
namespace | Math_Stats |
A class to calculate descriptive statistics from a data set. |
Variables | |
const | STATS_BASIC = 1 |
STATS_BASIC to generate the basic descriptive statistics. | |
const | STATS_FULL = 2 |
STATS_FULL to generate also higher moments, mode, median, etc. | |
const | STATS_DATA_SIMPLE = 0 |
STATS_DATA_SIMPLE for an array of numeric values. | |
const | 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. | |
const | STATS_REJECT_NULL = -1 |
STATS_REJECT_NULL, reject data sets with null values. | |
const | STATS_IGNORE_NULL = -2 |
STATS_IGNORE_NULL, ignore null values and prune them from the data. | |
const | STATS_USE_NULL_AS_ZERO = -3 |
STATS_USE_NULL_AS_ZERO, assign the value of 0 (zero) to null values. |
const STATS_BASIC = 1 |
STATS_BASIC to generate the basic descriptive statistics.
Definition at line 32 of file Stats.php.
Referenced by Base\calc().
const 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)
Definition at line 51 of file Stats.php.
Referenced by Base\__sumabsdev(), Base\__sumdiff(), Base\_validate(), Base\center(), Base\count(), Base\frequency(), Base\getData(), Base\harmonicMean(), Base\max(), Base\median(), Base\min(), Base\mode(), Base\percentile(), Base\productN(), Base\setData(), Base\studentize(), and Base\sumN().
const STATS_DATA_SIMPLE = 0 |
STATS_DATA_SIMPLE for an array of numeric values.
This is the default. e.g. $data = array(2,3,4,5,1,1,6);
Definition at line 44 of file Stats.php.
Referenced by Base\setData().
const STATS_FULL = 2 |
STATS_FULL to generate also higher moments, mode, median, etc.
Definition at line 36 of file Stats.php.
Referenced by Base\calc().
const 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.
Definition at line 64 of file Stats.php.
Referenced by Base\_validate(), and Base\setNullOption().
const STATS_REJECT_NULL = -1 |
STATS_REJECT_NULL, reject data sets with null values.
This is the default. Any non-numeric value is considered a null in this context.
Definition at line 59 of file Stats.php.
Referenced by Base\_validate(), and Base\setNullOption().
const 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.
Definition at line 69 of file Stats.php.
Referenced by Base\_validate(), and Base\setNullOption().