Check a questionnaire against its mirt model
Source:R/fct_questionnaire.R
validate_questionnaire_against_mirt.RdCompares the category probabilities of the engine with those of the fitted
mirt model, item by item, for any of the six models, so that a mapping
mistake does not go unnoticed. Items are matched by the item column.
Usage
validate_questionnaire_against_mirt(
bank_scale,
fit,
thetas = seq(-4, 4, 0.5),
tol = 1e-06
)Arguments
- bank_scale
The rows of one scale of a questionnaire read with
read_questionnaire.- fit
The
mirtmodel fitted to that scale.- thetas
Ability values at which the probabilities are compared.
- tol
Largest difference accepted.
See also
Other questionnaire:
example_questionnaires(),
irt_models(),
questionnaire_from_mirt(),
read_questionnaire(),
write_questionnaire()