
Last chance! 50% off unlimited learning
Sale ends in
Calculate the alpha coefficient of reliability proposed by Krippendorff.
KrippAlpha(x, method=c("nominal", "ordinal", "interval", "ratio"))
classifier x object matrix of classifications or scores
data level of x
A list with class '"irrlist"' containing the following components:
a character string describing the method.
the number of data objects.
the number of raters.
a character string specifying the name of the coefficient.
value of alpha.
here "nil" as there is no test statistic.
the value of the test statistic (NULL).
the probability of the test statistic (NULL).
the concordance/discordance matrix used in the calculation of alpha
a character vector of the unique data values
the unique values of the ratings
the count of matches, used in calculation
the data level of the ratings ("nominal","ordinal", "interval","ratio")
Krippendorff, K. (1980) Content analysis: An introduction to its methodology. Beverly Hills, CA: Sage.
# NOT RUN {
# the "C" data from Krippendorff
nmm <- matrix(c(1,1,NA,1,2,2,3,2,3,3,3,3,3,3,3,3,2,2,2,2,1,2,3,4,4,4,4,4,
1,1,2,1,2,2,2,2,NA,5,5,5,NA,NA,1,1,NA,NA,3,NA), nrow=4)
# first assume the default nominal classification
KrippAlpha(nmm)
# now use the same data with the other three methods
KrippAlpha(nmm, "ordinal")
KrippAlpha(nmm, "interval")
KrippAlpha(nmm, "ratio")
# }
Run the code above in your browser using DataLab