Learn R Programming

exametrika (version 1.6.0)

ScoreReport: Generate Score Report for Non-Binary Test Data

Description

Calculates comprehensive descriptive statistics for a test, including measures of central tendency, variability, distribution shape, and reliability.

Usage

ScoreReport(U, na = NULL, Z = NULL, w = NULL)

Value

An object of class "exametrika" and "TestStatistics" containing:

TestLength

Number of items included in the test

SampleSize

Number of examinees (rows) in the dataset

Mean

Average score across all examinees

Median

Median score

SD

Standard deviation of test scores

Variance

Variance of test scores

Skewness

Skewness of the score distribution (measure of asymmetry)

Kurtosis

Kurtosis of the score distribution (measure of tail extremity)

Min

Minimum score obtained

Max

Maximum score obtained

Range

Difference between maximum and minimum scores

Alpha

Cronbach's alpha coefficient, a measure of internal consistency reliability

Arguments

U

Either an object of class "exametrika" or raw data. When raw data is given, it is converted to the exametrika class with the dataFormat function.

na

Values to be treated as missing values

Z

Missing indicator matrix of type matrix or data.frame. Values of 1 indicate observed responses, while 0 indicates missing data.

w

Item weight vector specifying the relative importance of each item

Details

This function is intended for non-binary (ordinal or rated) response data. It calculates descriptive statistics for the overall test performance. If binary data is provided, an error message will be displayed.

Examples

Run this code
# \donttest{
# Generate score report for sample ordinal data
ScoreReport(J15S3810)

# Example with rated data
ScoreReport(J35S5000)
# }

Run the code above in your browser using DataLab