Computes an adjusted Wald confidence interval for a G-index of agreement between two polychotomous ratings. This function requires the number of objects that were given the same rating by both raters. The G-index corrects for chance agreement. The G-index is a better measure of agreement than Cohen's kappa, and the confidence interval for the G-index used here has better small-sample properties than the confidence interval for Cohen's kappa.
Value
Returns a 1-row matrix. The columns are:
Estimate - maximum likelihood estimate of G-index
SE - standard error
LL - lower limit of the adjusted Wald confidence interval
UL - upper limit of the adjusted Wald confidence interval
References
Bonett DG (2022). “Statistical inference for G-indices of agreement.” Journal of Educational and Behavioral Statistics, 47(4), 438–458. doi:10.3102/10769986221088561 .