Learn R Programming

irtoys (version 0.1.5)

tia: Elementary test-item analysis

Description

Elementary analysis of the items in a test and the test sumscores based on Classical Test Theory.

Usage

tia(choices, key, ...)

Arguments

choices
The original responses to the items in the test: persons as rows, items as columns. May contain NA.
key
A vector containing the key (correct answers) to the items in choices. If not given, the function will check if all data are either 0, 1, or NA: if yes, NA are recoded as 0, else an error message is returned.
...
Other parameters that may be passed to sco or cov

Value

  • A list with three elements: [object Object],[object Object],[object Object]

Examples

Run this code
itemsum <- tia(Unscored, key = c(2, 3, 1, 1, 4, 1, 2, 1, 2, 3, 3, 4, 3, 4, 2, 2, 4, 
    3))

Run the code above in your browser using DataLab