Learn R Programming

catSurv (version 1.3.0)

expectedObsInf: Expected Observed Information

Description

Calculates the expected information, which is the observed information attained from a specific response set times the probability of that profile occurring.

Usage

expectedObsInf(catObj, item)

Arguments

catObj

An object of class Cat

item

An integer indicating the index of the question item

Value

The function expectedObsInf returns a numeric value of the expected information. **Not implemented for three parameter model for binary data.**

See Also

estimateSE,obsInf, probability, 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))

## Expected observed information for different items
expectedObsInf(ltm_cat, item = 10)
expectedObsInf(ltm_cat, item = 20)


# }

Run the code above in your browser using DataLab