gof: Goodness-of-fit LSIRM

View source: R/gof.lsirm.R

gofR 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)


lsirm12pl documentation built on April 4, 2025, 2:40 a.m.

Related to gof in lsirm12pl...