scindex

Strategic Convergence Index for Inter-Rater Reliability

CRAN package | CRAN check results | GPL-3 licence

Overview

scindex is an R package for inter-rater reliability analysis in binary classification tasks within a signal detection-theoretic (SDT) framework.

The package implements the Strategic Convergence Index (SCI), a model-based index of convergence in estimated rater-specific decision criteria. SCI complements classical agreement coefficients by quantifying dispersion in estimated decision criteria under an explicit SDT model of categorical judgement.

The package automatically computes Cohen’s kappa for two raters and Fleiss’ kappa for three or more raters. When ground-truth labels are available, it also estimates rater-specific SDT decision criteria and computes SCI.

This documentation describes version 0.1.1.

Installation

Install the version currently available on CRAN:

install.packages("scindex")

Load the package:

library(scindex)

Check the installed version:

packageVersion("scindex")

Main features

Data requirements

Data must be supplied in long format, with one row per observed item-rater combination.

The analysis uses the following variables:

Variable Description
item Item or case identifier
rater Rater identifier
rating Binary classification assigned by the rater
truth Optional binary ground-truth classification

Column names are user-defined and supplied as unquoted arguments to scindex().

At least two raters and exactly two observed rating categories are required.

When ground-truth labels are supplied:

The positive argument identifies the positive category and defaults to 1.

Missing values are not permitted in the columns used for analysis. Duplicate item-rater combinations are not permitted.

Incomplete rating panels may be represented by absent item-rater rows. Agreement coefficients are computed using items with complete ratings across all raters. SDT decision criteria are estimated using all available observations for each rater.

At least one item with complete ratings is required.

When the denominator of the agreement coefficient is zero, kappa is undefined and is returned as NA.

Example: two raters

The package includes a simulated dataset containing binary classifications from two raters across eight items.

data(scindex_example)

fit <- scindex(
  data = scindex_example,
  item = item,
  rater = rater,
  rating = rating,
  truth = truth
)

print(fit)
summary(fit)

Expected results:

Statistic Value
Cohen’s kappa 0.500
Observed agreement 0.750
Expected agreement 0.500
Threshold variance 0.000
SCI 1.000

The two raters have identical estimated SDT decision criteria despite differing in observed classification performance.

This example illustrates that complete convergence in estimated decision criteria can occur in the absence of perfect observed agreement or identical discriminative performance.

Example: multiple raters

A second simulated dataset contains classifications from three raters across eight items.

data(scindex_example_multi)

fit_multi <- scindex(
  data = scindex_example_multi,
  item = item,
  rater = rater,
  rating = rating,
  truth = truth
)

summary(fit_multi)

Expected results with default reference bounds:

Statistic Value
Fleiss’ kappa 0.497
Observed agreement 0.750
Expected agreement 0.503
Threshold variance 0.04777
SCI 0.857

Analysis without ground truth

Agreement coefficients can be computed when ground-truth labels are unavailable.

fit_agreement <- scindex(
  data = scindex_example,
  item = item,
  rater = rater,
  rating = rating
)

summary(fit_agreement)

In this case, SDT decision criteria and SCI are not computed.

Signal detection-theoretic framework

For each rater, hit rates and false-alarm rates are estimated using the log-linear correction described by Hautus (1995).

H_i = (hits_i + 0.5) / (n_signal_i + 1)

F_i = (false_alarms_i + 0.5) / (n_noise_i + 1)

The correction is applied to all classification counts, including cases in which the uncorrected proportions are already strictly between 0 and 1.

The standardised SDT decision criterion is defined as:

t_i = -0.5 * [Phi^(-1)(H_i) + Phi^(-1)(F_i)]

where:

Under the equal-variance Gaussian SDT model, the criterion is expressed in standard deviation units relative to the midpoint of the class-conditional evidence distributions.

Negative criterion values indicate a liberal criterion, positive values indicate a conservative criterion, and zero indicates a criterion located at the midpoint of the class-conditional evidence distributions.

Sensitivity, specificity, and accuracy are computed directly from the observed classification counts, without applying the log-linear correction.

Strategic Convergence Index

SCI is computed as:

SCI = max(0, 1 - s_t^2 / V_ref)

where s_t^2 denotes the sample variance of the estimated rater-specific decision criteria and V_ref denotes the reference variance.

For K raters, the sample variance is:

s_t^2 = sum((t_i - mean(t))^2, i = 1, ..., K) / (K - 1)

