Evaluates frequencies and discrimination parameters of codes and categories
evaluate_psychometrics.Rd
Evaluates frequencies and discrimination parameters of codes and categories
Usage
evaluate_psychometrics(
design_coded,
units,
domains = NULL,
max_n_categories = 10,
overwrite = FALSE,
identifiers = c("group_id", "login_name", "login_code")
)
Arguments
- design_coded
Tibble. Response data within the design merged by
complete_design()
.- units
Tibble. Unit data retrieved from the IQB Studio after setting the argument
metadata = TRUE
forget_units()
– otherwise the item values could only be inferred from the variable source tree, i.e., item scores are taken from variable scores that are no source variables for other derived variables. Could optionally also containunit_codes
prepared byadd_coding_scheme()
(saves some time).- domains
Tibble. Contains columns
domain
andunit_key
. Currently, the routine only works for one-dimensionaldomain
, i.e., there is only onedomain
for eachunit_key
. If not specified, theworkspace_label
is regarded as the unit domain.- max_n_categories
Tibble. Maximum number of categories to check for category frequencies for list values, e.g.,
[[01_1,01_2]]
. Defaults to10
.- overwrite
Logical. Should column
unit_codes
be overwritten if they exist onunits
. Defaults toFALSE
, i.e.,unit_codes
will be used if they were added tounits
beforehand by applyingadd_coding_schemes()
.- identifiers
Character. Contains person identifiers of the dataset
coded
. Defaults toc("group_id", "login_name", "login_code")
which corresponds to the identifiers of the IQB Testcenter.