Skip to main content
Documentation Status pre-commit https://img.shields.io/badge/code%20style-black-000000.svg

The irrCAC is a Python package that provides several functions for calculating various chance-corrected agreement coefficients. This package closely follows the general framework of inter-rater reliability assessment presented by Gwet (2014).

The functionality covers calculations for various chance-corrected agreement coefficients (CAC) among 2 or more raters. Among the CAC coefficients covered are Cohen’s kappa, Conger’s kappa, Fleiss’ kappa, Brennan-Prediger coefficient, Gwet’s AC1/AC2 coefficients, and Krippendorff’s alpha. Multiple sets of weights are proposed for computing weighted analyses.

The functions included in this package can handle 2 types of input data. Those types with the corresponding coefficients are in the following list:

  1. Contingency Table

  1. Brennar-Prediger

  2. Cohen’s kappa

  3. Gwet AC1/AC2

  4. Krippendorff’s Alpha

  5. Percent Agreement

  6. Schott’s Pi

  1. Raw Data

  1. Fleiss’ kappa

  2. Gwet AC1/AC2

  3. Krippendorff’s Alpha

  4. Conger’s kappa

  5. Brennar-Prediger

Installation

To install the package, run:

pip install irrCAC

Developers

To use the code for development it is recommended to install poetry and run:

poetry install

And add the pre-commit hook:

pre-commit install

and update the hooks:

pre-commit autoupdate

To update the project dependencies, run:

poetry update

Next run the tests:

poetry run pytest

There is also a config file for tox so you can automatically run the tests for various python versions like this:

tox

Documentation

The documentation of the project is available at the following page: http://irrcac.readthedocs.io/

Metadata

Release files for irrCAC 0.4.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for irrCAC 0.4.4
File Size Uploaded Provenance
irrcac-0.4.4.tar.gz 18.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for irrCAC 0.4.4
File Interpreter ABI Platform
irrcac-0.4.4-py3-none-any.whl Python 3 none any Details

Total release size: 39.8 kB

Release files / irrcac-0.4.4.tar.gz

Download URL irrcac-0.4.4.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
153fc4c5dc6b5c47a44a8ad3f025cc495bc15fc2c2ba50754a6cc48724a10ed6
BLAKE2b-256 checksum
How to use checksums
cf0398154fe1cdb333b6aefa878fb1e078ae41807ebde8f19b1e50c47905ee16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.10.12 Linux/5.4.0-189-generic

Release files / irrcac-0.4.4-py3-none-any.whl

Download URL irrcac-0.4.4-py3-none-any.whl
Size 21.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
abce6bc8a9b8edb58e78d21326477deceb6792615d1660972ece17701344173f
BLAKE2b-256 checksum
How to use checksums
d99238f94f143cc687d615d5a211f9fc40233d59be89ad7b3dbb61ead5acdef7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.10.12 Linux/5.4.0-189-generic

Security for irrCAC 0.4.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4.4 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page