|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Collaboration diagram for ILIAS\Test\Statistics\Statistics:Public Member Functions | |
| __construct (\ilTestEvaluationData $eval_data) | |
| getEvaluationDataOfMedianUser () | |
| min () | |
| max () | |
| Calculates the maximum value. More... | |
| count () | |
| Calculates number of data values. More... | |
| sum_n (int $n) | |
| Calculates the sum of x_1^n + x_2^n + ... More... | |
| sum () | |
| Calculates the sum of x_1 + x_2 + ... More... | |
| sum2 () | |
| Calculates the sum of x_1^2 + x_2^2 + ... More... | |
| product_n (int $n) | |
| Calculates the product of x_1^n * x_2^n * ... More... | |
| product (int $n) | |
| Calculates the product of x_1 * x_2 * ... More... | |
| arithmeticMean () | |
| Arithmetic mean of the data values xbar = (1/n)*∑x_i. More... | |
| geometricMean () | |
| Geometric mean of the data values geometric_mean = (x_1 * x_2 * ... More... | |
| harmonicMean () | |
| Harmonic mean of the data values harmonic_mean = n/(1/x_1 + 1/x_2 + ... More... | |
| median () | |
| Median of the data values. More... | |
| rank (float $value) | |
| Returns the rank of a given value. More... | |
| rankMedian () | |
| Returns the rank of the median. More... | |
| quantile (float $n) | |
| n-Quantile of the data values More... | |
Private Attributes | |
| array | $stat_data = [] |
| ilTestEvaluationUserData | $median_user = null |
Definition at line 23 of file Statistics.php.
| ILIAS\Test\Statistics\Statistics::__construct | ( | \ilTestEvaluationData | $eval_data | ) |
Definition at line 28 of file Statistics.php.
References ilTestEvaluationData\getParticipant(), ilTestEvaluationData\getParticipants(), ilTestEvaluationUserData\getReached(), ILIAS\Test\Statistics\Statistics\median(), and ILIAS\UI\examples\Symbol\Glyph\Sort\sort().
Here is the call graph for this function:| ILIAS\Test\Statistics\Statistics::arithmeticMean | ( | ) |
Arithmetic mean of the data values xbar = (1/n)*∑x_i.
Definition at line 142 of file Statistics.php.
References ILIAS\Test\Statistics\Statistics\count(), and ILIAS\Test\Statistics\Statistics\sum().
Here is the call graph for this function:| ILIAS\Test\Statistics\Statistics::count | ( | ) |
Calculates number of data values.
Definition at line 72 of file Statistics.php.
Referenced by ILIAS\Test\Statistics\Statistics\arithmeticMean(), ILIAS\Test\Statistics\Statistics\geometricMean(), ILIAS\Test\Statistics\Statistics\harmonicMean(), ILIAS\Test\Statistics\Statistics\median(), ILIAS\Test\Statistics\Statistics\quantile(), ILIAS\Test\Statistics\Statistics\rank(), and ILIAS\Test\Statistics\Statistics\rankMedian().
Here is the caller graph for this function:| ILIAS\Test\Statistics\Statistics::geometricMean | ( | ) |
Geometric mean of the data values geometric_mean = (x_1 * x_2 * ...
The geometric mean of a set of positive data is defined as the product of all the members of the set, raised to a power equal to the reciprocal of the number of members.
Definition at line 164 of file Statistics.php.
References ILIAS\Test\Statistics\Statistics\count(), and ILIAS\Test\Statistics\Statistics\product().
Here is the call graph for this function:| ILIAS\Test\Statistics\Statistics::getEvaluationDataOfMedianUser | ( | ) |
Definition at line 43 of file Statistics.php.
References ILIAS\Test\Statistics\Statistics\$median_user.
| ILIAS\Test\Statistics\Statistics::harmonicMean | ( | ) |
Harmonic mean of the data values harmonic_mean = n/(1/x_1 + 1/x_2 + ...
Definition at line 181 of file Statistics.php.
References ILIAS\Test\Statistics\Statistics\count(), and ILIAS\Test\Statistics\Statistics\min().
Here is the call graph for this function:| ILIAS\Test\Statistics\Statistics::max | ( | ) |
Calculates the maximum value.
Definition at line 60 of file Statistics.php.
| ILIAS\Test\Statistics\Statistics::median | ( | ) |
Median of the data values.
Definition at line 201 of file Statistics.php.
References ILIAS\Test\Statistics\Statistics\count().
Referenced by ILIAS\Test\Statistics\Statistics\__construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Test\Statistics\Statistics::min | ( | ) |
Definition at line 48 of file Statistics.php.
Referenced by ILIAS\Test\Statistics\Statistics\harmonicMean(), and ILIAS\Test\Statistics\Statistics\product_n().
Here is the caller graph for this function:| ILIAS\Test\Statistics\Statistics::product | ( | int | $n | ) |
Calculates the product of x_1 * x_2 * ...
Definition at line 133 of file Statistics.php.
References ILIAS\Test\Statistics\Statistics\product_n().
Referenced by ILIAS\Test\Statistics\Statistics\geometricMean().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Test\Statistics\Statistics::product_n | ( | int | $n | ) |
Calculates the product of x_1^n * x_2^n * ...
Definition at line 113 of file Statistics.php.
References ILIAS\Test\Statistics\Statistics\min().
Referenced by ILIAS\Test\Statistics\Statistics\product().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Test\Statistics\Statistics::quantile | ( | float | $n | ) |
n-Quantile of the data values
Definition at line 252 of file Statistics.php.
References ILIAS\Test\Statistics\Statistics\count(), and ILIAS\Repository\int().
Here is the call graph for this function:| ILIAS\Test\Statistics\Statistics::rank | ( | float | $value | ) |
Returns the rank of a given value.
Definition at line 218 of file Statistics.php.
References ILIAS\Test\Statistics\Statistics\count().
Here is the call graph for this function:| ILIAS\Test\Statistics\Statistics::rankMedian | ( | ) |
Returns the rank of the median.
This method is different from the rank method because the median could be the arithmetic mean of the two middle values when the data size is even. In this case the median could a value which is not part of the data set.
Definition at line 235 of file Statistics.php.
References ILIAS\Test\Statistics\Statistics\count().
Here is the call graph for this function:| ILIAS\Test\Statistics\Statistics::sum | ( | ) |
Calculates the sum of x_1 + x_2 + ...
Definition at line 96 of file Statistics.php.
References ILIAS\Test\Statistics\Statistics\sum_n().
Referenced by ILIAS\Test\Statistics\Statistics\arithmeticMean().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Test\Statistics\Statistics::sum2 | ( | ) |
Calculates the sum of x_1^2 + x_2^2 + ...
Definition at line 105 of file Statistics.php.
References ILIAS\Test\Statistics\Statistics\sum_n().
Here is the call graph for this function:| ILIAS\Test\Statistics\Statistics::sum_n | ( | int | $n | ) |
Calculates the sum of x_1^n + x_2^n + ...
Definition at line 80 of file Statistics.php.
Referenced by ILIAS\Test\Statistics\Statistics\sum(), and ILIAS\Test\Statistics\Statistics\sum2().
Here is the caller graph for this function:
|
private |
Definition at line 26 of file Statistics.php.
Referenced by ILIAS\Test\Statistics\Statistics\getEvaluationDataOfMedianUser().
|
private |
Definition at line 25 of file Statistics.php.