Learn R Programming

DFIT (version 1.0-3)

Bound3PlIpr: Takes item parameters frp, Ipr and forces guessing to lie between 0 and 1

Description

Makes all simulated guessing values from a 3PL model that are outside the [0, 1] interval to be 0 or 1.

Usage

Bound3PlIpr(itemParameterList)

Arguments

itemParameterList

A list where each element is a list containing "focal" and "reference" item Parameters from a 3PL model. Item parameters are assumed to be on the same scale. Item parameters for each group should be a matrix with nrow equal to the number of items

Value

itemParameterList A list where each element is a list containing "focal" and "reference" item Parameters where guessing parameters outside the [0, 1] interval are changed by 0 and 1.

Examples

Run this code
# NOT RUN {
# # Not run
# #
# # data(dichotomousItemParameters)
# # threePlAse <- list()
# # threePlAse[['focal']] <- AseIrt(itemParameters = dichotomousItemParameters[['focal']],
# #                                 logistic = TRUE, sampleSize = 500, irtModel = '3pl')
# # threePlAse[['reference']] <- AseIrt(itemParameters = dichotomousItemParameters[['reference']],
# #                                     logistic = TRUE, sampleSize = 500, irtModel = '3pl')
# # threePlIpr <- Ipr(itemParameters = dichotomousItemParameters, itemCovariances = threePlAse,
# #                   nReplicates = 1000)
# # threePlIpr <- Bound3PlIpr(threePlIpr)

# }

Run the code above in your browser using DataLab