Based on the Q matrix and the latent attribute space, generate the ideal response matrix for each skill pattern

ETAmat(K, J, Q)

Arguments

K

An int of the number of attributes

J

An int of the number of items

Q

A J-by-K Q matrix

Value

A J-by-2^K ideal response matrix

Examples

Q = random_Q(15,4)
ETA = ETAmat(4,15,Q)