Learn R Programming

catSurv (version 1.3.0)

expectedKL: Expected Kullback-Leibler Information

Description

Calculates the expected Kullback-Leibler information for an individual question item.

Usage

expectedKL(catObj, item)

Arguments

catObj

An object of class Cat

item

An integer indicating the index of the question item

Value

The function expectedKL returns a numeric indicating the expected Kullback-Leibler information for the specified item, given the current answer profile and ability parameter estimate.

Details

The function expectedKL calculates the expected value of the Kullback-Leibler information for a specified item where the bounds of integration are \(\hat{\theta} \pm \delta\), where \(\delta\) is qnorm(\(z\)) times the square root of the Fisher test information and \(z\) is specified in the z slot of the Cat object. See Note for more information on integration.

See Also

likelihoodKL, posteriorKL, selectItem

Examples

Run this code
# NOT RUN {
## Loading ltm Cat object
data(ltm_cat)

## Store example answers
setAnswers(ltm_cat) <- c(1,0,1,0,1, rep(NA, 35))

## Estimate KL for different unasked items
expectedKL(ltm_cat, item = 10)
expectedKL(ltm_cat, item = 20)
expectedKL(ltm_cat, item = 30)


# }

Run the code above in your browser using DataLab