API
Types / Constructors
PsychometricTests.PsychometricTest
— TypePsychometricTest{Ti,Tp,Tr,Ts}
A struct representing a psychometric test.
Missing docstring for PsychometricTest(::AbstractVector{<:Item}, ::AbstractVector{<:Person}, ::AbstractVector{<:Response})
. Check Documenter's build log for details.
PsychometricTests.PsychometricTest
— MethodPsychometricTest(m::AbstractMatrix; scales = nothing)
Construct a PsychometricTest
from a response matrix m
.
julia> m = ones(Int, 10, 2);
julia> PsychometricTest(m);
Missing docstring for PsychometricTest(::Any)
. Check Documenter's build log for details.
PsychometricTests.Item
— TypeItem
An abstract type representing an item in a psychometric test.
Every implementation T <: Item
must define the following interface:
getid
: Get the unique item identifier.
PsychometricTests.Person
— TypePerson
An abstract type representing a person in a psychometric test.
Every implementation T <: Person
must define the following interface:
getid
: Get the unique person identifier.
PsychometricTests.Response
— TypeResponse
An abstract type representing a response in a psychometric test.
Every implementation of T <: Response
must define the following interface:
getvalue
: Get the response value.
PsychometricTests.BasicItem
— TypeBasicItem{I} <: Item
A minimal implementation of Item
. Contains no information besides a unique id
of type I
.
PsychometricTests.BasicPerson
— TypeBasicPerson{I} <: Person
A minimal implementation of Person
. Contains no information besides a unique id
of type I
.
PsychometricTests.BasicResponse
— TypeBasicResponse{T}
A minimal implementation of Response
. Contains a response value value::T
.
Missing docstring for Matrix
. Check Documenter's build log for details.
Accessors
Missing docstring for getitems
. Check Documenter's build log for details.
Missing docstring for getpersons
. Check Documenter's build log for details.
Missing docstring for getresponses
. Check Documenter's build log for details.
PsychometricTests.getvalue
— Functiongetvalue(response::Response)
Get the response value of response
.
PsychometricTests.getid
— Functiongetid(item::Item)
Get the unique item identifier of item
.
getid(person::Person)
Get the unique person identifier of person
.
Missing docstring for getitemid
. Check Documenter's build log for details.
Missing docstring for getpersonid
. Check Documenter's build log for details.
Missing docstring for nitems
. Check Documenter's build log for details.
Missing docstring for npersons
. Check Documenter's build log for details.
Missing docstring for nresponses
. Check Documenter's build log for details.
Iterators
Missing docstring for eachitem
. Check Documenter's build log for details.
Missing docstring for eachperson
. Check Documenter's build log for details.
Missing docstring for eachresponse
. Check Documenter's build log for details.
Descriptive Statistics
PsychometricTests.itemmean
— Functionitemmean(test::PsychometricTest, id)
Calculate the mean score for item with identifier id
in test
.
PsychometricTests.itemmeans
— Functionitemmeans(test::PsychometricTest)
itemmeans(test::PsychometricTest, scale::Symbol)
Calculate the mean scores for each item in test
.
PsychometricTests.itemscore
— Functionitemscore(test::PsychometricTest, id)
Calculate the total score for item with identifier id
in test
.
PsychometricTests.itemscores
— Functionitemscores(test::PsychometricTest)
itemscores(test::PsychometricTest, scale::Symbol)
Calculate the total score for each item in test
.
PsychometricTests.personmean
— Functionpersonmean(test::PsychometricTest, id)
Calculate the mean score for person with identifier id
in test
.
PsychometricTests.personmeans
— Functionpersonmeans(test::PsychometricTest)
Calculate the mean scores for each person in test
.
PsychometricTests.personscore
— Functionpersonscore(test::PsychometricTest, id)
Calculate the total score for person with identifier id
in test
.
PsychometricTests.personscores
— Functionpersonscores(test::PsychometricTest)
personscores(test::PsychometricTest, scale::Symbol)
Calculate the total scores for each person in test
.