2023-03-30
Focusing on dichotomous items, we could define a 2pl IRT model within a linear mixed model:
\[ P(y = 1) = logistic(\alpha_{i}(b_{p} + \gamma_{i})) \]
Attributes can be added as item, person, or both item and person attributes.
Example:
\[ P(y = 1) = logistic(\alpha_{i}(b_{p} + \gamma_{i} + X_{jpi} \beta_{j})) \]
Example
\[ P(y = 1) = logistic(\alpha_{i}(b_{p} + \gamma_{i} + \beta_{1} time_{2} + \beta_{2} time_{3})) \]