coding_agreement
Measure inter-coder agreement on filled coding sheets: compute Cohen's kappa with 95% interval, per-label agreement, confusion matrix, and disagreements; validate draft labels against coders.
Instructions
Inter-coder agreement on a coding sheet from path_transmission (or citation_network with edge_contexts) once two coders have filled their columns: Cohen's kappa with a 95% interval and its Landis & Koch reading, agreement per label, the confusion matrix and the disagreeing edges. Also scores the draft labels against each coder and against the coders' consensus, i.e. how far the heuristic can be trusted. Reads .csv (comma, semicolon or tab), as saved from Excel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The filled coding sheet (.csv). | |
| coder_columns | No | The two coder columns (default coder_1_label, coder_2_label). | |
| reference_column | No | Labels to validate against the coders (default draft_label; '' for none). | draft_label |