#Wald test for dichotomous Rasch model with median subject split
data(raschdat1)
res <- RM(raschdat1)
Waldtest(res)
#Wald test with user-defined subject split
splitvec <- sample(1:2,100,replace=TRUE)
Waldtest(res, splitcr = splitvec)
Run the code above in your browser using DataLab