lsirm | R Documentation |
lsirm is used to fit 1PL LSIRM and 2PL LSIRM using Bayesian method as described in Jeon et al. (2021).
lsirm(formula, ...)
formula |
The form of formula is |
... |
Additional arguments for the corresponding function. |
The descriptions of options for each model, such as <term 2>
and <term 3>
, are included in lsirm1pl
for 1PL LSIRM and lsirm2pl
for 2PL LSIRM.
lsirm
returns an object of class list
.
See corresponding functions such as lsirm1pl
for 1PL LSIRM and lsirm2pl
for 2PL LSIRM.
lsirm1pl
for 1PL LSIRM.
lsirm2pl
for 2PL LSIRM.
# generate example item response matrix
data <- matrix(rbinom(500, size = 1, prob = 0.5),ncol=10,nrow=50)
lsirm_result <- lsirm(data~lsirm1pl())
lsirm_result <- lsirm(data~lsirm2pl())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.