dina_data_gen: Artificial data generating function for the DINA model based on the given Q-matrix
Description
dina_data_gen() returns the artificially generated item response data for the DINA model
Usage
dina_data_gen(Q, I, attr_cor = 0.1, s = 0.2, g = 0.2, seed = 17)
Value
A list including:
X
the generated artificial item response data
att_pat
the generated true vale of the attribute mastery pattern
Arguments
Q
the \(J \times K\) binary matrix
I
the number of assumed respondents
attr_cor
the true value of the correlation among attributes (default: 0.1)
s
the true value of the slip parameter (default: 0.2)
g
the true value of the guessing parameter (default: 0.2)
seed
the seed value used for random number generation (default: 17)
References
Oka, M., & Okada, K. (2023). Scalable Bayesian Approach for the Dina
Q-Matrix Estimation Combining Stochastic Optimization and Variational Inference.
Psychometrika, 88, 302–331. tools:::Rd_expr_doi("10.1007/s11336-022-09884-4")