Skip to contents

The spec for the currently-implemented metric family: Cohen's kappa, PABAK, and Gwet's AC1 for two raters on a binary outcome, evaluated against a prevalence-conditioned reference curve at the chosen reference_level.

Usage

grass_spec_binary(reference_level = 0.85)

Arguments

reference_level

One of 0.70, 0.80, 0.85, 0.90. Selects the Se = Sp rater-quality band whose analytical Youden-J reference curve is attached to the result. 0.85 is the default and reproduces the "high" quality curve from prior releases; 0.70 reproduces the "medium" curve. 0.80 and 0.90 are new in 0.1.2. Pass NULL to skip the reference attachment entirely (metrics in context only).

Value

A grass_spec_binary object carrying $family = "binary" and $reference_level.

Examples

grass_spec_binary()
#> <grass_spec> family = binary
#>   reference_level = 0.85
grass_spec_binary(reference_level = 0.80)
#> <grass_spec> family = binary
#>   reference_level = 0.8