mc_dina_data_gen | R Documentation |
mc_dina_data_gen()
returns the artificially generated item response data for the MC-DINA model
mc_dina_data_gen(I, Q, att_cor = 0.1, seed = 17)
I |
the number of assumed respondents |
Q |
the |
att_cor |
the true value of the correlation among attributes (default: 0.1) |
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
Yamaguchi, K. (2020). Variational Bayesian inference for the multiple-choice DINA model. Behaviormetrika, 47(1), 159-187. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1007/s41237-020-00104-w")}
# load a simulated Q-matrix
mc_Q = mc_sim_Q
mc_sim_data = mc_dina_data_gen(Q=mc_Q,I=200)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.