attribute_classes function

Simulate all the Latent Attribute Profile αc\mathbf{\alpha}_c in Matrix form

Simulate all the Latent Attribute Profile αc\mathbf{\alpha}_c in Matrix form

Generate the αc=(αc1,,αcK)\mathbf{\alpha}_c = (\alpha_{c1}, \ldots, \alpha_{cK})'

attribute profile matrix for members of class cc such that αck\alpha_{ck} ' is 1 if members of class cc possess skill kk

and zero otherwise.

attribute_classes(K)

Arguments

  • K: Number of Attributes

Returns

A 2K2^K by KK matrix of latent classes corresponding to entry cc of pipi based upon mastery and nonmastery of the KK skills.

Examples

## Simulate Attribute Class Matrix ---- # Define number of attributes K = 3 # Generate an Latent Attribute Profile (Alpha) Matrix alphas = attribute_classes(K)

See Also

sim_subject_attributes() and attribute_inv_bijection()

Author(s)

James Joseph Balamuta and Steven Andrew Culpepper

  • Maintainer: James Joseph Balamuta
  • License: GPL (>= 2)
  • Last published: 2023-11-29