Inter-rater-reliability and Intra-class-correlation

Install required packages

DescTools

Inter-rater-reliability

Absolute agreement between two or more raters

Two raters

     rtr2
rtr1    V   N   P Sum
  V    53   5   2  60
  N    11  14   5  30
  P     1   6   3  10
  Sum  65  25  10 100
[1] 0.7
attr(,"subjects")
[1] 100
attr(,"raters")
[1] 2

Three raters

[1] 0.6
attr(,"subjects")
[1] 100
attr(,"raters")
[1] 3

Cohen’s unweighted \(\kappa\) for two raters

[1] 0.4285714

Cohen’s weighted \(\kappa\) for two raters

Ordered categories

        tv2
tv1      <10% 11-20% 21-30% 31-40% 41-50% >50% Sum
  <10%      5      8      1      2      4    2  22
  11-20%    3      5      3      5      5    0  21
  21-30%    1      2      6     11      2    1  23
  31-40%    0      1      5      4      3    3  16
  41-50%    0      0      1      2      5    2  10
  >50%      0      0      1      2      1    4   8
  Sum       9     16     17     26     20   12 100
     kappa     lwr.ci     upr.ci 
0.31566846 0.07905284 0.55228407 

Fleiss’ \(\kappa\) for two or more raters

    kappa    lwr.ci    upr.ci 
0.4302445 0.3824725 0.4780165 

Kendall’s \(W\) for continuous ordinal ratings and two or more raters


    Kendall's coefficient of concordance W

data:  ratings
Kendall chi-squared = 8.5238, df = 5, subjects = 6, raters = 3, p-value
= 0.1296
alternative hypothesis: W is greater 0
sample estimates:
       W 
0.568254 

Intra-class-correlation for interval-scale ratings and two or more raters


Intraclass correlation coefficients 
                         type   est F-val df1 df2    p-val lwr.ci upr.ci
Single_raters_absolute   ICC1 0.166  1.79   5  18 0.164769     NA     NA
Single_random_raters     ICC2 0.290 11.03   5  15 0.000135     NA     NA
Single_fixed_raters      ICC3 0.715 11.03   5  15 0.000135     NA     NA
Average_raters_absolute ICC1k 0.443  1.79   5  18 0.164769     NA     NA
Average_random_raters   ICC2k 0.620 11.03   5  15 0.000135     NA     NA
Average_fixed_raters    ICC3k 0.909 11.03   5  15 0.000135     NA     NA

 Number of subjects = 6     Number of raters = 4 

Detach (automatically) loaded packages (if possible)

Get the article source from GitHub

R markdown - markdown - R code - all posts