fisherTestInfo: Fisher's Test Information

View source: R/RcppExports.R

fisherTestInfoR Documentation

Fisher's Test Information

Description

Calculates the total information gained for a respondent for all answered items, conditioned on θ.

Usage

fisherTestInfo(catObj, theta)

Arguments

catObj

An object of class Cat

theta

A numeric indicating the position on the latent trait.

Value

The function fisherTestInfo returns a numeric indicating the total information gained for a respondent, given a specific answer set and the current estimate of θ.

Note

This function is to allow users to access the internal functions of the package. During item selection, all calculations are done in compiled C++ code.

Author(s)

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

See Also

fisherInf

Examples

## Loading ltm Cat object
data(ltm_cat)

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

## Fisher's test information for answer profile
fisherTestInfo(ltm_cat, theta = 2)



catSurv documentation built on Dec. 4, 2022, 1:15 a.m.