Learn R Programming

catSurv (version 1.5.0)

likelihoodKL: Expected Kullback-Leibler Information, Weighted by Likelihood

Description

Calculates the expected Kullback-Leibler information, weighted by likelihood, for a specified item.

Usage

likelihoodKL(catObj, item)

Value

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

Arguments

catObj

An object of class Cat

item

An integer indicating the index of the question item

Author

Haley Acevedo, Ryden Butler, Josh W. Cutler, Matt Malis, Jacob M. Montgomery, Tom Wilkinson, Erin Rossiter, Min Hee Seo, Alex Weil

Details

The function likelihoodKL calculates the expected Kullback-Leibler information for question item, where the proposed values of the true ability parameter are weighted by the current likelihood.

This function involves integration. See Note for more information.

See Also

expectedKL, posteriorKL, selectItem

Examples

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

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

## Estimate EPV for different unasked items
likelihoodKL(ltm_cat, item = 10)
likelihoodKL(ltm_cat, item = 20)
likelihoodKL(ltm_cat, item = 30)


Run the code above in your browser using DataLab