If there is missing data present, non-parametric imputation will be done to get the cutoff for the measures.

irt_person_fit(
  wizirt_fit,
  stats = c("Ht"),
  items = NULL,
  level = 0.05,
  na.rm = FALSE
)

Arguments

wizirt_fit

An object coming from the fit_wizirt function.

stats

A character or character string identifying person-level fit measures. Default is "Ht", but accepts all of the person-fit measures from the PerFit package.

items

Which items toe plot? Either a numeric vector of item positions in the column names of the data, or a vector of the item names to include. If nothing is specified all items are included.

level

Numeric. Significance level for bootstrap distribution (value between 0 and 1). Default is 0.05.

na.rm

Logical. If FALSE, NAs are still removed, there is just a warning printed.

Value

A list with person-level statistics, person-response functions, data for person-response functions, and an empty slot for multi-level information that will be coming soon.

Examples

pfa <- wizirt2:::irt_person_fit(my_model)
#> Error in loadNamespace(name): there is no package called 'wizirt2'