oracle {catSurv} | R Documentation |
Find Answer Profile that Minimizes Bias
Description
Generating all possible combinations of length n from a response profile to determine the possible response profile best able to estimate the true value of theta.
Usage
## S4 method for signature 'Cat'
oracle(catObj, theta, responses, approx = FALSE, parallel = FALSE)
Arguments
catObj |
An object of class |
theta |
A numeric representing the true position on the latent trait. |
responses |
A vector representing the respondent's full answer profile. |
approx |
If TRUE, uses a subset of 1000 potential response profiles |
parallel |
If TRUE, computes in parallel |
Details
lengthThreshold slot should specify how many questions to ask. Note this function uses the estimateTheta method specified in the supplied cat object
Value
A data.frame where the first column is the user-supplied true value of theta, the second column is the best possible theta estimate given n questions are asked, and the remaining columns are the answer profile leading to the best possible theta estimation.
Author(s)
Haley Acevedo, Ryden Butler, Josh W. Cutler, Matt Malis, Jacob M. Montgomery, Tom Wilkinson, Erin Rossiter, Min Hee Seo, Alex Weil