| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Quiz statistics report, table for showing statistics of each question in the quiz.
| Copyright: | 2008 Jamie Pratt |
| License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
| File Size: | 404 lines (16 kb) |
| Included or required: | 0 times |
| Referenced: | 1 time |
| Includes or requires: | 0 files |
quiz_statistics_table:: (18 methods):
__construct()
statistics_setup()
col_number()
col_icon()
col_actions()
col_qtype()
col_name()
col_s()
col_facility()
col_sd()
col_random_guess_score()
col_intended_weight()
col_effective_weight()
col_discrimination_index()
col_discriminative_efficiency()
is_dubious_question()
wrap_html_start()
wrap_html_finish()
Class: quiz_statistics_table - X-Ref
This table has one row for each question in the quiz, with sub-rows when| __construct() X-Ref |
| Constructor. |
| statistics_setup($quiz, $cmid, $reporturl, $s) X-Ref |
| Set up the columns and headers and other properties of the table and then call flexible_table::setup() method. param: object $quiz the quiz settings param: int $cmid the quiz course_module id param: moodle_url $reporturl the URL to redisplay this report. param: int $s number of attempts included in the statistics. |
| col_number($questionstat) X-Ref |
| The question number. param: \core_question\statistics\questions\calculated $questionstat stats for the question. return: string contents of this table cell. |
| col_icon($questionstat) X-Ref |
| The question type icon. param: \core_question\statistics\questions\calculated $questionstat stats for the question. return: string contents of this table cell. |
| col_actions($questionstat) X-Ref |
| Actions that can be performed on the question by this user (e.g. edit or preview). param: \core_question\statistics\questions\calculated $questionstat stats for the question. return: string contents of this table cell. |
| col_qtype($questionstat) X-Ref |
| The question type name. param: \core_question\statistics\questions\calculated $questionstat stats for the question. return: string contents of this table cell. |
| col_name($questionstat) X-Ref |
| The question name. param: \core_question\statistics\questions\calculated $questionstat stats for the question. return: string contents of this table cell. |
| col_s($questionstat) X-Ref |
| The number of attempts at this question. param: \core_question\statistics\questions\calculated $questionstat stats for the question. return: string contents of this table cell. |
| col_facility($questionstat) X-Ref |
| The facility index (average fraction). param: \core_question\statistics\questions\calculated $questionstat stats for the question. return: string contents of this table cell. |
| col_sd($questionstat) X-Ref |
| The standard deviation of the fractions. param: \core_question\statistics\questions\calculated $questionstat stats for the question. return: string contents of this table cell. |
| col_random_guess_score($questionstat) X-Ref |
| An estimate of the fraction a student would get by guessing randomly. param: \core_question\statistics\questions\calculated $questionstat stats for the question. return: string contents of this table cell. |
| col_intended_weight($questionstat) X-Ref |
| The intended question weight. Maximum mark for the question as a percentage of maximum mark for the quiz. That is, the indended influence this question on the student's overall mark. param: \core_question\statistics\questions\calculated $questionstat stats for the question. return: string contents of this table cell. |
| col_effective_weight($questionstat) X-Ref |
| The effective question weight. That is, an estimate of the actual influence this question has on the student's overall mark. param: \core_question\statistics\questions\calculated $questionstat stats for the question. return: string contents of this table cell. |
| col_discrimination_index($questionstat) X-Ref |
| Discrimination index. This is the product moment correlation coefficient between the fraction for this question, and the average fraction for the other questions in this quiz. param: \core_question\statistics\questions\calculated $questionstat stats for the question. return: string contents of this table cell. |
| col_discriminative_efficiency($questionstat) X-Ref |
| Discrimination efficiency, similar to, but different from, the Discrimination index. param: \core_question\statistics\questions\calculated $questionstat stats for the question. return: string contents of this table cell. |
| is_dubious_question($questionstat) X-Ref |
| This method encapsulates the test for wheter a question should be considered dubious. param: \core_question\statistics\questions\calculated $questionstat stats for the question. return: bool is this question possibly not pulling it's weight? |
| wrap_html_start() X-Ref |
| No description |
| wrap_html_finish() X-Ref |
| No description |
| Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |