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:
     
     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 void doPrint​(java.io.PrintStream out, ICodingAnnotationStudy study, java.util.Map<java.lang.Object,​java.util.Map<java.lang.Object,​java.lang.Double>> coincidence)  
    void print​(java.io.PrintStream out, ICodingAnnotationStudy study)
    Print the coincidence matrix for the given coding study.
    void print​(java.io.PrintStream out, ICodingAnnotationStudy study, ICodingAnnotationItem item)
    Print the coincidence matrix for the given annotation item.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait