Bayesian Estimation of DINA Model

Estimate the Deterministic Input, Noisy "And" Gate (DINA) cognitive diagnostic model parameters using the Gibbs sampler described by Culpepper (2015) .


dina

R-CMD-check

Estimate the Deterministic Input, Noisy And Gate (DINA) cognitive diagnostic model parameters using the Gibbs sampler described by Culpepper (2015) <doi: 10.3102/1076998615595403>.

Installation

You can install dina from CRAN using:

install.packages("dina")

Or, you can be on the cutting-edge development version on GitHub using:

if(!requireNamespace("devtools")) install.packages("devtools")
devtools::install_github("tmsalab/dina")

Usage

To use the dina package, load it into R using:

library("dina")

From there, the DINA CDM can be estimated using:

dina_model = dina(<data>, <q>, chain_length = 10000)

To simulate item data under DINA, use:

# Set a seed for reproducibility
set.seed(888)

# Setup Parameters
N = 15   # Number of Examinees / Subjects
J = 10   # Number of Items
K = 2    # Number of Skills / Attributes

# Assign slipping and guessing values for each item
ss = gs = rep(.2, J)

# Simulate identifiable Q matrix
Q = sim_q_matrix(J, K)

# Simulate subject attributes
subject_alphas = sim_subject_attributes(N, K)

# Simulate Item Data
items_dina = sim_dina_items(subject_alphas, Q, ss, gs)

Authors

Steven Andrew Culpepper and James Joseph Balamuta

Citing the dina package

To ensure future development of the package, please cite dina package if used during an analysis or simulation studies. Citation information for the package may be acquired by using in R:

citation("dina")

License

GPL (>= 2)

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("dina")

2.0.2 by James Joseph Balamuta, a year ago


https://github.com/tmsalab/dina, https://tmsalab.github.io/dina/


Report a bug at https://github.com/tmsalab/dina/issues


Browse source code at https://github.com/cran/dina


Authors: Steven Andrew Culpepper [aut, cph] (ORCID: , James Joseph Balamuta [aut, cre] (ORCID:


Documentation:   PDF Manual  


GPL (>= 2) license


Imports Rcpp

Depends on simcdm

Suggests CDM, covr, testthat

Linking to Rcpp, RcppArmadillo, simcdm, rgen


Enhanced by CDM.


See at CRAN