autoItemValuesMinMaxConstraint {eatATA} | R Documentation |
Create single value constraints with minimum and maximum.
Description
itemValuesDeviationConstraint
creates constraints related to an item parameter/value. autoItemValuesMixMax
automatically
determines the appropriate targetValue
and then calls itemValuesDeviationConstraint
. The function only works for
(dichotomous) dummy indicators with values 0 or 1.
Usage
autoItemValuesMinMaxConstraint(
nForms,
itemValues,
testLength = NULL,
allowedDeviation = NULL,
relative = FALSE,
verbose = TRUE,
itemIDs = NULL
)
Arguments
nForms |
Number of forms to be created. |
itemValues |
Item parameter/values for which the sum per test form should be constrained. |
testLength |
to be documented. |
allowedDeviation |
Numeric value of length 1. How much deviance is allowed from target values? |
relative |
Is the |
verbose |
Should calculated values be reported? |
itemIDs |
a character vector of item IDs in correct ordering, or NULL. |
Details
Two scenarios are possible when automatically determining the target value:
(a) Either items with the selected property could be exactly
distributed across test forms or (b) this is not possible. An example would be 2 test forms and 4 multiple choice items (a) or 2 test
forms and 5 multiple choice items (b). If (a), the tolerance level works exactly as one would expect. If (b) the tolerance level is
adapted, meaning that if tolerance level is 0 in example (b), allowed values are 2 or 3 multiple choice items per test form. For detailed documentation on how the minimum and maximum are calculated
see also computeTargetValues
.
Value
A sparse matrix.
Examples
autoItemValuesMinMaxConstraint(2, itemValues = c(0, 1, 0, 1))