dina_data_gen {variationalDCM} | R Documentation |
dina_data_gen()
returns the artificially generated item response data for the DINA model
dina_data_gen(Q, I, attr_cor = 0.1, s = 0.2, g = 0.2, seed = 17)
Q |
the |
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) |
A list including:
the generated artificial item response data
the generated true vale of the attribute mastery pattern
Oka, M., & Okada, K. (2023). Scalable Bayesian Approach for the Dina Q-Matrix Estimation Combining Stochastic Optimization and Variational Inference. Psychometrika, 88, 302–331. doi:10.1007/s11336-022-09884-4
# load Q-matrix
Q = sim_Q_J80K5
sim_data = dina_data_gen(Q=Q,I=200)