When several coders classify the same material, a simple percentage agreement does not account for how often each category is used. Krippendorff’s alpha measures coding agreement by comparing observed disagreement with the disagreement expected from the pooled distribution of codable values. It accommodates multiple coders, different measurement scales, and partially missing coding data.[1]

The calculation concerns repeated coding of the same variable for the same units of analysis. For example, four people might label the topic of each article: the article is the unit, topic is the variable, and the topic labels are the coding values. Each unit included in the comparison needs at least two valid codes, but the number of coders may differ across units.[1]

From observed disagreement to chance disagreement

The central formula is:

α = 1 − Dₒ / Dₑ

Here Dₒ is the observed disagreement among values assigned to the same unit, and Dₑ is the disagreement expected from the pooled marginal distribution of all pairable coding values. Let oᶜᵏ be the frequency of c–k in the coincidence matrix, nᶜ and nᵏ the corresponding marginal frequencies, n the total number of pairable values, and δ²ᶜᵏ the difference between two values. Then:

  • Dₒ = [ΣᶜΣᵏ oᶜᵏ δ²ᶜᵏ] / n
  • Dₑ = [ΣᶜΣᵏ nᶜ nᵏ δ²ᶜᵏ] / [n(n − 1)]

Both sums run over all value pairs; the difference between identical values, δ²ᶜᶜ, is 0. The chance baseline depends on the observed pooled margins, not on an assumption that all categories are guessed with equal probability.[1]

When Dₑ is greater than 0, Dₒ = 0 gives α = 1; Dₒ = Dₑ gives α = 0; and alpha can be negative when observed disagreement exceeds chance disagreement. If Dₑ = 0, the formula does not yield a defined coefficient.[1]

How multiple coders and missing values enter the calculation

First arrange the codes by unit, then enumerate the ordered pairs of values within each unit: c–k and k–c are counted separately. A unit with mᵤ valid codes produces mᵤ(mᵤ − 1) ordered pairs. Its contribution to each cell of the matrix is the number of corresponding pairs divided by mᵤ − 1. Summing these contributions across units produces the coincidence matrix oᶜᵏ.[1]

This weighting gives a unit with mᵤ valid codes a total contribution of mᵤ, rather than mᵤ(mᵤ − 1). A unit with only one valid code cannot form a pair and does not enter the coincidence matrix; a missing value is not treated as a new category.[1]

Working through the original coding table

The table below reproduces the teaching data in Krippendorff’s technical note: four coders assign values to 12 units, with a dot indicating a missing value.[1]

Coder / unit 1 2 3 4 5 6 7 8 9 10 11 12
A 1 2 3 3 2 1 4 1 2 · · ·
B 1 2 3 3 2 2 4 1 2 5 · 3
C · 3 3 3 2 3 4 2 2 5 1 ·
D 1 2 3 3 2 4 4 1 2 5 1 ·

Unit 2 has four values: 2, 2, 3, and 2. Its 12 ordered pairs comprise six 2–2 pairs, three 2–3 pairs, and three 3–2 pairs. Dividing each count by 3 gives contributions of 2, 1, and 1 to the respective matrix cells, for a total of 4. Unit 12 has only one value, 3, so it cannot be paired and contributes nothing to the matrix.[1]

The table contains 41 non-missing values. Excluding the isolated value for unit 12 leaves n = 40; the coincidence matrix margins for values 1 through 5 are 9, 13, 10, 5, and 3. Treating these values as nominal categories gives observed disagreement Dₒ = 8/40 = 0.20 and chance disagreement Dₑ = 1216/1560 ≈ 0.7795, so α ≈ 0.743. This result follows from the table and the nominal definition of difference.[1]

Choose the scale before defining disagreement

A nominal scale distinguishes only between matching and non-matching values: the difference is 0 for a match and 1 otherwise. For an interval scale, the difference can be expressed as (c − k)², so values farther apart produce greater disagreement. An ordinal scale uses a cumulative rank distance incorporating marginal frequencies; numbers used as rank labels do not automatically imply equal intervals.[1]

The same coding table can yield different alpha values under different scales. Choose the scale and difference function in advance according to the variable’s meaning and coding rules, rather than selecting the setting that gives the highest coefficient after seeing the results.[1]

Reporting and using the result

When reporting alpha, describe the units of analysis, variable and coding rules, number of coders, and how they coded independently. Also report the treatment of missing values, the number of coding values included in pairs, the scale, and the software settings. Presenting the coefficient alongside this context makes clear which coding task it describes.

A high alpha indicates strong agreement relative to the chance baseline defined by the data’s margins; it does not by itself establish that the coding categories adequately cover the research concept. Krippendorff’s alpha is also distinct from Cronbach’s alpha, which concerns the internal consistency of a scale.

References

  1. Computing Krippendorff’s Alpha-Reliability