This function calculates the item score distribution, i.e., the discrepancy between observed frequencies and posterior predictive frequencies for each item using Pearson's X2 statistic.
Numeric matrix of dimension N x J (for N persons and J items) containing the responses.
Numeric array of dimension R x N x J x 5 (for N persons, J items with 5 categories, and R iterations).
Vector of length J containing X2 values.
Zhu, X., & Stone, C. A. (2012). Bayesian comparison of alternative graded response models for performance assessment applications. Educational and Psychological Measurement, 72, 774-799. doi:10.1177/0013164411434638
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.