Provides efficient R and 'C++' routines to simulate cognitive diagnostic
model data for Deterministic Input, Noisy "And" Gate ('DINA') and
reduced Reparameterized Unified Model ('rRUM') from
Culpepper and Hudson (2017)
The goal of simcdm is to provide flexible ways to simulate data under
cognitive diagnostic models.
You can install simcdm from GitHub with:
# install.packages("devtools")devtools::install_github("tmsalab/simcdm")
To use simcdm, load the package using:
library("simcdm")
There are four distinct sets of functions within the package:
attribute_classes(), attribute_bijection(),
attribute_inv_bijection(), and sim_subject_attributes().sim_q_matrix() and sim_eta_matrix()sim_dina_items() and
sim_dina_attributes()sim_rrum_items()Functions that use random numbers to simulate values are named with the
prefix of sim_*(). This is done to allow for functions to be quickly
identified and used through autocomplete inside of the RStudio
IDE. At a later time, the attribute_*() will
likely be moved to a different package.
For more details, please see the package vignettes:
James Joseph Balamuta and Steven Andrew Culpepper with contributions from Aaron Hudson.
simcdm packageTo ensure future development of the package, please cite simcdm
package if used during the analysis or simulations. Citation information
for the package may be acquired by using in R:
citation("simcdm")
GPL (>= 2)
sim_attribute_classes() to attribute_classes().std::pow(<int>, <int>)CITATION file for the packageoldrel.sim_dina_items()sim_dina_attributes().sim_rrum_items()sim_q_matrix()sim_eta_matrix()sim_subject_attributes()sim_attribute_classes()attribute_bijection()attribute_inv_bijection()