Bayesian Generalized Linear Mixed Model
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}))
\]
- \(\alpha_{i}\) is item specific discrimination
- \(b_{p}\) is a random person effect, often called theta or ability
- \(\gamma_{i}\) is an item easiness term
Adding Attributes
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}))
\]
- \(X_{jpi}\) is a design matrix.
- \(\beta_{j}\) are a set of \(J\) regression coefficients.
Specific Example - 3 time points
Example
\[
P(y = 1) = logistic(\alpha_{i}(b_{p} + \gamma_{i} + \beta_{1} time_{2} + \beta_{2} time_{3}))
\]
- \(time_{2}\) is a dummy attribute, 1 = time 2, 0 = otherwise
- \(time_{3}\) is a dummy attribute, 1 = time 3, 0 = otherwise