nesresp {irtrees}R Documentation

Example Data: Nested Hierarchical Latent Variables

Description

Simulated example data set with nested hierarchical categories.

Usage

data(nesresp)

Format

An IRT response matrix with 300 persons and 10 four-category items.

References

De Boeck, P. and Partchev, I. (2012). IRTrees: Tree-Based Item Response Models of the GLMM Family, Journal of Statistical Software – Code Snippets, 48(1), 1–28. https://www.jstatsoft.org/v48/c01/.

Examples

str(nesresp)
head(nesresp)
str(nesrespT <-
    dendrify(nesresp, cbind(c(0,0,1,1), c(0,1,NA,NA), c(NA,NA,0,1))))
head(nesrespT, 20)

[Package irtrees version 1.0.0 Index]