summary_quiz: Quiz Summary of Moodle Grade Report

View source: R/quiz.R

summary_quizR Documentation

Quiz Summary of Moodle Grade Report

Description

Calculate quiz summary statistics of Moodle Grade Report (See Details).

Usage

summary_quiz(data)

Arguments

data

(GradesReport) A data frame of class "GradesReport" (May expand this to other class in the future)

Details

summary_quiz() is a generic function that calculate quiz summary statistics of "GradesReport" data frame.

The result is one row data frame with the following columns:

  • n: number of students in the quiz

  • min: student's minimum score

  • max: student's maximum score

  • max_quiz: maximum score possible (from the quiz setting)

  • median: student's median score

  • Q1: 1st quartile of student's score (see stats::quantile())

  • Q3: 3rd quartile of student's score (see stats::quantile())

  • IQR: Interquartile range of student's score (see stats::IQR())

  • MAD: Median Absolute Deviation of student's score (see stats::mad())

  • mean: student's mean score

  • SD: standard deviation of student's score

  • skewness: a measure of asymmetry, positive values indicate that the tail is on the right, whereas negative values indicate that the tail is on the left (see moments::skewness()).

  • kurtosis: excess kurtosis, positive values (leptokurtic) indicate that score distribution has a fatter tails (more outliers), whereas negative values (platykurtic) indicate that score distribution has a thinner tails (less outliers). Please note that excess kurtosis = kurtosis - 3. (see moments::skewness() for Pearson's measure of kurtosis).

  • Cronbach_Alpha: a measure of internal consistency reliability of quiz. It is an average correlation of all question's score ("Q" column). Higher value indicates good overall correlation, and vice versa. (see DescTools::CronbachAlpha())

Value

a one-row data frame of quiz summary statistics

See Also

  • summary_questions() for question's summary statistics.

Examples

# Prepare Quiz
grades_df_preped <- prep_grades_report(grades_df)

# Quiz Summary Statistics
summary_quiz(grades_df_preped)

Lightbridge-KS/moodleStats documentation built on April 7, 2022, 8:14 p.m.