Learn R Programming

mirt (version 1.6.1)

boot.mirt: Calculate bootstrapped standard errors for estimated models

Description

Given an internal mirt object estimate the bootstrapped standard errors. It may be beneficial to run the computations using multi-core architecture (e.g., the parallel package).

Usage

boot.mirt(x, R = 100, ...)

Arguments

x
an estimated object from mirt, bfactor, multipleGroup, or mdirt
R
number of draws to use (passed to the boot() function)
...
additional arguments to be passed on to boot(...)

See Also

PLCI.mirt

Examples

Run this code
#standard
mod <- mirt(Science, 1)
booted <- boot.mirt(mod)
plot(booted)
booted

#run in parallel using snow back-end using all available cores
mod <- mirt(Science, 1)
booted <- boot.mirt(mod, parallel = 'snow', ncpus = parallel::detectCores())
booted

Run the code above in your browser using DataLab