Class CoincidenceMatrixPrinter
java.lang.Object
org.dkpro.statistics.agreement.visualization.CoincidenceMatrixPrinter
public class CoincidenceMatrixPrinter
extends java.lang.Object
Plain-text visualization for a coincidence matrix as defined by
Krippendorff (1980: p. 140). That is, a symmetrical table of
co-occurrences -- each element of the table denotes the number of
pairs X_{b,c} (i.e., the number of times an item has been annotated
as category b and as category c by two different raters). For the example by Krippendorff
(1980: p. 139), the implementation displays:
References:
1 2 3 4 Σ
1 6 3 1 2 12
2 3 20 1 24
3 1 1 6 8
4 2 8 10
Σ 12 24 8 10 54
References:
- Krippendorff, K.: Content Analysis: An Introduction to Its Methodology. Beverly Hills, CA: Sage Publications, 1980.
- Author:
- Christian M. Meyer
- See Also:
ICodingAnnotationStudy
-
Constructor Summary
Constructors Constructor Description CoincidenceMatrixPrinter() -
Method Summary
Modifier and Type Method Description protected voiddoPrint(java.io.PrintStream out, ICodingAnnotationStudy study, java.util.Map<java.lang.Object,java.util.Map<java.lang.Object,java.lang.Double>> coincidence)voidprint(java.io.PrintStream out, ICodingAnnotationStudy study)Print the coincidence matrix for the given coding study.voidprint(java.io.PrintStream out, ICodingAnnotationStudy study, ICodingAnnotationItem item)Print the coincidence matrix for the given annotation item.
-
Constructor Details
-
CoincidenceMatrixPrinter
public CoincidenceMatrixPrinter()
-
-
Method Details
-
print
public void print(java.io.PrintStream out, ICodingAnnotationStudy study, ICodingAnnotationItem item)Print the coincidence matrix for the given annotation item. -
print
Print the coincidence matrix for the given coding study. -
doPrint
protected void doPrint(java.io.PrintStream out, ICodingAnnotationStudy study, java.util.Map<java.lang.Object,java.util.Map<java.lang.Object,java.lang.Double>> coincidence)
-