项目作者: tmsalab

项目描述 :
Estimate the Deterministic Input, Noisy "And" Gate (DINA) cognitive diagnostic model parameters using the Gibbs sampler described by Culpepper (2015) .
高级语言: C++
项目地址: git://github.com/tmsalab/dina.git
创建时间: 2017-04-26T01:57:18Z
项目社区:https://github.com/tmsalab/dina

开源协议:

下载


dina

R build
status
Package-License-brightgreen.svg?style=flat)
CRAN Version
Badge
CRAN
Status
RStudio CRAN Mirror’s Monthly
Downloads
RStudio CRAN Mirror’s Total
Downloads
Coverage
status

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

Installation

You can install dina from CRAN using:

  1. install.packages("dina")

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

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

Usage

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

  1. library("dina")

From there, the DINA CDM can be estimated using:

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

To simulate item data under DINA, use:

  1. # Set a seed for reproducibility
  2. set.seed(888)
  3. # Setup Parameters
  4. N = 15 # Number of Examinees / Subjects
  5. J = 10 # Number of Items
  6. K = 2 # Number of Skills / Attributes
  7. # Assign slipping and guessing values for each item
  8. ss = gs = rep(.2, J)
  9. # Simulate identifiable Q matrix
  10. Q = sim_q_matrix(J, K)
  11. # Simulate subject attributes
  12. subject_alphas = sim_subject_attributes(N, K)
  13. # Simulate Item Data
  14. 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:

  1. citation("dina")

License

GPL (>= 2)