Learn R Programming

mirt (version 0.8.0)

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 multicore architecture (e.g., the parallel package).

Usage

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

Arguments

x
an estimated object from mirt, bfactor, or multipleGroup
R
number of draws to use (passed to the boot() function)
return.boot
logical; return the estimated object from the boot package? If FALSE the estimated model is returned with the bootstrapped standard errors
...
additional arguments to be passed on to boot(...)

Examples

Run this code
mod <- mirt(Science, 1)
booted <- boot.mirt(mod)
booted
modwithboot <- boot.mirt(mod, return.boot = FALSE)
coef(modwithboot)

Run the code above in your browser using DataLab