gof {lsirm12pl}R Documentation

Goodness-of-fit LSIRM

Description

gof is goodness-of-fit the latent space of fitted LSIRM.

Usage

gof(object, chain.idx = 1)

Arguments

object

Object of class lsirm.

chain.idx

Numeric; Index of MCMC chain. Default is 1.

Value

gof returns the boxplot or AUC plot

Examples


# generate example item response matrix
data     <- matrix(rbinom(500, size = 1, prob = 0.5),ncol=10,nrow=50)
lsirm_result <- lsirm(data ~ lsirm1pl())
gof(lsirm_result)


[Package lsirm12pl version 1.3.2 Index]