Anvil.Agreement.Krippendorff (Anvil v0.1.1)
View SourceKrippendorff's alpha for measuring agreement with support for missing data.
α = 1 - (D_o / D_e)
where:
- D_o = observed disagreement
- D_e = expected disagreement by chance
Summary
Functions
Computes Krippendorff's alpha.
Functions
@spec compute( [Anvil.Label.t()], keyword() ) :: {:ok, float()} | {:error, term()}
Computes Krippendorff's alpha.
Options
:field- Field name to compute agreement for (default: first field in values):metric- Distance metric (:nominal, :ordinal, :interval, :ratio) (default: :nominal)