The reference variance is defined as:

V_ref = (b - a)^2 / 12

where a and b are the lower and upper limits of the reference threshold interval.

This quantity is the variance of a uniform distribution over the specified interval. It is not the maximum attainable variance of decision criteria within that interval.

SCI ranges from 0 to 1:

Reference bounds and comparability

By default, the reference interval is symmetric and derived from the estimated decision criteria:

B = max(1, max(abs(t_i)))

Reference interval = [-B, B]

Users may specify fixed reference bounds through the variance_bounds argument.

fit_fixed <- scindex(
  data = scindex_example_multi,
  item = item,
  rater = rater,
  rating = rating,
  truth = truth,
  variance_bounds = c(-3, 3)
)

c(
  empirical = fit_multi$sci,
  fixed = fit_fixed$sci
)

Expected results:

empirical     fixed
0.8566806 0.9840756

The estimated decision criteria, their sample variance, and the agreement coefficient remain unchanged.

Comparisons across rating panels or conditions should use common fixed reference bounds and a common SDT criterion scale.

The reference bounds are used exclusively for normalisation and do not constrain or truncate the estimated decision criteria.

The bounds used in this example are illustrative and do not constitute a universally recommended reference interval.

Returned objects

The scindex() function returns an object of class scindex_fit containing the following components:

Component Description
kappa Estimated agreement coefficient
kappa_type Type of agreement coefficient
agreement Agreement estimates and diagnostic information
sci Strategic Convergence Index
thresholds Rater-specific SDT estimates
sdt SDT estimates and summary statistics
threshold_variance Sample variance of decision criteria
n_raters Total number of raters
n_items Total number of distinct items
truth_available Indicator of ground-truth availability
positive Original positive category
call Matched function call

These components can be accessed directly:

fit$kappa
fit$sci
fit$thresholds
fit$threshold_variance

The number of items used for agreement can be obtained with:

fit$agreement$n_items

The print() and summary() methods report this quantity when it differs from the total number of items.

Interpretation

Agreement coefficients and SCI describe complementary properties of rating behaviour.

Agreement coefficients quantify observed categorical agreement relative to chance expectations. SCI quantifies convergence in estimated SDT decision criteria.

A high SCI does not necessarily imply:

SCI is a descriptive, model-based index. Its interpretation depends on the SDT assumptions, the quality of the ground-truth labels, the available observations, and the reference variance used for normalisation.

The index describes dispersion in estimated criteria. Sampling variability in these estimates should be considered when interpreting results, particularly when raters have few observations or unequal numbers of observations.

Documentation

The complete function documentation is available in R:

?scindex
?scindex_example
?scindex_example_multi

Package information and reference documentation are available on CRAN:

https://CRAN.R-project.org/package=scindex

Scientific references

Theoretical foundations and software

Gianeselli, I. (2026). Agreement and alignment in binary rating tasks: Strategic convergence as an equilibrium outcome. Educational and Psychological Measurement. https://doi.org/10.1177/00131644261455307

Gianeselli, I. (2026). From agreement to epistemic alignment: A signal detection-theoretic model of inter-rater reliability. Educational and Psychological Measurement, 86(5), 883–908. https://doi.org/10.1177/00131644261417643

Gianeselli, I. (2026). A tool for agreement and alignment analysis in binary rating tasks: The R package scindex. Applied Psychological Measurement. https://doi.org/10.1177/01466216261465629

Signal detection theory

DeCarlo, L. T. (1998). Signal detection theory and generalized linear models. Psychological Methods, 3(2), 186–205. https://doi.org/10.1037/1082-989X.3.2.186

Hautus, M. J. (1995). Corrections for extreme proportions and their biasing effects on estimated values of d’. Behavior Research Methods, Instruments, & Computers, 27(1), 46–51. https://doi.org/10.3758/BF03203619

Macmillan, N. A., & Creelman, C. D. (2005). Detection theory: A user’s guide (2nd ed.). Lawrence Erlbaum Associates. https://doi.org/10.4324/9781410611147

Citation

To retrieve the recommended citations for the software and its methodological foundations:

citation("scindex")

To obtain the corresponding BibTeX entries:

utils::toBibtex(citation("scindex"))

Author and maintainer

Irene Gianeselli

ORCID: https://orcid.org/0000-0002-8689-3035

Version history

See NEWS.md for a detailed description of changes between package versions.

License

The package is distributed under the GNU General Public License, version 3 (GPL-3).