Simulate all the Latent Attribute Profile αc in Matrix form
Simulate all the Latent Attribute Profile αc in Matrix form
Generate the αc=(αc1,…,αcK)′
attribute profile matrix for members of class c such that αck ' is 1 if members of class c possess skill k
and zero otherwise.
attribute_classes(K)
Arguments
K: Number of Attributes
Returns
A 2K by Kmatrix of latent classes corresponding to entry c of pi based upon mastery and nonmastery of the K skills.
Examples
## Simulate Attribute Class Matrix ----# Define number of attributesK =3# Generate an Latent Attribute Profile (Alpha) Matrixalphas = attribute_classes(K)
See Also
sim_subject_attributes() and attribute_inv_bijection()