Compare the coders' answers with the key:
precision (Chang et al.'s "model precision"): share of coders who found the intruder, per question (topic or document), then averaged per model. Compare it to chance,
1 / n_options;for topic intrusion, topic log odds (see
make_topic_intrusion());agreement between coders on the option chosen, over the questions answered by every coder: the observed share of coder pairs choosing the same option \(P_o\); the free-marginal kappa (Brennan and Prediger 1981), \((P_o - 1/m) / (1 - 1/m)\) with \(m\) options, which corrects for agreement by chance among options chosen at random; and Fleiss' kappa (Fleiss 1971), which takes chance from the observed distribution of choices. In intrusion tasks most answers fall on one option (the intruder) when topics are good, which makes Fleiss' kappa low or undefined even when coders agree almost perfectly (a known paradox of fixed-marginal kappas): prefer the free-marginal kappa.
Arguments
- test
An
intrusion_test.- responses
A table with
coder,question_idandanswer(e.g. fromread_intrusion_responses(), ortest$sheetsonce filled).answeris the chosen option, or its number in the coder's sheet.- ci_level
Level of the Wilson intervals of model precision.
- ...
Not used: an argument renamed in the development version of mintR gives an error naming its replacement, any other one an error.
Value
A list of class intrusion_scores:
answers: one row per coder and question, withcorrect;questions: one row per question:precision,n_coders, andtlofor topic intrusion;models: one row per model:precision,ci_lower,ci_upper(Wilson interval over all answers),chance,n_questions,n_answers, andtlofor topic intrusion;coders: precision of each coder per model;agreement: per model,observedagreement,free_kappa,fleiss_kappa, and the numbers of questions and coders used.
Details
Wilson intervals treat answers as independent, which they are not entirely (the same coder answers many questions, several coders answer the same question): read them as indicative.
References
Brennan, R. L. and Prediger, D. J. (1981). Coefficient kappa: Some uses, misuses, and alternatives. Educational and Psychological Measurement, 41(3), 687-699.
Fleiss, J. L. (1971). Measuring nominal scale agreement among many raters. Psychological Bulletin, 76(5), 378-382. doi:10.1037/h0031619
