Learn R Programming

infutil (version 1.0)

iota.c: Estimate the Criterion Information Utility

Description

This function provides Monte Carlo estimates of the criterion information utility.

Usage

iota.c(ltm.obj, M = NULL, prior = NULL, logL.fun = NULL, rirm = NULL, range.int = c(-Inf, Inf))

Arguments

ltm.obj
An object representing an IRT model of a set of items, from the ltm package (e.g., using the ltm, grm, or gpcm functions).
M
The number of Monte Carlo replications.
prior
A reference prior density function, taking a quantile and returning its density under the reference prior.
logL.fun
A function returning the log-likelihood for a response vector (see details).
rirm
A function that randomly generates a matrix of response patterns under the item response model (see details).
range.int
The range to integrate over in calculating the marginal likelihood.

Value

A list with the following components:
I
The estimated criterion information utility.
se.I
The standard error of the estimated criterion information utility.
I.x
The vector of Lindley information values for each simulated response pattern.
p.x
The marginal probabilities for each simulated response pattern.

Details

This function will estimate the criterion information utility for a set of items under an IRT model, using Monte Carlo simulation. It will also return the standard error of the estimate, as well as the individual information utilities and marginal likelihoods for each simulated response pattern.

Either ltm.obj or logL.fun must be supplied. If a log-likelihood function is supplied directly, it must take three arguments: z, a vector of latent trait values, dat, a data matrix, and i, a row index. logL.fun must return the vector of log-likelihoods for the vector of latent trait values, for a single response pattern (i.e., the function must return the vector of log-likelihoods for the trait vector z, for the response pattern in row i of data matrix dat).

The number of Monte Carlo replications M must be supplied.

If an ltm.obj object is not specified, the reference prior in the form of a density function must also be supplied. In that situation, a function that randomly generates a matrix of response patterns must also be supplied to rirm. The rirm function must take as its first argument a number of response patterns M, and as the second argument a vector of latent trait values m.theta, returning a matrix of response patterns.

If an ltm.obj object is specified, the reference prior is assumed to be the Jeffreys prior, and rirm is assumed to be the IRT model used to create ltm.obj.

Note that currently, range.int must be within [-10, 10] for grm and gpcm objects. If a grm or gpcm object is supplied and range.int is outside this range, the range will be reset to [-10, 10].

References

Markon, K. E. (2013). Information utility: Quantifying the total psychometric information provided by a measure. Psychological Methods, 18, 15-35. doi: 10.1037/a0030638..

See Also

iota, rJeffreys, Jeffreys, ltm, grm, gpcm

Examples

Run this code
ltm.lsat <- ltm(LSAT~z1, IRT=FALSE)	
iota.c.lsat <- iota.c(ltm.lsat, M=100) # typically more Monte Carlo replications would be used
iota.c.lsat

Run the code above in your browser using DataLab