print.summary.lsirm {lsirm12pl}R Documentation

Summary the result of LSIRM model

Description

summary is used to summary the result of LSIRM model.

summary.lsirm is used to summary the result of LSIRM model.

Usage

## S3 method for class 'summary.lsirm'
print(x, ...)

## S3 method for class 'summary.lsirm'
print(x, ...)

Arguments

x

object of class lsirm1pl, lsirm2pl.

...

Additional arguments.

Value

plot_latent returns the plot of latent space visualize an interaction map that represents interactions between respondents and items.

summary.lsirm contains following elements. A print method is available.

call

R call used to fit the model.

coef

Covariate coefficients posterior means.

mcmc.opt

The number of mcmc iteration, burn-in periods, and thinning intervals.

map.inf

value of log maximum a posterior and iteration number which have log maximum a posterior.

BIC

Numeric value with the corresponding BIC.

method

1pl LSIRM or 2pl LSIRM

missing

The assumed missing type. One of NA, "mar" and "mcar". Default uses NA.

dtype

Binary or Continuous

ss

TRUE if using spike-slab prior

Examples


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


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



[Package lsirm12pl version 1.3.1 Index]