Main Function
In the NEPSroutines package, the function dim_analysis() is used
to assess the dimensionality of a test. The function can estimate and
compare models for multiple dimensionality variables simultaneously
(argument dim). It performs the analyses and returns the required
results in the form of a table as well as additional information in the
console. In addition, the results are saved as an Excel file and in RDS
format. If the file names need to be modified (e.g., because a test is
scaled simultaneously for several cohorts), use the function argument
name_group that adds a suffix to each file name (e.g., "cohort_6").
In the example, a multidimensional model is estimated for the item type and a multidimensional model is estimated for the text type.
NEPSroutines::dim_analysis(
resp = resp,
vars = vars,
select = "mixed",
valid = "valid",
dim = c("kog_type", "text_type"),
scoring = "scoring",
irtmodel = "PCM2",
verbose = TRUE,
return = FALSE,
save = TRUE,
print = TRUE,
path_table = "tables",
path_results = "results",
overwrite = TRUE
)Information on the individual function arguments can be obtained via the
help function (?dim_analysis).