Learn R Programming

vcmeta (version 1.5.0)

se.agree: Computes the estimate and standard error for a G-index of agreement

Description

Computes an adjusted G-index of agreement for two raters using the number of objects rated in agreement, the sample size (number of objects), and the number of rating categories. The adjustment for the G-index and its standard error is optimized for the the number of planned studies in the meta-analysis. The G-index and standard error output from this function can be used as input in the meta.ave.gen, meta.lc.gen, and meta.lm.gen functions. The G-index is usually preferred to Cohen's kappa.

Usage

se.agree(f, n, k, m)

Value

Returns a one-row matrix:

  • MLE - maximum likelihood estimate of G-index

  • Estimate - adjusted estimate of G-index

  • SE - standard error of adjusted estimate

Arguments

f

number of objects rated in agreement

n

sample size (number of objects)

k

number of rating categories

m

number of studies in planned meta-analysis

References

Bonett2022vcmeta

Examples

Run this code
se.agree(42, 50, 3, 4)

# Should return: 
#             MLE  Estimate         SE
# G-index:   0.76      0.75 0.06391375 


Run the code above in your browser using DataLab