normalize.responses {dodoR} | R Documentation |
normalize.responses
takes a response matrix and its keys
and puts its values between [1; n of keys for current item]
normalize.responses(x, y)
x |
A response matrix. |
y |
A list containing the item keys. |
Although the use of a non-normalized response-matrix does not
interfere in the estimation of IRT parameters, sometimes it is desirable
to have item alternatives and its corresponding keys in a normalized range,
especially when performing distractor analysis with irt.report
.
So, for example, a list composed of the values [4, 3, 7]
would
become [2, 1, 3]
.
A list
containing the normalized response matrix in the first
slot and its corresponding normalized keys in the second slot.
Douglas De Rizzo Meneghetti