Learn R Programming

emIRT (version 0.0.14)

boot_emIRT: Parametric bootstrap of EM Standard Errirs

Description

boot_emIRT take an emIRT() object (from binary, ordinal, dynamic, or hierarchical models) and implements a parametric bootstrap of the standard errors for the ideal points. It assumes you have already run the model successfully on one of those functions, and takes the output from that estimate, along with the original arguments, as the arguments for the bootstrap function.

Usage

boot_emIRT(emIRT.out, .data, .starts, .priors, .control, Ntrials=50, verbose=10)

Value

An object of class emIRT. The output takes the original emIRT.out object and appends the following:

bse

list, containing only the matrix:

x

A (N x 1) matrix of bootstrapped standard errors

Arguments

emIRT.out

an emIRT() object, which is output from a call to binIRT(), dynIRT(), ordIRT(), or hierIRT()

.data

the data used to produce the emIRT object.

.starts

the starts used to produce the emIRT object.

.priors

the priors used to produce the emIRT object.

.control

the control arguments used to produce the emIRT object.

Ntrials

Number of bootstrap trials to run.

verbose

Number of trials before progress notification triggers.

Author

Kosuke Imai kimai@princeton.edu

James Lo jameslo@princeton.edu

Jonathan Olmsted jpolmsted@gmail.com

References

Kosuke Imai, James Lo, and Jonathan Olmsted (2016). ``Fast Estimation of Ideal Points with Massive Data.'' American Political Science Review, Vol. 110, No. 4 (December), pp. 631-656.

See Also

'binIRT', 'ordIRT', 'hierIRT', 'dynIRT'.