19 declare(strict_types=1);
21 require_once
'./Modules/Test/classes/inc.AssessmentConstants.php';
44 $this->statistics = null;
70 foreach ($eval_data->getParticipantIds() as $active_id) {
71 $participant = $eval_data->getParticipant($active_id);
72 array_push($median_array, $participant->getReached());
76 $this->statistics->setData($median_array);
calculateStatistics($eval_data)
Instanciates the statistics object.
getStatistics()
Returns the statistics object.
__construct($eval_data)
ilTestStatistics constructor
This class calculates statistical data for a test which has to be calculated using all participant da...
Constants for the handling of elements which are not a number.