Title: | Detection of Grey Zones in Two-Way Inter-Rater Agreement Tables |
---|---|
Description: | Grey zones locally occur in an agreement table due to the subjective evaluation of raters based on various factors such as not having uniform guidelines, the differences between the raters' level of expertise or low variability among the level of the categorical variable. It is important to detect grey zones since they cause a negative bias in the estimate of the agreement level. This package provides a function for detecting the existence of grey zones in two-way inter-rater agreement tables (Demirhan and Yilmaz (2023) <doi:10.1186/s12874-022-01759-7>). |
Authors: | Haydar Demirhan [aut, cre, cph]
|
Maintainer: | Haydar Demirhan <[email protected]> |
License: | GPL-3 |
Version: | 0.0.5 |
Built: | 2025-03-07 06:04:59 UTC |
Source: | https://github.com/cran/GreyZones |
Detects the existence of grey zones in in two-way inter-rater agreement tables.
detectGreyZones(table)
detectGreyZones(table)
table |
A |
See Demirhan and Yilmaz (2023) for the details of the approach implemented by this function.
If a grey zone is detected in the agreement table, the function reports AC2 and BP with quadratic weights.
If no grey zone is detected in the agreement table, the function reports kappa, AC2 and BP with linear and quadratic weights.
delta |
A matrix that shows the relative magnitude of deviance from the perfect agreement to the level of agreement for each cell of the given agreement table. Corresponds to Eq. (6) of Demirhan and Yilmaz (2023). |
Delta |
A value that shows the maximum of the values in |
tau_Delta |
The value of the threshold for the detection of grey zones. If |
result |
Verbal result of the comparison of |
agreement |
Weighted agreement coefficient with linear and quadratic weights. See details. |
Haydar Demirhan and Ayfer Ezi Yilmaz
Maintainer: Haydar Demirhan <[email protected]>
Demirhan, H., Yilmaz, A.E., 2023, Detection of grey zones in inter-rater agreement studies, BMC Medical Research Methodology, 23, Article number: 3, DOI: 10.1186/s12874-022-01759-7.
Tran, D., Demirhan, H., Dolgun, A., 2021, Bayesian approaches to the weighted kappa-like inter-rater agreement measures, Statistical Methods in Medical Research, 30, 10, 2329-2351, DOI: 10.1177/09622802211037068.
Tran, D., Dolgun, A., Demirhan, H., 2021, The impact of grey zones on the accuracy of agreement measures for ordinal tables, BMC Medical Research Methodology, 21:70, DOI: 10.1186/s12874-021-01248-3.
table <- matrix(c(10, 2, 7, 1, 3, 3, 0, 8, 80), nrow = 3, ncol = 3, byrow = TRUE) detectGreyZones(table)
table <- matrix(c(10, 2, 7, 1, 3, 3, 0, 8, 80), nrow = 3, ncol = 3, byrow = TRUE) detectGreyZones(table)