OddsRatio | R Documentation |
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
OddsRatio(N, J, Yt)
N |
An |
J |
An |
Yt |
An N-by-J response |
A J-by-J upper-triangular matrix
of the item pairwise odds ratios
N = dim(Y_real_array)[1]
J = nrow(Q_matrix)
OddsRatio(N,J,Y_real_array[,,1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.