Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tmsalab/simcdm
Simulate cognitive diagnostic model data for Deterministic Input, Noisy "And" Gate (DINA) and reduced Reparameterized Unified Model (rRUM) from Culpepper and Hudson (2017) <doi: 10.1177/0146621617707511>, Culpepper (2015) <doi:10.3102/1076998615595403>, and de la Torre (2009) <doi:10.3102/1076998607309474>.
https://github.com/tmsalab/simcdm
cognitive-diagnostic-models psychometrics r rcpp rcpparmadillo simulation
Last synced: 7 days ago
JSON representation
Simulate cognitive diagnostic model data for Deterministic Input, Noisy "And" Gate (DINA) and reduced Reparameterized Unified Model (rRUM) from Culpepper and Hudson (2017) <doi: 10.1177/0146621617707511>, Culpepper (2015) <doi:10.3102/1076998615595403>, and de la Torre (2009) <doi:10.3102/1076998607309474>.
- Host: GitHub
- URL: https://github.com/tmsalab/simcdm
- Owner: tmsalab
- Created: 2017-09-29T13:06:53.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2023-11-29T08:07:04.000Z (about 1 year ago)
- Last Synced: 2024-08-09T04:58:36.266Z (5 months ago)
- Topics: cognitive-diagnostic-models, psychometrics, r, rcpp, rcpparmadillo, simulation
- Language: C++
- Homepage: https://tmsalab.github.io/simcdm
- Size: 242 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.Rmd
Awesome Lists containing this project
README
---
output: github_document
---```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```# simcdm
[![R-CMD-check](https://github.com/tmsalab/simcdm/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/tmsalab/simcdm/actions/workflows/R-CMD-check.yaml)
[![Package-License](https://img.shields.io/badge/license-GPL%20(%3E=2)-brightgreen.svg?style=flat)](https://www.gnu.org/licenses/gpl-2.0.html)
[![CRAN Version Badge](https://www.r-pkg.org/badges/version/simcdm)](https://cran.r-project.org/package=simcdm)
[![CRAN Status](https://badges.cranchecks.info/worst/simcdm.svg)](https://cran.r-project.org/web/checks/check_results_simcdm.html)
[![RStudio CRAN Mirror's Monthly Downloads](https://cranlogs.r-pkg.org/badges/simcdm?color=brightgreen)](https://www.r-pkg.org/pkg/simcdm)
[![RStudio CRAN Mirror's Total Downloads](https://cranlogs.r-pkg.org/badges/grand-total/simcdm?color=brightgreen)](https://www.r-pkg.org/pkg/simcdm)The goal of `simcdm` is to provide flexible ways to simulate data under
cognitive diagnostic models.## Installation
You can install `simcdm` from GitHub with:
```{r}
#| label: gh-installation
#| eval: false
# install.packages("remotes")
remotes::install_github("tmsalab/simcdm")
```## Usage
To use `simcdm`, load the package using:
```{r}
#| label: example
#| eval: false
library("simcdm")
```## Overview
There are four distinct sets of functions within the package:
- Attributes: `attribute_classes()`, `attribute_bijection()`, `attribute_inv_bijection()`, and `sim_subject_attributes()`.
- Matrix: `sim_q_matrix()` and `sim_eta_matrix()`
- Deterministic Input, Noisy And Gate (DINA): `sim_dina_items()` and `sim_dina_attributes()`
- reduced Reparameterized Unified Model (rRUM): `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](https://posit.co/products/open-source/rstudio/) or
[VS Code](https://code.visualstudio.com/). At a later time, the `attribute_*()`
will likely be moved to a different package.For more details, please see the [package vignettes](vignettes/):
- [Overview of `simcdm`](https://tmsalab.github.io/simcdm/articles/overview-simcdm.html)
- [Using `simcdm` in R packages](https://tmsalab.github.io/simcdm/articles/simcdm-in-packages.html)## Authors
James Joseph Balamuta and Steven Andrew Culpepper
with contributions from Aaron Hudson.## Citing the simcdm package
To 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_:```{r, eval = FALSE}
citation("simcdm")
```## License
GPL (>= 2)