gwet_ac: Calculate Gwet's AC1 and AC2

View source: R/performance_measures.R

gwet_acR Documentation

Calculate Gwet's AC1 and AC2

Description

This function calculates Gwets Agreement Coefficients.

Usage

gwet_ac(rater_one, rater_two, additional_raters = NULL)

Arguments

rater_one

factor rating of the first coder.

rater_two

factor ratings of the second coder.

additional_raters

list Additional raters with same requirements as rater_one and rater_two. If there are no additional raters set to NULL.

Value

Returns a list with the following entries

  • ac1: Gwet's Agreement Coefficient 1 (AC1) for nominal data which is unweighted.

  • ac2_linear: Gwet's Agreement Coefficient 2 (AC2) for ordinal data with linear weights.

  • ac2_quadratic: Gwet's Agreement Coefficient 2 (AC2) for ordinal data with quadratic weights.

Note

Weights are calculated as described in Gwet (2021).

Missing values are supported.

References

Gwet, K. L. (2021). Handbook of inter-rater reliability: The definitive guide to measuring the extent of agreement among raters (Fifth edition, volume 1). AgreeStat Analytics.

See Also

Other performance measures: calc_standard_classification_measures(), cohens_kappa(), fleiss_kappa(), get_coder_metrics(), kendalls_w(), kripp_alpha()


aifeducation documentation built on Nov. 19, 2025, 5:08 p.m.