Sub topic 16
Analyzing together and checking agreement
This chapter covers what changes when two or more researchers code and cluster the same notes. It assumes you can already write atomic observations, apply open codes, and keep a basic codebook. If you are working alone, the checks here still help, because they test whether your own codes hold up over time.
Why analyze together
One researcher's reading of a note is one interpretation. A second reader tests it. Working together has three benefits:
- It exposes individual bias, since each person notices different things.
- It forces vague codes to become precise, because you must explain them to someone else.
- It gives the final themes more credibility with stakeholders.
Working together also has costs. It takes more time, and it can produce false consensus when a senior person's view wins by default. The goal is not for everyone to agree on everything. The goal is to know where you agree, where you differ, and why.
Agreement is not the same as truth
Two coders can agree and both be wrong. In thematic analysis, agreement checks whether your codebook is clear enough to be applied consistently. It does not prove that a code is correct. Many qualitative researchers treat disagreement as useful data about ambiguous definitions, and some do not calculate agreement statistics at all. Choose your approach based on how the results will be used.
| Approach | When it fits | What you do |
|---|---|---|
| Discussion-based consensus | Small team, exploratory work | Code separately, then talk through every difference |
| Percent agreement | Quick consistency check | Count notes where coders chose the same code |
| Chance-corrected statistic (such as Cohen's kappa) | Larger codebooks, results shared as evidence of rigor | Compute agreement beyond what chance would produce |
A workflow for two or more coders
- Align on the goal. Agree on the research questions and whether the analysis is inductive or deductive.
- Code a shared sample. Pick 10 to 20 percent of the notes, covering several participants. Each person codes them independently, without looking at the others' work.
- Compare. List every note where the codes differ.
- Discuss and revise the codebook. For each difference, decide whether the definition, the inclusion rule, or the exclusion rule needs to change. Add example notes.
- Repeat on a fresh sample. Use new notes, so you are not just memorizing earlier decisions.
- Split the remaining notes. Once agreement is acceptable, divide the rest between coders.
- Check in periodically. Recode a few shared notes mid-way to catch drift.
Measuring agreement
Percent agreement
Percent agreement is the share of notes where both coders applied the same code. It is easy to compute, but it is inflated when one code is very common, because coders will agree by chance often.
Cohen's kappa
Cohen's kappa corrects for chance agreement. It works for two coders deciding whether one code applies to each note. The formula is:
kappa = (observed agreement − expected agreement) / (1 − expected agreement)
Expected agreement is what you would get if both coders applied the code at their own rates, independently. A kappa of 1 is perfect agreement, and 0 means no better than chance. Common rules of thumb call values above about 0.6 substantial and above 0.8 strong. Treat those thresholds as guides, not rules.
The following script computes both measures for one code across a shared sample. Each list holds 1 if the coder applied navigation_confusion to that note and 0 if not.
def agreement(a, b):
n = len(a)
observed = sum(x == y for x, y in zip(a, b)) / n
# Probability both say 1 by chance, plus both say 0 by chance
pa1, pb1 = sum(a) / n, sum(b) / n
expected = pa1 * pb1 + (1 - pa1) * (1 - pb1)
kappa = 1.0 if expected == 1 else (observed - expected) / (1 - expected)
return observed, kappa
coder_a = [1, 1, 0, 0, 1, 0, 0, 1, 0, 0]
coder_b = [1, 0, 0, 0, 1, 0, 1, 1, 0, 0]
observed, kappa = agreement(coder_a, coder_b)
print(f"Percent agreement: {observed:.0%}")
print(f"Cohen's kappa: {kappa:.2f}")
disagreements = [i for i, (x, y) in enumerate(zip(coder_a, coder_b)) if x != y]
print("Notes to discuss (positions):", disagreements)Running it prints 80% agreement and a kappa of about 0.58. The percentage looks good, but kappa shows that much of the agreement could come from chance. The last line lists the notes to discuss, which is the more useful output.
Common errors with these numbers
- Computing kappa across the whole codebook as one number. Agreement varies by code. Calculate it per code so you can find the weak definitions.
- Using very small samples. With 10 notes, one disagreement moves the result a lot. Use the statistic as a prompt for discussion, not as proof.
- Chasing a high score. If coders adjust their behavior just to match, you lose the independent perspective. Fix definitions, not people.
- Ignoring rare codes. Kappa behaves poorly when a code appears in very few notes. Review those by discussion instead.
Why coders disagree
Disagreement usually has a cause you can fix. Look for these patterns:
- Overlapping definitions. Two codes both seem to fit. Add exclusion rules, or merge them.
- Different granularity. One coder uses a broad code, the other a narrow one. Decide on the level and record it.
- Notes that mix observation and interpretation. Rewrite the note so it holds only what happened, then recode.
- Missing context. One coder attended the session and the other did not. Decide whether coders should work only from the written note, which is usually the safer rule for consistency.
- Genuine difference in reading. Both interpretations are defensible. Record the alternative in a memo rather than forcing a single answer.
Collaborating on the affinity map
Clustering is harder to measure than coding, so agreement here is mostly about process.
- Silent first pass. Have everyone move notes without talking for the first few minutes. This reduces anchoring on the loudest voice.
- Allow notes to move. If a note is moved back and forth between clusters, it probably belongs to two ideas. Duplicate it, or split it into two observations.
- Label together, after clustering. Draft cluster labels as a group, then challenge each one with the question, "Which notes would not fit under this label?"
- Keep the evidence visible. Every cluster should show note ids and participant ids, so reviewers can check support rather than trust a label.
- Rotate facilitation. Someone who is junior or quiet should lead part of the review.
Recording decisions
Keep a decision log with the date, the note ids involved, the options considered, and the choice made. When someone later asks why two notes sit under different codes, the log answers it. Update the codebook entry at the same time, adding a new example note or a clearer exclusion rule. A codebook that changes without a record of why becomes hard to trust.
Summary of the key points
- Independent coding followed by structured comparison finds ambiguity that solo work hides.
- Agreement measures consistency of application, not correctness.
- Use per-code statistics, and treat them as discussion prompts.
- Most disagreement points to a codebook problem you can fix.
- Silent starts, visible evidence, and a decision log keep group affinity mapping honest.
Exercise
Two coders each label 20 notes for the code sharing_unclear. They agree on 18 notes, but the code applies to only 2 or 3 notes in each person's set. Percent agreement is 90%. Why might kappa still be low, and what would you do next?
Show answer
When a code is rare, both coders will mostly say "no" and agree by chance, so expected agreement is high and kappa drops sharply even with 90% raw agreement. Do not rely on the statistic alone. List the notes where the coders differ and discuss them, tighten the definition and exclusion rules in the codebook, and test again on a fresh sample that contains more notes likely to carry the code.
Exercise
During an affinity mapping session, the most senior researcher quickly names a cluster "Users don't like the interface" and the group moves on. Give two problems with this and one way to correct it.
Show answer
First, the label is a topic, not a statement of meaning, and "don't like" is vague and may reflect the researcher's interpretation rather than the notes. Second, the group accepted it without testing it against the evidence, so seniority replaced review. To correct this, ask each person to read the notes in the cluster and say what they show, then ask which notes would not fit under the label. Revise the label from that discussion, and record the change in the decision log.