◆ calculate_average_question_discrimination_index()
static qbank_statistics\helper::calculate_average_question_discrimination_index |
( |
int | $questionid | ) |
|
|
static |
Calculate average discriminative efficiency.
- Parameters
-
int | $questionid | question id |
- Return values
-
◆ calculate_average_question_discriminative_efficiency()
static qbank_statistics\helper::calculate_average_question_discriminative_efficiency |
( |
int | $questionid | ) |
|
|
static |
Calculate average discriminative efficiency.
- Parameters
-
int | $questionid | question id |
- Return values
-
◆ calculate_average_question_facility()
static qbank_statistics\helper::calculate_average_question_facility |
( |
int | $questionid | ) |
|
|
static |
Calculate average facility index.
- Parameters
-
- Return values
-
◆ format_discrimination_index()
static qbank_statistics\helper::format_discrimination_index |
( |
?float | $value | ) |
|
|
static |
Format discrimination index (Needs checking?).
- Parameters
-
float | null | $value | stats value |
- Return values
-
◆ format_percentage()
static qbank_statistics\helper::format_percentage |
( |
?float | $number, |
|
|
bool | $fraction = true, |
|
|
int | $decimals = 2 ) |
|
static |
Format a number to a localised percentage with specified decimal points.
- Parameters
-
float | null | $number | The number being formatted |
bool | $fraction | An indicator for whether the number is a fraction or is already multiplied by 100 |
int | $decimals | Sets the number of decimal points |
- Return values
-
- Exceptions
-
The documentation for this class was generated from the following file:
- question/bank/statistics/classes/helper.php