gof {lsirm12pl}R Documentation

Goodness-of-fit LSIRM model

Description

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

Usage

gof(object, nsim = 500)

Arguments

object

object of class lsirm.

nsim

Integer; Number of simulation. Default is 500

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(spikenslab = FALSE, fixed_gamma = FALSE))
gof(lsirm_result)


[Package lsirm12pl version 1.3.1 Index]