amps: Generate the possible attribute mastery profile

Description Usage Arguments Value Author(s) References Examples

Description

This function is used to generate the possible attribute mastery profile.

Usage

1
amps(q_matrix, ind_zero_probs = NULL)

Arguments

q_matrix

A J \times K matrix (Q-matrix) defines which attributes are measured by which items.

ind_zero_probs

a vector of integers indicating which attribute mastery profiles have zero probability. The default is NULL (none of the attribute mastery profiles has zero probability).

Value

A matrix giving the generated attribute mastery profiles.

Author(s)

Yanlou Liu, Qufu Normal University, liuyanlou@163.com
Tao Xin, Beijing Normal University

References

George, A. C., Robitzsch, A., Kiefer, T., Gross, J., & Uenlue, A. (2016). The R Package CDM for cognitive diagnosis models. Journal of Statistical Software, 74(2), 1-24. doi:10.18637/jss.v074.i02

Ma, W. & de la Torre, J. (2017). GDINA: The generalized DINA model framework. R package version 1.4.2. Retrived from https://CRAN.R-project.org/package=GDINA

Robitzsch, A., Kiefer, T., George, A. C., & Uenlue, A. (2017). CDM: Cognitive diagnosis modeling. R package version 5.9-27. Retrived from https://CRAN.R-project.org/package=CDM

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Example 1.
simqmatrix <- sim_DINA_N1000$simqmatrix
simqmatrix
attr_mast_patt <- amps(q_matrix=simqmatrix)
attr_mast_patt

# Example 2.
ind_zero_probs <- c(3,7)
attr_mast_patt <- amps(q_matrix=simqmatrix, ind_zero_probs=ind_zero_probs)
attr_mast_patt

dcminfo documentation built on May 1, 2019, 6:33 p.m.

Related to amps in dcminfo...