OddsRatio {hmcdm} | R Documentation |
Compute item pairwise odds ratio
Description
Based on a response matrix, calculate the item pairwise odds-ratio according do (n11n00)/(n10n01), where nij is the number of people answering both item i and item j correctly
Usage
OddsRatio(N, J, Yt)
Arguments
N |
An |
J |
An |
Yt |
An N-by-J response |
Value
A J-by-J upper-triangular matrix
of the item pairwise odds ratios
Examples
N = dim(Y_real_array)[1]
J = nrow(Q_matrix)
OddsRatio(N,J,Y_real_array[,,1])
[Package hmcdm version 2.1.1 Index]