Learn R Programming

variationalDCM

variationalDCM is an R package that performs recently-developed variational Bayesian inference for diagnostic classification models (DCMs), which are a family of statistical models for collecting, analyzing, and reporting diagnostic information in Education and Psychology.

You can install this package from CRAN at https://cran.r-project.org/package=variationalDCM. Alternatively, a development version can be installed using the devtools package:

if(!require(devtools)){
  install.packages("devtools")
}
devtools::install_github("khijikata/variationalDCM")

Models

The following groups of models are currently supported:

  • DINA model
  • DINO model
  • Multiple-choice-DINA model
  • Saturated DCM
  • Hidden Markov DCM

Acknowledgements

This package was developed as part of the project supported by JST, PRESTO Grant Number JPMJPR21C3, Japan and JSPS KAKENHI Grant Number 21H00936.

References

  • Oka, M., & Okada, K. (2023). Scalable Bayesian Approach for the Dina Q-Matrix Estimation Combining Stochastic Optimization and Variational Inference.

Psychometrika. https://doi.org/10.1007/s11336-022-09884-4

Copy Link

Version

Install

install.packages('variationalDCM')

Monthly Downloads

135

Version

2.0.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Keiichiro Hijikata

Last Published

March 25th, 2024

Functions in variationalDCM (2.0.1)

sim_Q_J30K3

Artificial Q-matrix for 30 items 3 attributes
variationalDCM

Variational Bayesian estimation for DCMs
mc_dina_data_gen

Artificial data generating function for the multiple-choice DINA model based on the given Q-matrix
dina_data_gen

Artificial data generating function for the DINA model based on the given Q-matrix
hm_dcm_data_gen

Artificial data generating function for the hidden-Markov DCM based on the given Q-matrix
sim_Q_J80K5

Artificial Q-matrix for 80 items 5 attributes
mc_sim_Q

Artificial Q-matrix for MC-DINA model