PsychometricTests.jl provides efficient data structures for psychometric testing in Julia. It serves as an entry point to the JuliaPsychometrics ecosystem of packages.
Currently this package is not registered in the General registry. You can install it from GitHub via
] add https://github.com/JuliaPsychometrics/PsychometricTests.jl.git
PsychometricTests.jl allows construction and basic analysis of psychometric tests with
PsychometricTest
. Tests can be constructed from scratch, from an person by item response
matrix, or from a Tables.jl compatible source such
as DataFrames.jl.
using PsychometricTests
response_data = rand(0:1, 10, 3)
test = PsychometricTest(response_data)
After successful construction, test
can be used to query responses,
test[1, :] # get all responses for person 1
test[:, 2] # get all responses for item 2
and do simple descriptive analysis, such as calculating the total scores for all persons,
personscores(test)
PsychometricTests.jl includes a minimal implementation for item, person, and response types. However, in practice more complex types might be required. We provide means to extend the existing types to facilitate these types of analyses. Please see the docs for more details.