| get_design_matrix_cdm | R Documentation |
Constructs the design matrix X used in the cognitive diagnostic
model probability formulation p = X\delta. The structure depends
on the model type:
Intercept + single mastery indicator (all attributes mastered).
Intercept + single "at-least-one" indicator.
Intercept + main effects of each attribute.
Full saturated interaction matrix (all 2^K columns).
get_design_matrix_cdm(patterns, model = "GDINA")
patterns |
A binary matrix of attribute mastery patterns
( |
model |
One of |
A numeric design matrix X with L rows. Column count
depends on the model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.