I need to calculate the prevalence, bias, positive agreement and negative agreement (or other similar meansure) related to Kappa in a matrix with size 3 x 3.
I consulted several papers, but they only calculate it for a 2 x 2 matrix, as below.
Confusion Matrix
positive agreement = (2*a)/(N+a-d)
negative agreement = (2*d)/(N-a+d)
prevalence =[(a+b)/n+(a+c)/n]/2-[(c+d)/n+(b+d)/n]/2 =(a-d)/n
Bias =(a+b)/n-(a+c)/n=(b-c)/n
Thank you!!