10.5 Estimating Contingency Table
To estimate the table for attribute , we need to know and . Let us take student 8 as an example. Run the following code:
Code
library(GDINA)
<- ecpe$dat
Y <- ecpe$Q
Q <- GDINA(Y, Q, model = "GDINA", verbose = 0)
lcdm <- personparm(lcdm, "mp")
mp <- mp[8, ]
mp.student8 mp.student8
## A1 A2 A3
## 0.0041 0.4801 0.9648
Recall that Verify that for attribute 1 (i.e., ) and student 8 (i.e., ), and 0.9959